Engine & Lights with 2
#3

Quote:
Originally Posted by Riddick94
Посмотреть сообщение
Let's use GetVehicleParamsEx for that. All vehicle params when they're spawned are values of: -1. So, basically you'll have to check vehicle state (store values) by above function and then do if statement to your engine if it's lower than '0'. If so, put the engine on (SetVehicleParamsEx) in different case (else) set vehicle params back to '0' (false). Check it at SA-MP wiki.
Alright.. I'll check SA-MP wiki. About engine - I works perfectly.. but lights just do not want start.
Reply


Messages In This Thread
Engine & Lights with 2 - by Rudiz - 06.02.2014, 18:17
Re: Engine & Lights with 2 - by Riddick94 - 06.02.2014, 18:22
Re: Engine & Lights with 2 - by Rudiz - 06.02.2014, 18:28
Re: Engine & Lights with 2 - by MrTinder - 06.02.2014, 18:32
Re: Engine & Lights with 2 - by Rudiz - 06.02.2014, 18:37

Forum Jump:


Users browsing this thread: 1 Guest(s)