03.12.2009, 19:06
I have some error from my command i dont know how to fix that, can you tell how i can fix that?
Command
Command
Quote:
if (strcmp("/buylevel", cmdtext, true, 10) == 0) { SetPlayerRank(playerid, 1); GivePlayerMoney(playerid, -350000); SendClientMessage(playerid, 0x33AA33AA,"Apsveicam! Tu esi iegadajies 1 levelu!"); } else { SendClientMessage(playerid, 0x33AA33AA,"Piedod! Bet tev nepietiek naudas lai nopirktu 1 levelu!"); } return 1; |
Quote:
Error C:\Users\Administrator\Desktop\Deyfon\gamemodes\le vels.pwn(57) : error 017: undefined symbol "SetPlayerRank" C:\Users\Administrator\Desktop\Deyfon\gamemodes\le vels.pwn(64) : warning 225: unreachable code C:\Users\Administrator\Desktop\Deyfon\gamemodes\le vels.pwn(66) : warning 203: symbol is never used: "strtok" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. |