[Ajuda] Cores nick
#7

Olha cara fiz algumas aqui:

pawn Код:
#define Verde 0x006A00FF
#define Azul 0x004080FF
#define Rosa 0xFF0080FF
#define Amarelo 0xFFFF00FF4
Se quiser mudar pra strcmp sу mundar a sintaxe.

pawn Код:
CMD:cores(playerid,params[])
   {
        SendClientMessage(playerid,-1,"Corres> verde, azul, amarelo, rosa");
        return true;
    }
   
    CMD:corrosa(playerid,params[])
    {
        SetPlayerColor(playerid,Rosa);
        return true;
    }
    CMD:corazul(playerid,params[])
    {
        SetPlayerColor(playerid,Azul);
        return true;
    }
   
    CMD:corverde(playerid,params[])
    {
        SetPlayerColor(playerid,Verde);
        return true;
    }
   
    CMD:coramarelo(playerid,params[])
    {
        SetPlayerColor(playerid,Amarelo);
        return true;
    }
Reply


Messages In This Thread
Cores nick - by FernandoOO - 10.04.2013, 15:12
Respuesta: Cores nick - by Pedro Pawno - 10.04.2013, 15:15
Re: Cores nick - by MatheusAlcapone - 10.04.2013, 15:19
Respuesta: Cores nick - by FernandoOO - 10.04.2013, 15:25
Re: Cores nick - by LucaAllexandre - 10.04.2013, 15:34
Respuesta: Cores nick - by FernandoOO - 10.04.2013, 15:36
Respuesta: Cores nick - by Pedro Pawno - 10.04.2013, 15:44
Re: Cores nick - by After - 10.04.2013, 16:46
Re: Cores nick - by WotusPower - 10.04.2013, 16:46
Re: Respuesta: Cores nick - by Coreia - 10.04.2013, 17:27

Forum Jump:


Users browsing this thread: 1 Guest(s)