Raised This Month: $ Target: $400
 0% 

Flags question....


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 09-10-2005 , 15:44  
Reply With Quote #5

pm_shared.c handles your movement if I'm not mistaken, and it doesn't use FL_INWATER at all. It uses waterlevel and watertype. Also, in certain parts it uses PointContents to see if you're in water. Your best bet is to try this every prethink or postthink (I'm not sure which):

Code:
entity_set_int(id,EV_INT_waterlevel,3); // fully submerged entity_set_int(id,EV_INT_watertype,CONTENTS_WATER); // I'm in water, not acid or something

NOTE: This may make you drown.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX 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 14:32.


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