03.09.2015, 18:51
Alguem sabe porque esta dando esse erro e como eu faзo para resolve lo?
C:\Documents and Settings\MaxiMuS\Desktop\New Server\gamemodes\new.pwn(1307) : error 017: undefined symbol "tmp"
C:\Documents and Settings\MaxiMuS\Desktop\New Server\gamemodes\new.pwn(1307) : error 017: undefined symbol "strtok"
C:\Documents and Settings\MaxiMuS\Desktop\New Server\gamemodes\new.pwn(130 : error 017: undefined symbol "tmp"
C:\Documents and Settings\MaxiMuS\Desktop\New Server\gamemodes\new.pwn(1309) : error 017: undefined symbol "tmp"
C:\Documents and Settings\MaxiMuS\Desktop\New Server\gamemodes\new.pwn(1311) : error 017: undefined symbol "tmp"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
Linhas:
1304: if(strcmp(cmdtext, "/skin", true) == 0)
1305: {
1306: new SkiN;
1307: tmp = strtok(cmdtext, idx);
1308: if(!strlen(tmp)) return SendClientMessage(playerid, -1, "[USO CORRETO] /skin [skinid]");
1309: if((strval(tmp) < 0) || (strval(tmp) > 299)) return SendClientMessage(playerid, 0xFF230AFF, "[ERRO] O ID das skins sгo de 0 atй 299!");
1310: SendClientMessage(playerid, -1, "[INFO] Skin alterado!");
1311: SkiN= strval(tmp);
1312: SetPlayerSkin(playerid, SkiN);
1313: return 1;
1314: }
C:\Documents and Settings\MaxiMuS\Desktop\New Server\gamemodes\new.pwn(1307) : error 017: undefined symbol "tmp"
C:\Documents and Settings\MaxiMuS\Desktop\New Server\gamemodes\new.pwn(1307) : error 017: undefined symbol "strtok"
C:\Documents and Settings\MaxiMuS\Desktop\New Server\gamemodes\new.pwn(130 : error 017: undefined symbol "tmp"
C:\Documents and Settings\MaxiMuS\Desktop\New Server\gamemodes\new.pwn(1309) : error 017: undefined symbol "tmp"
C:\Documents and Settings\MaxiMuS\Desktop\New Server\gamemodes\new.pwn(1311) : error 017: undefined symbol "tmp"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
Linhas:
1304: if(strcmp(cmdtext, "/skin", true) == 0)
1305: {
1306: new SkiN;
1307: tmp = strtok(cmdtext, idx);
1308: if(!strlen(tmp)) return SendClientMessage(playerid, -1, "[USO CORRETO] /skin [skinid]");
1309: if((strval(tmp) < 0) || (strval(tmp) > 299)) return SendClientMessage(playerid, 0xFF230AFF, "[ERRO] O ID das skins sгo de 0 atй 299!");
1310: SendClientMessage(playerid, -1, "[INFO] Skin alterado!");
1311: SkiN= strval(tmp);
1312: SetPlayerSkin(playerid, SkiN);
1313: return 1;
1314: }