cmd not working properly
#8

pawn Код:
CMD:kickmember(playerid, params[])
{
    if(PlayerInfo[playerid][LeaderGSF] >= 1)
    {
        new string[128], targetplayer;
        if(sscanf(params, "u", targetplayer)) return SendClientMessage(playerid, COLOR_WHITE, "Usage: /kickmember [ID]");
        PlayerInfo[targetplayer][MemberGSF] = 0;
        SendClientMessage(targetplayer, COLOR_RED, "You have been kicked from the organization by the (Co)-Leader");
        SendClientMessage(playerid, COLOR_RED, "You kicked the specified member from your Organization");
    }
    else
    {
        SendClientMessage(playerid, COLOR_RED, "Error: You aren't the (Co)-Leader of any organization!");
    }
    return 1;
}
Go ahead and try this one and tell me, If its working.
Reply


Messages In This Thread
cmd not working properly - by saffierr - 01.09.2015, 20:42
Re: cmd not working properly - by MarvinPWN - 01.09.2015, 20:47
Re: cmd not working properly - by simo0000 - 01.09.2015, 20:55
Re: cmd not working properly - by saffierr - 01.09.2015, 21:20
Re: cmd not working properly - by Bomber07 - 01.09.2015, 21:35
Re: cmd not working properly - by saffierr - 01.09.2015, 21:36
Re: cmd not working properly - by khRamin78 - 02.09.2015, 06:09
Re: cmd not working properly - by benjaminjones - 02.09.2015, 06:44
Re: cmd not working properly - by Roberto80 - 02.09.2015, 06:58
Re: cmd not working properly - by SpaceX - 02.09.2015, 07:15

Forum Jump:


Users browsing this thread: 4 Guest(s)