Raised This Month: $ Target: $400
 0% 

Check if player is inside of wall


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 08-02-2013 , 17:43   Check if player is inside of wall
Reply With Quote #1

Hi
If i use some toggleable noclip, how can i detected if user is stuck in wall/box/whatever when stop using noclip?
__________________
Jhob94 is offline
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 08-02-2013 , 18:12   Re: Check if player is inside of wall
Reply With Quote #2

Raytracing?
__________________
Black Rose is offline
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 08-02-2013 , 18:49   Re: Check if player is inside of wall
Reply With Quote #3

Use trace_hull (or EngFunc_TraceHull)

There's a tutorial on how to use different traces, search
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 08-02-2013 , 18:52   Re: Check if player is inside of wall
Reply With Quote #4

ok thanks
__________________
Jhob94 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:57.


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