[Ajuda] Comando n funciona !?
#3

PHP Code:
CMD:pintar(playeridparams[])
{
    new 
cor1cor2;
    if(!
Player[playerid][pAdmin])
        return 
false;
    if(!
IsPlayerConnected(playerid))
        return 
SendClientMessage(playerid, -1"* Vocк nгo estб logado.");
    if(
sscanf(params"dd"cor1cor2))
        return 
SendClientMessage(playerid, -1"* Use: /Pintar (cor1) (cor2)");
    if(
GetPlayerState(playerid) == PLAYER_STATE_DRIVER
        
SendClientMessage(playerid, -1"* Vocк trocou a cor do seu veнculo."), ChangeVehicleColor(GetPlayerVehicleID(playerid), cor1cor2);
    else
        
SendClientMessage(playerid, -1"* Vocк precisa ser o motorista.");
    return 
true;

Reply


Messages In This Thread
Comando n funciona !? - by dimy - 29.09.2018, 14:33
Re: Comando n funciona !? - by ipsLuan - 29.09.2018, 14:43
Re: Comando n funciona !? - by NelsonC - 29.09.2018, 14:46
Re: Comando n funciona !? - by dimy - 29.09.2018, 15:00

Forum Jump:


Users browsing this thread: 1 Guest(s)