Tag Mismatch?
#1

Before you jump to conclusions. I am aware of a lot of the scripting errors and what causes them, so I try not to post here regarding compiling errors, it's just that I have looked through this line for about 10 minutes and cannot figure out what in the world is wrong with it. It's like playing a damn game of I-Spy.

pawn Код:
CMD:goto(playerid,params[])
{
    if(!IsPlayerAdmin(playerid) && pInfo[pAdmin][playerid] < 3) // Error Line
    {
        SendClientMessage(playerid,COLOR_LIGHTGRAY,"You are not authorised to use that command.");
        return 1;
    }
        // Rest of code is uneeded.
Reply
#2

Not sure but mostly it is not
pInfo[pAdmin][playerid]
but
pInfo[playerid][pAdmin]
Reply
#3

Quote:
Originally Posted by Roel
Посмотреть сообщение
Not sure but mostly it is not
pInfo[pAdmin][playerid]
but
pInfo[playerid][pAdmin]
Oh my god. I'm so ashamed lol.

I knew it was something as simple as that.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)