[Ajuda] ERROS - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] ERROS (
/showthread.php?tid=450605)
ERROS -
minimessi10 - 13.07.2013
como eu arrumo ?
pawn Код:
C:\Users\Marcelo\Documents\Servers\samp03x_svr_R1-2_win32\gamemodes\GM.pwn(587) : error 017: undefined symbol "tmp"
C:\Users\Marcelo\Documents\Servers\samp03x_svr_R1-2_win32\gamemodes\GM.pwn(587) : error 017: undefined symbol "cmdtext"
C:\Users\Marcelo\Documents\Servers\samp03x_svr_R1-2_win32\gamemodes\GM.pwn(588) : error 017: undefined symbol "tmp"
C:\Users\Marcelo\Documents\Servers\samp03x_svr_R1-2_win32\gamemodes\GM.pwn(589) : error 017: undefined symbol "giveplayerid"
C:\Users\Marcelo\Documents\Servers\samp03x_svr_R1-2_win32\gamemodes\GM.pwn(589) : error 017: undefined symbol "tmp"
C:\Users\Marcelo\Documents\Servers\samp03x_svr_R1-2_win32\gamemodes\GM.pwn(590) : error 017: undefined symbol "giveplayerid"
C:\Users\Marcelo\Documents\Servers\samp03x_svr_R1-2_win32\gamemodes\GM.pwn(591) : error 017: undefined symbol "giveplayerid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
7 Errors.
Linhas
pawn Код:
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, 0x919191FF, "USAGE: /ban [id]");
giveplayerid = strval(tmp);
if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid, 0x919191FF, "That player isn't connected!");
Ban(giveplayerid);
Re: ERROS -
Standby - 13.07.2013
pawn Код:
new tmp[256];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, 0x919191FF, "USAGE: /ban [id]");
SendClientMessage = strval(tmp);
if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid, 0x919191FF, "That player isn't connected!");
Ban(giveplayerid);
Re: ERROS -
minimessi10 - 13.07.2013
pawn Код:
C:\Users\Marcelo\Documents\Servers\samp03x_svr_R1-2_win32\gamemodes\GM.pwn(588) : error 017: undefined symbol "cmdtext"
C:\Users\Marcelo\Documents\Servers\samp03x_svr_R1-2_win32\gamemodes\GM.pwn(590) : error 076: syntax error in the expression, or invalid function call
C:\Users\Marcelo\Documents\Servers\samp03x_svr_R1-2_win32\gamemodes\GM.pwn(591) : error 017: undefined symbol "giveplayerid"
C:\Users\Marcelo\Documents\Servers\samp03x_svr_R1-2_win32\gamemodes\GM.pwn(592) : error 017: undefined symbol "giveplayerid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
pawn Код:
tmp = strtok(cmdtext, idx);
pawn Код:
SendClientMessage = strval(tmp);
if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid, 0x919191FF, "That player isn't connected!");
Ban(giveplayerid);
Re: ERROS -
Standby - 13.07.2013
Cara um conselho pra vocк
tudo que tiver
substitui por isso
pawn Код:
SendClientMessage = strval(tmp);
if(!IsPlayerConnected(SendClientMessage)) return SendClientMessage(playerid, 0x919191FF, "That player isn't connected!");
Ban(giveplayerid);
Re: ERROS -
Don_Speed - 13.07.2013