Raised This Month: $32 Target: $400
 8% 

Is there any way to tell if a user is stuck in an object?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
aceofspades
Member
Join Date: Aug 2005
Old 10-29-2006 , 06:42   Is there any way to tell if a user is stuck in an object?
Reply With Quote #1

I was wondering if it is possible to tell if a user is stuck in an object. A lot of people seem to get stuck in chairs and things and require teleporting away, but there are many people who exploit this and say they are stuck when they arnt, just so they can get teleported (probably to a better place).

Is it also possible to tell where the object that they are stuck in is, as in is it their feet that is stuck in the sofa.

Thanks for any help,

James
aceofspades is offline
API
Veteran Member
Join Date: May 2006
Old 10-29-2006 , 08:13   Re: Is there any way to tell if a user is stuck in an object?
Reply With Quote #2

Set a players velocity, check in 0.3 seconds, if their origin is the same, they are stuck.
API is offline
Send a message via AIM to API
aceofspades
Member
Join Date: Aug 2005
Old 10-29-2006 , 08:28   Re: Is there any way to tell if a user is stuck in an object?
Reply With Quote #3

But does a player still have a velocity if they are attempting to move but are stuck in an object?
aceofspades is offline
API
Veteran Member
Join Date: May 2006
Old 10-29-2006 , 08:31   Re: Is there any way to tell if a user is stuck in an object?
Reply With Quote #4

Well thats not the point. If you set their velocity manually, and if they are stuck, they STILL won't move. If they do have a different origin, they are stuck.
API is offline
Send a message via AIM to API
aceofspades
Member
Join Date: Aug 2005
Old 10-29-2006 , 08:45   Re: Is there any way to tell if a user is stuck in an object?
Reply With Quote #5

Ah right, i see what you mean now. Thanks
aceofspades 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 23:26.


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