SA-MP Forums Archive
[FS/Addon] FreezeEx - Freeze Players and let them take damage. - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FS/Addon] FreezeEx - Freeze Players and let them take damage. (/showthread.php?tid=124596)



[FS/Addon] FreezeEx - Freeze Players and let them take damage. - Giacomand - 31.01.2010

Basically, I used Dialogs to do this. I've noticed Dialogs make you lose your control over your player, so I used it as a new "Frozen" feature.

You lose control on being able to type(talk in chat), move, pause (easily alt+tab and back to do this) and drive.
Using this instead of the plain old freeze means that the player can take damage while frozen, still has gravity (won't stay up in mid-air) and won't be able to talk for added bonus.

I also added added a "Speak while FrozenEx" option. The person frozen can still talk while frozen, this is so that admins can communicate to the rulebreaker. You may have to edit it to your liking though.

Commands are /freezeEx and /unfreezeEx, feel free to edit them.

Pastebin *Click here*

Requires ZCMD inc.


Re: [FS/Addon] FreezeEx - Freeze Players and let them take damage. - [LNL]Remulis - 31.01.2010

Nice. Good work


Re: [FS/Addon] FreezeEx - Freeze Players and let them take damage. - Giacomand - 31.01.2010

Thanks, was just something I made in an hour.


Re: [FS/Addon] FreezeEx - Freeze Players and let them take damage. - Lorenc_ - 31.01.2010

nice


Re: [FS/Addon] FreezeEx - Freeze Players and let them take damage. - Striker_Moe - 31.01.2010

Not too bad. Although not useful on DM servers, just imagine you get dialog-frozen, cant move but some nubs keep shooting at you.


Re: [FS/Addon] FreezeEx - Freeze Players and let them take damage. - Giacomand - 31.01.2010

Quote:
Originally Posted by Mo3
Not too bad. Although not useful on DM servers, just imagine you get dialog-frozen, cant move but some nubs keep shooting at you.
Well you could use it as an Anti-Team-Kill system. Everytime someone kills their own team they get Dialog-Frozen for 10 seconds.


Re: [FS/Addon] FreezeEx - Freeze Players and let them take damage. - beckzy - 01.02.2010

You can move with dialogs if you use a controller.