[AJUDA] Warnings
#6

pawn Код:
if(strcmp(cmdtext, "/dia", true) == 0)
{
    new Nomep[MAX_PLAYER_NAME], stg[80];
    GetPlayerName(playerid, Nomep, sizeof(Nomep));
    if(IsPlayerAdmin(playerid))
    {
        format(stg, sizeof(stg), "O administrador %s alterou o tempo para 12:00", Nomep);
        SendClientMessageToAll(-1, stg);
        SetWorldTime(12);
    }
    else return SendClientMessage(playerid, -1, "* Vocк nгo й administrador.");
}
vc ja tem uma variavel Nome global ou na mesma funзгo.
Reply


Messages In This Thread
[AJUDA] Warnings - by Hashtag - 19.11.2011, 23:06
Re: [AJUDA] Warnings - by Slayer1 - 19.11.2011, 23:07
Re: [AJUDA] Warnings - by Hashtag - 19.11.2011, 23:12
Re: [AJUDA] Warnings - by Ghost_ - 19.11.2011, 23:13
Re: [AJUDA] Warnings - by Hashtag - 19.11.2011, 23:14
Re: [AJUDA] Warnings - by Pharrel - 19.11.2011, 23:19
Re: [AJUDA] Warnings - by Hashtag - 19.11.2011, 23:30

Forum Jump:


Users browsing this thread: 1 Guest(s)