[Ajuda] onde altero a cor desses comandos?
#1

olб pessoal, esses comandos estгo mostrando o texto todo preto, to caзando alguma pista em GetPlayerColor
no Wiki mas tб brabo!!! onde й que eu mexo pra editar a cor?
vlw obrigado!!!

PHP код:
command(meplayeridparams[])
{
    new 
string[128];
    if(
strlen(params) < 2) return SendClientMessage(playerid0xFFFF000"Mнnimo 2 caracteres.");
    
format(stringsizeof(string), "* %s %d %s "GetName(playerid), playeridparams);
    
SendClientMessageToAll(GetPlayerColor(playerid), string);
    return 
1;
}
command(do, playeridparams[])
{
    new 
string[128], FloatPos[3];
    if(
strlen(params) < 2) return SendClientMessage(playerid0xFFFF000"Mнnimo 2 caracteres.");
    
format(stringsizeof(string),"%s (%d) ((%s))"GetName(playerid), playeridparams);
    for(new 
iMAX_PLAYERSi++)
    {
        if(
!= playerid && IsPlayerConnected(i) && IsPlayerInRange(iDO_RANGEDO_RANGEPos[0], Pos[1], Pos[2]))
        {
            
SendClientMessage(iGetPlayerColor(playerid), string);
        }
    }
    
SendClientMessage(playeridGetPlayerColor(playerid), string);
    return 
1;

Reply


Messages In This Thread
onde altero a cor desses comandos? - by RogerMP - 27.07.2014, 16:11
Re: onde altero a cor desses comandos? - by ces123 - 27.07.2014, 16:14
Re: onde altero a cor desses comandos? - by tonisantolia - 27.07.2014, 16:15
Re: onde altero a cor desses comandos? - by ipsLuan - 27.07.2014, 16:15
Re: onde altero a cor desses comandos? - by RogerMP - 27.07.2014, 16:41

Forum Jump:


Users browsing this thread: 1 Guest(s)