Raised This Month: $ Target: $400
 0% 

Stopping monster movement.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
VEN
Veteran Member
Join Date: Jan 2005
Old 05-05-2007 , 04:22   Re: Stopping monster movement.
Reply With Quote #5

When dealing with flags don't perform simple set but use bitwise OR operator:
Quote:
set_pev(entid, pev_flags, pev(entid, pev_flags) | FL_FROZEN)
Also have you read hlsdk_const.inc?

Quote:
#define FL_FROZEN (1<<12) // Player is frozen for 3rd person camera
VEN 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 06:42.


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