13.07.2013, 22:30
como eu arrumo ?
Linhas
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.
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);