SA-MP Forums Archive
AVS - Advanced Vehicle System Help! I can drive with the engine off even when I put the code to fix it! - 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: AVS - Advanced Vehicle System Help! I can drive with the engine off even when I put the code to fix it! (/showthread.php?tid=385245)



AVS - Advanced Vehicle System Help! I can drive with the engine off even when I put the code to fix it! - xXRealLegitXx - 15.10.2012

Ugh! The engine starts up when I get into the car it says "Engine Off" but it still runs, I added this to my script:

public OnGameModeInit()
{
ManualVehicleEngineAndLights();
}

still didnt work (Yes I restarted the server)
WHAT DO I DO?

How do I get rid of the /ejectall and /tow?

Help is appriciated!


Re: AVS - Advanced Vehicle System Help! I can drive with the engine off even when I put the code to fix it! - Joshman543 - 15.10.2012

Delete the functions /ejectall and /tow from the script, also make sure that toggleplayercontrollable is set to 1


Re: AVS - Advanced Vehicle System Help! I can drive with the engine off even when I put the code to fix it! - xXRealLegitXx - 15.10.2012

Quote:
Originally Posted by Joshman543
Посмотреть сообщение
Delete the functions /ejectall and /tow from the script, also make sure that toggleplayercontrollable is set to 1
My main problem is fixing the vehicles starting when you get inside.


Re: AVS - Advanced Vehicle System Help! I can drive with the engine off even when I put the code to fix it! - Joshman543 - 15.10.2012

got team viewer?


Re: AVS - Advanced Vehicle System Help! I can drive with the engine off even when I put the code to fix it! - xXRealLegitXx - 15.10.2012

Quote:
Originally Posted by Joshman543
Посмотреть сообщение
got team viewer?
Yes. But will you be on tomarrow, I have to head out. If so what time Pacific Standard Time or Eastern Standard Time?


Re: AVS - Advanced Vehicle System Help! I can drive with the engine off even when I put the code to fix it! - Joshman543 - 15.10.2012

Eastern Time, I check up every once in a while send me a pm