Start veh. engine? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Start veh. engine? (
/showthread.php?tid=403944)
Start veh. engine? -
NicholasA - 01.01.2013
Hey is there something like:
StartEngine
or something that will start players engine?
Re: Start veh. engine? -
LetsOWN[PL] - 01.01.2013
Hello.
Actually, no, because engine starts itself (it is player-sided process, though).
Greetz,
LetsOWN
Re: Start veh. engine? -
NicholasA - 01.01.2013
Quote:
Originally Posted by LetsOWN[PL]
Hello.
Actually, no, because engine starts itself (it is player-sided process, though).
Greetz,
LetsOWN
|
Uhmm clearly you dont know what youre talking about..
https://sampwiki.blast.hk/wiki/ManualVehicleEngineAndLights
Re: Start veh. engine? -
SHRP - 01.01.2013
Quote:
Originally Posted by phantomcraft
|
Actually, I believe they are correct.
Starting the engine is client-side; it happens as soon as you step into a car which engine is not already on. Not even that method can stop the initial engine start up.
Re: Start veh. engine? -
NicholasA - 01.01.2013
Quote:
Originally Posted by SHRP
Actually, I believe they are correct.
Starting the engine is client-side; it happens as soon as you step into a car which engine is not already on. Not even that method can stop the initial engine start up.
|
Dude ManualVehicleEngineAndLights(); is starting engine/lights manually and not automatically
Re: Start veh. engine? -
SHRP - 01.01.2013
Quote:
Originally Posted by phantomcraft
Dude ManualVehicleEngineAndLights(); is starting engine/lights manually and not automatically
|
I can read, thank you.
Whilst it may be manual, the audio for the engine starting up is client-side, and will happen even if that method is used. Therefore, I rest my case that it is handled client-side.
Re: Start veh. engine? -
LetsOWN[PL] - 01.01.2013
Quote:
Originally Posted by phantomcraft
Dude ManualVehicleEngineAndLights(); is starting engine/lights manually and not automatically
|
Quote:
Originally Posted by phantomcraft
|
.. so if you know how to solve this problem on your own or you are about to do it, why'd you asked about help?
Just read page about ManualVehicleEngineAndLights and about SetVehicleParams (or something similar) and you're done.
Greetz,
LetsOWN