Help with admin levels!
#2

Copy and paste that into your script, and try now

pawn Код:
if(strcmp("/givemetcash", cmdtext, true) == 0)
    {
        if(PlayerInfo[playerid][aLevel] = 1) return SendClientMessage(playerid, red, "You are not an admin");

        GivePlayerTcash(playerid, 1000000);

        SendClientMessage(playerid, green, "You got 1 million Tcash!");
        return 1;
    }
you had to put a 1 in,
pawn Код:
[aLevel] = 0
hope this helped!
Reply


Messages In This Thread
Help with admin levels! - by coole210 - 07.06.2009, 00:39
Re: Help with admin levels! - by [CK]Steel - 07.06.2009, 03:01
Re: Help with admin levels! - by [HiC]TheKiller - 07.06.2009, 04:45
Re: Help with admin levels! - by [CK]Steel - 07.06.2009, 11:34
Re: Help with admin levels! - by [HiC]TheKiller - 08.06.2009, 00:38

Forum Jump:


Users browsing this thread: 3 Guest(s)