Barman work command
#3

Quote:
Originally Posted by Vince
Посмотреть сообщение
pawn Код:
CMD:givebeer(playerid, params[])
{
    new uid;

    if(sscanf(params, "u", uid))
        return SendClientMessage(playerid, COLOR_YELLOW, "Usage: /givebeer <playerid/partofname>");

    if(uid == INVALID_PLAYER_ID)
        return SendClientMessage(playerid, COLOR_YELLOW, "Player not connected.");

    SetPlayerSpecialAction(uid, SPECIAL_ACTION_DRINK_BEER);
    return 1;
}
i don't use CMD
Reply


Messages In This Thread
Barman work command - by NitoPSG - 20.04.2011, 16:23
Re: Barman work command - by Vince - 20.04.2011, 16:31
Re: Barman work command - by NitoPSG - 20.04.2011, 16:35
Re: Barman work command - by NitoPSG - 21.04.2011, 16:21
Re: Barman work command - by NitoPSG - 21.04.2011, 16:23
Re: Barman work command - by NitoPSG - 21.04.2011, 21:12

Forum Jump:


Users browsing this thread: 1 Guest(s)