A little issue
#1

So, I have a command /ocmds which tells the current organization commands. What I want is where it sends the client message of "TwD Role-Play organizational commands." I want it to disguise from non organizational person and return 0 to those. I can't try anything right now. Can someone do it real quick? Thanks.

pawn Код:
CMD:ocmds(playerid, params[])
{
 SendClientMessage(playerid, COLOR_SAMP,"TwD Role-Play organizational commands.");
    if(IsPlayerAdmin(playerid))SendClientMessage(playerid, COLOR_WHITE,"/setleader");
    if(IsLeader(playerid) == 1)SendClientMessage(playerid, COLOR_WHITE,"/setmember /kickmember /setrank /members /decline /okick");
    if(PlayerOrg[playerid] >= 1)SendClientMessage(playerid,COLOR_WHITE, "/orgs /request /resign /oc /civil /odeposit /owithdraw");
    if(PlayerOrg[playerid] == 1)SendClientMessage(playerid, COLOR_WHITE,"/(un)tie /(un)cuff /pu /loc /(un)jail /setwant /lc /ticket");
    if(PlayerOrg[playerid] == 2)SendClientMessage(playerid, COLOR_WHITE,"/tie /untie /robhouse /getdrugs /givedrugs");
    return 1;
}
Reply


Messages In This Thread
A little issue - by Goldilox - 04.05.2013, 03:54
Re: A little issue - by iggy1 - 04.05.2013, 04:50
Re: A little issue - by Scenario - 04.05.2013, 05:01
Re: A little issue - by Goldilox - 04.05.2013, 19:10

Forum Jump:


Users browsing this thread: 1 Guest(s)