Checking for a nickname
#1

So, I have it so where admins can have a 'admin nickname'. I'm trying to make it so only someone with a specific admin nickname can access a command. Can anyone help me with this? Here's the line:

Код:
if (PlayerInfo[playerid][pAdmName] == "Insanity")
error:
Код:
error 033: array must be indexed (variable "-unknown-")
I don't know how to set it up exactly and it's even worse because it's late at night.
Reply


Messages In This Thread
Checking for a nickname - by Zack9764 - 11.02.2011, 01:51
Re: Checking for a nickname - by Tee - 11.02.2011, 02:33
Re: Checking for a nickname - by Pooh7 - 11.02.2011, 13:26

Forum Jump:


Users browsing this thread: 1 Guest(s)