Raised This Month: $ Target: $400
 0% 

No jumping & attacking while freezed


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 09-01-2017 , 08:17   Re: No jumping & attacking while freezed
Reply With Quote #4

Quote:
Originally Posted by PurposeLessx View Post
I tried it.
PHP Code:
set_entvar(players[i], var_flagsget_entvar(players[i], var_flags) | FL_FROZEN); 
But they can still jump and attack everywhere and everyone.
I am trying it with bots. It can not block them because of they are bot, it can be?
Save their view angle when they spawn and set that angle on PreThink + fixangle 1. This will prevent them from turning.
For attacking, just set m_flNextPrimaryAttack.
For jumping, you can't properly block jump, it will still play a bit of the animation.
__________________
HamletEagle is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode