[Ajuda] Ligar veнculo
#8

PHP код:
public OnPlayerStateChange(playeridnewstateoldstate)
{
    new 
car GetPlayerVehicleID(playerid);
    if(
oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER)
    {
        new 
enginelightsalarmdoorsbonnetbootobjective;
        
GetVehicleParamsEx(carengine,lightsalarmdoorsbonnetbootobjective);
        if(
Motor[car] == falseSetVehicleParamsEx(car0,lightsalarmdoorsbonnetbootobjective);
        
SendClientMessage(playerid, -1"Seu veiculo esta desligado por favor ligue-o apertando CTRL para poder andar");
    }
    return 
true;

Reply


Messages In This Thread
Ligar veнculo - by GabrielBiel - 22.07.2016, 16:42
Respuesta: Ligar veнculo - by SammyJ - 22.07.2016, 16:44
Re: Ligar veнculo - by GabrielBiel - 22.07.2016, 16:46
Respuesta: Ligar veнculo - by SammyJ - 22.07.2016, 16:48
Re: Ligar veнculo - by GabrielBiel - 22.07.2016, 16:53
Respuesta: Ligar veнculo - by SammyJ - 22.07.2016, 16:56
Re: Ligar veнculo - by GabrielBiel - 22.07.2016, 17:46
Re: Ligar veнculo - by MBJ - 23.07.2016, 19:07

Forum Jump:


Users browsing this thread: 1 Guest(s)