10.10.2017, 14:23
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
These are just assumptions as the only thing you've given is the code snippet and not the preexisting code that it relates too
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
}

