how to make car lights alltime turned on? -
ProdrifterX - 16.01.2012
hello guys .. i need help with car/veh lights to turn it allways on
exp at 12 : 00 o clock and something.. like this video
watch :O
its awesome work..
[ame="http://www.youtube.com/watch?v=gdMwE-l7Vvs"]http://www.youtube.com/watch?v=gdMwE-l7Vvs[/ame]
Re: how to make car lights alltime turned on? -
Sinner - 16.01.2012
https://sampwiki.blast.hk/wiki/SetVehicleParamsForPlayer
Re: how to make car lights alltime turned on? -
ProdrifterX - 16.01.2012
ok but how ?
Re: how to make car lights alltime turned on? -
Min - 16.01.2012
pawn Код:
SetVehicleLights(vehicleid, on)
{
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(vehicleid,engine,on,alarm,doors,bonnet,boot,objective);
}
Re: how to make car lights alltime turned on? -
thimo - 16.01.2012
Under onplayerentervehicle add this
new engine, lights, alarm, doors, bonnet, boot, objective;
GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(vehicleid, 1, 1, alarm, doors, bonnet, boot, objective);
Re: how to make car lights alltime turned on? -
spedico - 16.01.2012
Or add that code under OnVehicleSpawn.
Re: how to make car lights alltime turned on? -
ProdrifterX - 16.01.2012
thanks guys it works.. but when player enter in vehicle lights is turned on.. when exit lights turning on ? :O how to make alltime on ? !
Re: how to make car lights alltime turned on? -
thimo - 16.01.2012
Put it under onvehicle spawn
Re: how to make car lights alltime turned on? -
ProdrifterX - 21.01.2012
Thankya
____________
IP :
188.40.57.132:7777
Drift - Generation