[HELP] Getting Rescue Zone Coords Properly
So I'm trying to make this plugin where as a CT you can teleport to the hostage rescue zone from anywhere near the map. I'm trying to get the coordinates for the rescue zone like so:
PHP Code:
|
Re: [HELP] Getting Rescue Zone Coords Properly
get_brush_entity_origin
You can look inside my Bomb Status plugin. It has code to teleport to a bombsite without getting stuck. |
Re: [HELP] Getting Rescue Zone Coords Properly
Quote:
Anyway, it never occurred to me until now that hostages don't follow if you're too far away. The plugin as is is practically useless in its intended purpose but I can use these codes on something else. Thanks man... |
Re: [HELP] Getting Rescue Zone Coords Properly
You should try lowering the range in which it searches for a valid origin. It's likely too big and that's why you end up somewhere else.
|
Re: [HELP] Getting Rescue Zone Coords Properly
Quote:
|
| All times are GMT -4. The time now is 02:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.