[HELP] bmx,bike,mountain bike problem - 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: [HELP] bmx,bike,mountain bike problem (
/showthread.php?tid=619922)
[HELP] bmx,bike,mountain bike problem -
Luca12 - 23.10.2016
Hello everyone. So when I sit on bike bmx or mountain bike I can't drive it it's like I'm frozen but I have this code in onplayerstatechange under onplayerstate driver and it should work but it's not:
pawn Код:
if(IsABike(newcar))
{
TogglePlayerControllable(playerid,1);
}
Re: [HELP] bmx,bike,mountain bike problem - iLearner - 23.10.2016
TogglePlayerControllable(playerid,1);
and why did you add that? also show us whole onplayerstatechange = state_driver
Re: [HELP] bmx,bike,mountain bike problem -
GoldenLion - 23.10.2016
Maybe the engine is off so you can't drive it?