#3

pawn Код:
if(GetPlayerSpeed(playerid) > 270)
    {
        if(PlayerInfo[playerid][pVip] == 1)
        {
            SendClientMessage(playerid, 0xFF0000FF, "You don't have acces to this command!");
        }
        else
        {
        TogglePlayerControllable(playerid,0);
        format(string, sizeof(string), "%s Važiavo didesniu nei 270 km/h greičiu. /stebeti %s", name, name);
        for(new i=0; i<MAX_PLAYERS; i++) if(PlayerInfo[i][pAdmin] == 1) SendClientMessage(i, -1, string);
        }
    }
You won't be able to acces the cmd if you are a VIP, how you asked.
Reply


Messages In This Thread
Help - by Louris - 16.01.2013, 14:13
Re: Help - by LarzI - 16.01.2013, 14:17
Re: Help - by DiGiTaL_AnGeL - 16.01.2013, 14:21

Forum Jump:


Users browsing this thread: 1 Guest(s)