Problem
#3

pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(!success) return SendClientMessage(playerid, 0xFF0000AA, "Invalid Command! See The Avaliable Commands Here: /cmds.");
    if(Info[playerid][Muted] == 1) return SendClientMessage(playerid, 0xFF0000AA, "You Are Muted, You Cannot Type Any Command!");
    if(Spawnprotection[playerid] == 1) return SendClientMessage(playerid, 0xFF0000AA, "You Cannot Type Any Command While In Spawn Protection!");
    return 1;
}
Reply


Messages In This Thread
Problem - by Youssef214 - 02.10.2014, 08:53
Re: Problem - by Rudy_ - 02.10.2014, 09:01
Re: Problem - by Youssef214 - 02.10.2014, 09:04
Re: Problem - by Rudy_ - 02.10.2014, 09:06
Re: Problem - by Youssef214 - 02.10.2014, 09:11
Re: Problem - by Eth - 02.10.2014, 09:13
Re: Problem - by Youssef214 - 02.10.2014, 11:05

Forum Jump:


Users browsing this thread: 2 Guest(s)