amx freeze
10 Attachment(s)
Code:
amx_freeze |
Re: amx freeze
One question, why you are using set_user_gravity( )?
|
Re: amx freeze
There are better ways of freezing them using fakemeta.
Quote:
|
Re: amx freeze
to prevent him from jumping around. If an admin freezes a player for some reason, and he wants to kill him, it sucks if he keeps jumping all the time.
Edit: @ fysiks: Could you guide me in the right direction? |
Re: amx freeze
PHP Code:
|
Re: amx freeze
Nice, i'll check that out.
|
Re: amx freeze
Quote:
@drekes, I originally found it in Gungame for when the game was won. |
Re: amx freeze
fysiks is right, set velocity is useless, frozen flag will stop the player wherever he is.
If you also want to block player from using his mouse, reset his v_angle every pre or post think (don't remember which one but both could work). |
Re: amx freeze
Quote:
Sry for my english. |
Re: amx freeze
Updated
@Connor: I tried to block the v_angles with this: Code:
entity_set_vector(id, EV_VEC_v_angles, {0.0, 0.0, 0.0}) And when i used an empty float, nothing happened. I added a client_print in PreThink and PostThink to check if i did it right, and it is being called. Could you show an example how i should do it? @ all: Thanks for the suggestions. |
All times are GMT -4. The time now is 09:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.