TogglePlayerControllable
#1

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
Reply
#2

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.
Reply
#3

Fixed it, Now ty
Reply
#4

Any fs loaded?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)