[ H3LP ] Check player stuck
Hello. How can I check if a player is stuck inside another player? I made a check but it is only for if the player stuck on ground etc. Any help would be appreciated. need this to finish the unstuck plug-in. Thanks !
|
Re: [ H3LP ] Check player stuck
What's wrong with Ramono's Plugin?
|
Re: [ H3LP ] Check player stuck
Quote:
|
Re: [ H3LP ] Check player stuck
Loop through all players and check if they have same origin?
|
Re: [ H3LP ] Check player stuck
Quote:
|
Re: [ H3LP ] Check player stuck
Yeah, what about checking if they have close origins ?
|
Re: [ H3LP ] Check player stuck
Quote:
|
Re: [ H3LP ] Check player stuck
I'm not good at calculations either but I hope this can lead you somewhere lol. Basically I'm hooking Ham_Touch and checking if Touched player's origin minus Toucher player's origin is less or equal to 10 (that should be enough to confirm they're stuck). I'm not sure which dimension of array I should check though..
Code:
|
Re: [ H3LP ] Check player stuck
Quote:
|
Re: [ H3LP ] Check player stuck
Quote:
|
| All times are GMT -4. The time now is 22:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.