Daytime Car Lights
#6

Quote:
Originally Posted by jasperschellekens
Посмотреть сообщение
That's because the engine is off.

Add this:

PHP код:
public OnPlayerEnterVehicle(playerid,vehicleid,ispassenger)
{
    new 
engine,lights,alarm,doors,bonnet,boot,objective;
    
GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
    
SetVehicleParamsEx(vehicleid,1,lights,alarm,doors,bonnet,boot,objective);
    return 
1;
}
public 
OnPlayerExitVehicle(playerid,vehicleid)
{
    new 
engine,lights,alarm,doors,bonnet,boot,objective;
    
GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
    
SetVehicleParamsEx(vehicleid,0,0,alarm,doors,bonnet,boot,objective);
    return 
1;

Very thx friend, one question for on engine of trolley car??...
Reply


Messages In This Thread
Daytime Car Lights - by bookknp - 01.05.2018, 13:26
Re: Daytime Car Lights - by David (Sabljak) - 01.05.2018, 13:35
Re: Daytime Car Lights - by bookknp - 01.05.2018, 13:40
Re: Daytime Car Lights - by David (Sabljak) - 01.05.2018, 15:20
Re: Daytime Car Lights - by jasperschellekens - 01.05.2018, 16:27
Re: Daytime Car Lights - by bookknp - 01.05.2018, 17:52
Re: Daytime Car Lights - by bookknp - 02.05.2018, 14:39
Re: Daytime Car Lights - by jasperschellekens - 03.05.2018, 12:07
Re: Daytime Car Lights - by Sew_Sumi - 04.05.2018, 00:06
Re: Daytime Car Lights - by bookknp - 04.05.2018, 02:10

Forum Jump:


Users browsing this thread: 2 Guest(s)