Convert this to strmp
#1

pawn Код:
CMD:ekk(playerid, params[])
{
        new id, reason[124], string[128], name[24];
        if(sscanf(params[], "us[128]", id)) return SendClientMessage(playerid, RED, "Usage: /ekk [id] [reason]");
        if(adminlevel[playerid] >  2)
        {
                if(GetPlayerVirtualWorld(id) != 9) return SendClientMessage(playerid, RED, "Player is not in DDay!");
                SetPlayerVirtualWorld(playerid, 0);
                GetPlayerName(id, name, 24);
                format(string, sizeof string, "%s has been kicked from the DDay event for %s",name,reason);
                SendClientMessageToAll(RED, string);
        }
        else return SendClientMessage(playerid, RED, "You can't use this!");
        return 1;
}
Reply


Messages In This Thread
Convert this to strmp - by Alex_Obando - 12.08.2011, 18:59
Re: Convert this to strmp - by MadeMan - 12.08.2011, 19:03
AW: Convert this to strmp - by samtey - 12.08.2011, 19:08
Re: Convert this to strmp - by Michael@Belgium - 12.08.2011, 19:13
Respuesta: Re: Convert this to strmp - by Alex_Obando - 12.08.2011, 19:20
AW: Convert this to strmp - by samtey - 12.08.2011, 19:25
Re: Respuesta: Re: Convert this to strmp - by Michael@Belgium - 12.08.2011, 19:25
Respuesta: Convert this to strmp - by Alex_Obando - 12.08.2011, 19:46
Re: Convert this to strmp - by Snipa - 12.08.2011, 19:48
Respuesta: AW: Convert this to strmp - by Alex_Obando - 12.08.2011, 19:50

Forum Jump:


Users browsing this thread: 5 Guest(s)