SA-MP Forums Archive
Car 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: Car engine (/showthread.php?tid=407544)



Car engine - UnknownGamer - 14.01.2013

Does anyone know why the camera freezes when the engine isnt started?

Or what vairable its under?


Re: Car engine - Chrillzen - 14.01.2013

TogglePlayerControllable(playerid, 0); // 0 - unfreeze, 1 - freeze.


Re: Car engine - UnknownGamer - 14.01.2013

Yeah but under what vairable? for cars?

If the engine isnt started, camera freezes


Re : Car engine - yusei - 14.01.2013

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)


Re: Car engine - RajatPawar - 14.01.2013

EDIT: Doesn't happen for me.


Re: Car engine - Mr.Anonymous - 14.01.2013

This must be scripted. It never happened to me.


Re: Car engine - [HiC]TheKiller - 14.01.2013

Sounds like it's scripted. See if there is anything such as TogglePlayerControllable under newstate == PLAYER_STATE_DRIVER in OnPlayerStateChange.