SSGames - Servidores online de qualidade - Inscreva-se Ja! é entre para nossa comunidade! - Ouça nossa web radio -Veja nossas novidades - Participe dos nossos setores de jogos online - Parcerias aberta fale já com um administrador.

Ajuda undefined symbol e number of arguments does not match definition

Compartilhe
avatar
Codeina
--> Postador Iniciante
--> Postador Iniciante

Mensagens : 6
Moedas : 282
Data de inscrição : 30/01/2018
Idade : 21

Ajuda undefined symbol e number of arguments does not match definition

Mensagem por Codeina em Ter 30 Jan 2018 - 0:36

EU QRIA FAZER SISTEMA DE GANG ZONE AI DEU ESSES ERROS:
Código:
C:\Users\zilla\Desktop\Samp\filterscripts\Territorios.pwn(35) : error: 017: undefined symbol "PCC"
C:\Users\zilla\Desktop\Samp\filterscripts\Territorios.pwn(35) : warning: 202: number of arguments does not match definition
C:\Users\zilla\Desktop\Samp\filterscripts\Territorios.pwn(35) : warning: 202: number of arguments does not match definition
C:\Users\zilla\Desktop\Samp\filterscripts\Territorios.pwn(35) : warning: 202: number of arguments does not match definition
C:\Users\zilla\Desktop\Samp\filterscripts\Territorios.pwn(35) : warning: 202: number of arguments does not match definition
C:\Users\zilla\Desktop\Samp\filterscripts\Territorios.pwn(35) : error: 017: undefined symbol "CV"
C:\Users\zilla\Desktop\Samp\filterscripts\Territorios.pwn(35) : warning: 202: number of arguments does not match definition
C:\Users\zilla\Desktop\Samp\filterscripts\Territorios.pwn(35) : warning: 202: number of arguments does not match definition
C:\Users\zilla\Desktop\Samp\filterscripts\Territorios.pwn(35) : warning: 202: number of arguments does not match definition
C:\Users\zilla\Desktop\Samp\filterscripts\Territorios.pwn(35) : warning: 202: number of arguments does not match definition
C:\Users\zilla\Desktop\Samp\filterscripts\Territorios.pwn(35) : error: 017: undefined symbol "Policiais"
C:\Users\zilla\Desktop\Samp\filterscripts\Territorios.pwn(35) : warning: 202: number of arguments does not match definition
C:\Users\zilla\Desktop\Samp\filterscripts\Territorios.pwn(35) : warning: 202: number of arguments does not match definition
C:\Users\zilla\Desktop\Samp\filterscripts\Territorios.pwn(35) : warning: 202: number of arguments does not match definition
C:\Users\zilla\Desktop\Samp\filterscripts\Territorios.pwn(35) : warning: 202: number of arguments does not match definition
C:\Users\zilla\Desktop\Samp\filterscripts\Territorios.pwn(35) : error: 017: undefined symbol "Governo"
C:\Users\zilla\Desktop\Samp\filterscripts\Territorios.pwn(35) : warning: 202: number of arguments does not match definition
C:\Users\zilla\Desktop\Samp\filterscripts\Territorios.pwn(35) : warning: 202: number of arguments does not match definition
C:\Users\zilla\Desktop\Samp\filterscripts\Territorios.pwn(35) : warning:
C:\Users\zilla\Desktop\Samp\filterscripts\Territorios.pwn(35) : warning: 202: number of arguments does not match definition
C:\Users\zilla\Desktop\Samp\filterscripts\Territorios.pwn(35) : warning: 202: number of arguments does not match definition
C:\Users\zilla\Desktop\Samp\filterscripts\Territorios.pwn(35) : error: 017: undefined symbol "PCC"
C:\Users\zilla\Desktop\Samp\filterscripts\Territorios.pwn(35) : error: 017: undefined symbol "CV"
C:\Users\zilla\Desktop\Samp\filterscripts\Territorios.pwn(35) : error: 017: undefined symbol "Policiais"
C:\Users\zilla\Desktop\Samp\filterscripts\Territorios.pwn(35) : error: 017: undefined symbol "Governo"

E O CÓDIGO QUE DEU ESSES ERROS AI É
Código:
#include <a_samp>

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
 print("\n--------------------------------------");
 print(" Blank Filterscript by your name here");
 print("--------------------------------------\n");
 return 1;
}

public OnFilterScriptExit()
{
 return 1;
}

#else

main()
{
 print("\n----------------------------------");
 print(" Blank Gamemode by your name here");
 print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
    PCC = GangZoneCreate(2379,729, -1042,328, 2794,238, -627,8149);
    CV = GangZoneCreate(1668,599, -2163,486, 1824,515, -2088,479);
    Policiais = GangZoneCreate(1451,837, -1752,921, 1596,345, -1591,064);
    Governo = GangZoneCreate(1105,779, -2088,479, 1303,526, -2005,577);
 return 1;
}

public OnGameModeExit()
{
 return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
 SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
 SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
 SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
 return 1;
}

public OnPlayerConnect(playerid)
{
 return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
 return 1;
}

public OnPlayerSpawn(playerid)
{
    GangZoneShowForPlayer(playerid, PCC, 0x00FF4096);
    GangZoneShowForPlayer(playerid, CV, 0xFF000096);
    GangZoneShowForPlayer(playerid, Policiais, 0x0000FF96);
    GangZoneShowForPlayer(playerid, Governo, 0xFF800096);
 return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
 return 1;
}

public OnVehicleSpawn(vehicleid)
{
 return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
 return 1;
}

public OnPlayerText(playerid, text[])
{
 return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
 if (strcmp("/mycommand", cmdtext, true, 10) == 0)
 {
 // Do something here
 return 1;
 }
 return 0;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
 return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
 return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
 return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
 return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
 return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
 return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
 return 1;
}

public OnRconCommand(cmd[])
{
 return 1;
}

public OnPlayerRequestSpawn(playerid)
{
 return 1;
}

public OnObjectMoved(objectid)
{
 return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
 return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
 return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
 return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
 return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
 return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
 return 1;
}

public OnPlayerExitedMenu(playerid)
{
 return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
 return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
 return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
 return 1;
}

public OnPlayerUpdate(playerid)
{
 return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
 return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
 return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
 return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
 return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
 return 1;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
 return 1;
}
avatar
Weslley_Script
SS - Fundador
SS - Fundador

Steam Steam : WeslleySSGames
Zello : WeslleySSGames
Mensagens : 7126
Moedas : 1018456
Data de inscrição : 06/10/2011
Idade : 22
Localização : Brasil

Re: Ajuda undefined symbol e number of arguments does not match definition

Mensagem por Weslley_Script em Dom 4 Fev 2018 - 10:08

Segue este tutorial: http://www.ssgamers.net/t5356-tut-erros-e-warnings-como-resolver




♠️ Respeite as Regras do Fórum.

♠️ Fique Sempre atento Aos Anúncios Da SSGames.
Bem-vindo a SSGames Convidado

avatar
Sŵєєт ١
SS - Administrador
SS - Administrador

Steam Steam : Administrador e Designer
Zello : SSGamers
Mensagens : 2041
Moedas : 5114
Data de inscrição : 12/10/2015
Idade : 22
Localização : Portugal

Re: Ajuda undefined symbol e number of arguments does not match definition

Mensagem por Sŵєєт ١ em Seg 26 Mar 2018 - 23:30

@Tópico Abandonado e Trancado.








Atenciosamente Administrador SSGamers

Respeite as Regras e os Usuários. 

Evitem serem Punidos por não lerem as Regras.

Para os admiradores, e para os invejosos. Use & Abuse.


Conteúdo patrocinado

Re: Ajuda undefined symbol e number of arguments does not match definition

Mensagem por Conteúdo patrocinado


    Data/hora atual: Ter 23 Out 2018 - 15:08

    Copyright © SSGamers 2011/2018 - DIREITOS RESERVADOS PARA COMUNIDADE SSGAMERS S.A.