PM Command
#3

yes its a valid command , and its working

Here
pawn Код:
CMD:pmon(playerid,params[])
{
    if(PM_Enabled[playerid]==1) return SendClientMessage(playerid,COLOR_RED,"Your PM is already enabled");
    else if (PM_Enabled[playerid]==0)
    {
        PM_Enabled[playerid]=1;
        SendClientMessage(playerid,COLOR_GREEN,"You've enabled your PM");
    }
    return 1;
}
CMD:pmoff(playerid,params[])
{
    if(PM_Enabled[playerid]==0) return SendClientMessage(playerid,COLOR_RED,"Your pm is already off");
    else if (PM_Enabled[playerid]==1)
    {
        PM_Enabled[playerid]=0;
        SendClientMessage(playerid,COLOR_GREEN,"You've disabled your pm");
    }
    return 1;
}
Reply


Messages In This Thread
PM Command - by CoDeZ - 12.07.2012, 12:50
Re: PM Command - by Captain_Mani - 12.07.2012, 13:13
Re: PM Command - by CoDeZ - 12.07.2012, 13:16
Re: PM Command - by clarencecuzz - 12.07.2012, 13:22
Re: PM Command - by CoDeZ - 12.07.2012, 13:27
Re: PM Command - by clarencecuzz - 12.07.2012, 13:28

Forum Jump:


Users browsing this thread: 1 Guest(s)