4 Errors Need fixing! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 4 Errors Need fixing! (
/showthread.php?tid=530375)
4 Errors Need fixing! -
Jigsaw123 - 06.08.2014
Hello guys, I was wondering if you could help me sort out these errors:
Код:
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.
Lines 616 - 625:
Код:
//==============================================================================
// 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);
}
Re: 4 Errors Need fixing! -
Frezemis - 07.08.2014
undefined symbol "dUserINT"
That isn't defined, In other words.. It's not a scripted function in your script so the Script doesn't know what to do with just that word. That term has no meaning.