Raised This Month: $51 Target: $400
 12% 

point contents mistakes


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
steve139
Senior Member
Join Date: May 2007
Location: here
Old 01-30-2009 , 14:29   point contents mistakes
Reply With Quote #1

Hello people,

I would like to check if a point is in nothing

so
PHP Code:
//new Float:my_point[3]
if(PointContents(my_point) == CONTENTS_EMPTY
but if the point is in water or a trigger map entity
it returns false


so
PHP Code:
if(PointContents(my_point) != CONTENTS_SOLID
but this return true when the point is in player or in door or pushable thing ....

I just want to know if the point is in the worldspawn/entity(like door, pushable thing, water, or in the map (in water)

so what I should use ?


Thanks for reading
steve139 is offline
Reply



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 15:54.


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