[Ajuda] Ajuda no GameTextForPlayer
#2

Testa assim:

PHP код:
forward SAvario(playerid);
public 
SAvario(playerid)
{
    new 
Float:vidacar;
    new 
veiculoid GetPlayerVehicleID(playerid);
    
GetVehicleHealth(veiculoidvidacar);
    if(
vidacar <= 300.0)
    { 
        
SetVehicleHealth(veiculoid300);
        new 
motorfarolalarmeportascapoportamalasobjetivo;
        
GetVehicleParamsEx(veiculoidmotorfarolalarmeportascapoportamalasobjetivo);
        
SetVehicleParamsEx(veiculoid0farolalarmeportascapoportamalasobjetivo);
        
GameTextForPlayer(playerid"~r~~h~ O motor de seu veiculo foi danificado."50003);
    }
    return 
1;

Reply


Messages In This Thread
Ajuda no GameTextForPlayer - by KrosmoStewart - 16.02.2019, 19:30
Re: Ajuda no GameTextForPlayer - by AutoMatic2 - 16.02.2019, 19:35
Re: Ajuda no GameTextForPlayer - by KrosmoStewart - 16.02.2019, 19:42
Re: Ajuda no GameTextForPlayer - by Japis - 16.02.2019, 20:49
Re: Ajuda no GameTextForPlayer - by KrosmoStewart - 16.02.2019, 21:13
Re: Ajuda no GameTextForPlayer - by Japis - 16.02.2019, 21:22
Re: Ajuda no GameTextForPlayer - by KrosmoStewart - 16.02.2019, 21:30
Re: Ajuda no GameTextForPlayer - by Japis - 16.02.2019, 21:36
Re: Ajuda no GameTextForPlayer - by KrosmoStewart - 16.02.2019, 21:40
Re: Ajuda no GameTextForPlayer - by KrosmoStewart - 17.02.2019, 00:11

Forum Jump:


Users browsing this thread: 2 Guest(s)