[Pedido] Comando para funcionar
#4

Quote:
Originally Posted by PT
Посмотреть сообщение
pawn Код:
if(strcmp(cmd, "/aclima", true) == 0)
{
    new aname[MAX_PLAYER_NAME], Previsao;
    GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
    if(!strcmp(aname,"PT",true))
    {
        Previsao = random(sizeof(WeatherName));
        if(Previsao >= 1 && Previsao <= 50)
        {
            SetWeather(Previsao);
        }
        format(string, sizeof(string), "O clima de hoje й: %s", WeatherName[Previsao]);
        SendClientMessageToAll(0xFFFFFFAA, string);
    }
    else SendClientMessage(playerid, Vermelho, "Vocк nгo e o PT!");
    return 1;
}
I am love PT Ўgracias
Reply


Messages In This Thread
Comando para funcionar - by Blitz22 - 21.09.2013, 14:45
Re: Comando para funcionar - by PT - 21.09.2013, 14:53
Re: Comando para funcionar - by Samuel300 - 21.09.2013, 14:55
Re: Comando para funcionar - by Blitz22 - 21.09.2013, 15:01

Forum Jump:


Users browsing this thread: 2 Guest(s)