SA-MP Forums Archive
Edit to engine script. - 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: Edit to engine script. (/showthread.php?tid=381753)



Edit to engine script. - jakejohnsonusa - 30.09.2012

Hi, I have a engne on/off filescript. This script is great except 2 things that I was wondering if someone could fix, as I don't know how to script at all. I would like the engine to ALWAYS start with /engine or shift, instead of randomly starting or failing like its set to do now. I would also like it to LOOK like the engine is off. when turned off. Please help me to edit these two things in the filescript I am using.

Thanks,
jakejohnsonsa


Re: Edit to engine script. - jakejohnsonusa - 30.09.2012

I will PM the code to who ever ca help me. Thanks to who ever can


Re: Edit to engine script. - trapstar2020 - 30.09.2012

send it y dont u just post it here any send the code / post doesnt matter


Re: Edit to engine script. - jakejohnsonusa - 30.09.2012

The script I would like fixed is here: http://pastebin.com/f20bc2ac9


Re: Edit to engine script. - xMCx - 30.09.2012

post your code and we will fix it.


Re: Edit to engine script. - jakejohnsonusa - 30.09.2012

*posted above* Please help, and thanks.


Re: Edit to engine script. - trapstar2020 - 30.09.2012

https://sampwiki.blast.hk/wiki/GetPlayerKeys

https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange


Re: Edit to engine script. - jakejohnsonusa - 30.09.2012

Thanks, but that doesn't help much since I don'know how to script. Can someone edit the code for me please.... It would be much appreciated.

Thanks,
jakejohnsonusa


Re: Edit to engine script. - Mr.Anonymous - 30.09.2012

Quote:
Originally Posted by jakejohnsonusa
Посмотреть сообщение
I would like the engine to ALWAYS start with /engine or shift, instead of randomly starting or failing like its set to do now.
Huh? does'nt your engine only starts with the /engine command? or do you mean it starts randomly?


Re: Edit to engine script. - jakejohnsonusa - 30.09.2012

When I use the start engine command (/engine or shift) the script either does: "engine started" (car engine starts) or it does "engine failed to start" (car engine doesn't start) I hate this and would like it to Always give " engine started".

And I would like the car to ACTUALLY look off when the car engine is shut down (/engine)... the car looks like it is on and running when it is off.

Thanks to whoever can do this,
jakejohnsonusa