06.08.2014, 20:49
Hello guys, I was wondering if you could help me sort out these errors:
Lines 616 - 625:
Код:
C:\Users\USER\Desktop\Prison\pawno\include\../UPRP/Main.pwn(619) : error 017: undefined symbol "dUserINT" C:\Users\USER\Desktop\Prison\pawno\include\../UPRP/Main.pwn(619) : error 029: invalid expression, assumed zero C:\Users\USER\Desktop\Prison\pawno\include\../UPRP/Main.pwn(619) : error 033: array must be indexed (variable "-unknown-") C:\Users\USER\Desktop\Prison\pawno\include\../UPRP/Main.pwn(619) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
//============================================================================== // If PlayerName is Banned //============================================================================== if (dUserINT(PlayerName2(playerid)).("Banned") == 1) { SendClientMessage(playerid, red, "ATTENTION: This name is banned from this server!"); format(string,sizeof(string),"|- Player %s (Id:%d) has beenAutomatically Kicked. | Reason: Name Banned! -|",PlayerName,playerid); SendClientMessageToAll(red, string); print(string); SaveIn("KickLog",string); Kick(playerid); }