TogglePlayerControllable - 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 (
/showthread.php?tid=79159)
TogglePlayerControllable -
JoeDaDude - 26.05.2009
Hi,
As you know of my previous threads im making a weapon menu for cops on my rp,
And when they enter the checkpoint, It freezes them but brings up the menu,
After they have selected there weapon and press the space the menu goes off,
But they player is still frozen, I tried adding
pawn Код:
TogglePlayerControllable(playerid,1);
I put that under OnPlayerExitedMenu Callback but im still frozen in-game, Any help? Ty
Re: TogglePlayerControllable -
Abernethy - 26.05.2009
I've once done a menu. But it turned out crap, so i deleted it. (Didn't like it.)
Try using an
Код:
0 in TogglePlayerControllable(playerid, <here>);
1 & 0 represent Yes, & No if you didn't already now. Switching them might help. If not, I'm not sure buddy.
Re: TogglePlayerControllable -
JoeDaDude - 26.05.2009
Fixed it, Now ty
Re: TogglePlayerControllable -
yezizhu - 26.05.2009
Any fs loaded?