Freeze State + Menu - 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: Freeze State + Menu (
/showthread.php?tid=69361)
Freeze State + Menu -
MX_Master - 17.03.2009

Very often, when player is in a menu, GM just freeze him, that he didn't move while browsing the menu. BUT in freeze state player has a GOD MODE and some players uses this trick to avoid death.
I have some menus in my GM and just want to make a freeze state where player can be killed while he browsing menu.
Re: Freeze State + Menu -
ryan kirky - 17.03.2009
Remove TogglePlayerControllable(playerid, true); is all i can think you can do
Re: Freeze State + Menu -
brett7 - 17.03.2009
yes its not possible to make them freeze but not be killed unless you made a timer that kept setting their position but would be a bit pointless
Re: Freeze State + Menu -
MX_Master - 17.03.2009
TogglePlayerControllable(playerid,true) will unfreeze the player and he will can move/enter vehicles/jump while he browsing menu
---
SetPlayerPos +timer should help, but when the player falls from the big height, he still can survive.
---
Re: Freeze State + Menu -
MenaceX^ - 17.03.2009
Only if player escapes a menu it happens..
Re: Freeze State + Menu -
MX_Master - 17.03.2009
Quote:
Originally Posted by MenaceX^
Only if player escapes a menu it happens..
|
there is one GM where i always survives using GM menu.. even ejected from helicopter or something like that i uses menu freezing a little higher than ground and then i just quits from menu and falls already from small height )
Re: Freeze State + Menu -
Zoopaman - 17.03.2009
Then it's another wanted feature for 0.3? TogglePlayerControllableButKillable?
Re: Freeze State + Menu -
ICECOLDKILLAK8 - 17.03.2009
Or TogglePlayerControllable(playerid, toggle, killable);
Re: Freeze State + Menu -
Kinetic - 17.03.2009
You can always make a timer for when someone is in a menu. Detect their location, then if its different, send them back.
Re: Freeze State + Menu -
Dujma - 17.03.2009
Quote:
Originally Posted by JeNkStAX
Or TogglePlayerControllable(playerid, toggle, killable);
|
That would be cool xD