4 Errors Need fixing!
#1

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);
    }
Reply
#2

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)