Make VIP command only?
#4

pawn Код:
CMD:laseron(playerid,params[])
{
    #pragma unused params
    if(PlayerInfo[playerid][pVIP]  < 1) return SendClientMessage(playerid, -1,"This command is restricted for the VIPs only.");
    SetPVarInt(playerid, "laser", 1);
    SetPVarInt(playerid, "color", GetPVarInt(playerid, "color"));
    return 1;
}
Reply


Messages In This Thread
Make VIP command only? - by Eminem 2ka9 - 08.12.2012, 22:41
Re: Make VIP command only? - by Ironboy - 08.12.2012, 23:26
Re: Make VIP command only? - by Eminem 2ka9 - 09.12.2012, 00:13
Re: Make VIP command only? - by Randy More - 09.12.2012, 01:17
Re: Make VIP command only? - by Baumann - 10.12.2012, 12:37
Re: Make VIP command only? - by tsonn1 - 10.12.2012, 12:45
Re: Make VIP command only? - by niels44 - 10.12.2012, 12:52

Forum Jump:


Users browsing this thread: 1 Guest(s)