PAWN shows error. - 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: PAWN shows error. (
/showthread.php?tid=496590)
PAWN shows error. -
MuhoX - 22.02.2014
Hi guys I found a changename but when I put this in my gamemode it show an error.
this is the error I get:
C:\Users\Muhammed\Desktop\d\gamemodes\1.2.pwn(8091 ) : error 017: undefined symbol "PInfo"
C:\Users\Muhammed\Desktop\d\gamemodes\1.2.pwn(8091 ) : warning 215: expression has no effect
C:\Users\Muhammed\Desktop\d\gamemodes\1.2.pwn(8091 ) : error 001: expected token: ";", but found "]"
C:\Users\Muhammed\Desktop\d\gamemodes\1.2.pwn(8091 ) : error 029: invalid expression, assumed zero
C:\Users\Muhammed\Desktop\d\gamemodes\1.2.pwn(8091 ) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Re: PAWN shows error. -
Dignity - 22.02.2014
There's a problem with your dudb include. Nevertheless, can you show line 8091?
Re: PAWN shows error. -
MuhoX - 23.02.2014
Here is line 8091:
if(PInfo[playerid][pAdmin] == 0) return SendClientMessage(playerid, COLOR, "You have to be an admin to use this command!");
Re: PAWN shows error. -
MattTucker - 23.02.2014
Try using PlayerInfo instead of PInfo - if it didn't work show us your Player Info enum
Re: PAWN shows error. -
MuhoX - 23.02.2014
Still don't work.
Re: PAWN shows error. -
MattTucker - 23.02.2014
Can you show me the enum you are using to store player data? If you have one?