PAWN shows error.
#1

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

There's a problem with your dudb include. Nevertheless, can you show line 8091?
Reply
#3

Here is line 8091:
if(PInfo[playerid][pAdmin] == 0) return SendClientMessage(playerid, COLOR, "You have to be an admin to use this command!");
Reply
#4

Try using PlayerInfo instead of PInfo - if it didn't work show us your Player Info enum
Reply
#5

Still don't work.
Reply
#6

Can you show me the enum you are using to store player data? If you have one?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)