SA-MP Forums Archive
TogglePlayerControllable(playerid,0) on vehicle - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: TogglePlayerControllable(playerid,0) on vehicle (/showthread.php?tid=267852)



TogglePlayerControllable(playerid,0) on vehicle - Vibrate17 - 10.07.2011

Hy all. It's a bug on TogglePlayerControllable when player is in vehicle because player can use "F" and exit the car.


AW: TogglePlayerControllable(playerid,0) on vehicle - Meta - 10.07.2011

G works as well.

But I tested Enter and it didn't work


Re: TogglePlayerControllable(playerid,0) on vehicle - Jochemd - 10.07.2011

You got a code in OnPlayerKeyStateChange which does RemovePlayerFromVehicle when he presses ENTER, without looking if he is frozen or not.