How i fix those errors
#2

Pretty simple, It tells you the issue,
You're attempting to call pName which i'm guessing is an enum you've put into the script..
as you've not actually given the code where you've created this value i'm assuming it's an enum stored in PlayerInfo
So to call "pName" you need to
Код:
PlayerInfo[playerid][pName] 
_
for the PlayerInfo, try assigning an admin value
new aLevel = PlayerInfo[playerid][pAdmin];
if(aLevel >= 1) { 
 blahblah
}
These are just assumptions as the only thing you've given is the code snippet and not the preexisting code that it relates too
Reply


Messages In This Thread
How i fix those errors - by SuperBB - 10.10.2017, 13:58
Re: How i fix those errors - by Prokill911 - 10.10.2017, 14:23
Re: How i fix those errors - by SuperBB - 10.10.2017, 15:16
Re: How i fix those errors - by Zeth - 10.10.2017, 15:46
Re: How i fix those errors - by Prokill911 - 10.10.2017, 16:20
Re: How i fix those errors - by SuperBB - 10.10.2017, 18:42

Forum Jump:


Users browsing this thread: 1 Guest(s)