rp commands.
#5

pawn Код:
CMD:act(playerid, params[])
{
    new
        action[128],
        user[MAX_PLAYER_NAME];
       
    if(sscanf(params, "s", params)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /act [action]");

    else {
    GetPlayerName(playerid, user, sizeof user);
    format(action, sizeof(action), "* %s ((%s))", params, user);
    }
    return 1;
}
Reply


Messages In This Thread
rp commands. - by oscar7610 - 07.04.2012, 19:21
Re: rp commands. - by Jonny5 - 07.04.2012, 19:33
Re: rp commands. - by oscar7610 - 07.04.2012, 19:50
Re: rp commands. - by Jack.7331 - 07.04.2012, 20:06
Re: rp commands. - by Jack.7331 - 07.04.2012, 20:09
Re: rp commands. - by oscar7610 - 07.04.2012, 21:38

Forum Jump:


Users browsing this thread: 1 Guest(s)