SA-MP Forums Archive
[Suggestion]a new param for TogglePlayerContollable - 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: [Suggestion]a new param for TogglePlayerContollable (/showthread.php?tid=197784)



[Suggestion]a new param for TogglePlayerContollable - Code_Red - 10.12.2010

How about adding a new param for The function? if turned on the player will not loose damage , but if turned off the players health will work normally , this is a must for rp servers etc.
what do you think?


Re: [Suggestion]a new param for TogglePlayerContollable - Voldemort - 10.12.2010

@Code_Red, make new value and store there info about if player is Freezed and each 1 sec set hp back to 100


@Hoborific, apply some anim to player, and lock XY pos


Re: [Suggestion]a new param for TogglePlayerContollable - Code_Red - 10.12.2010

Voldemort, when a player is frozen you cannot make the player loose damage.