Detect if someone is in spawn.
How would I detect if someone is in spawn? If it's mod specific, I'm working with DOD.
Thanks. |
Re: Detect if someone is in spawn.
What are the names of the player spawn entities in DOD?
|
Re: Detect if someone is in spawn.
Check distance to all spawn entities for that team and if the distance is closer than whatever you want, they are in spawn
Code:
const spawnEntString[2][] = {"info_player_axis","info_player_allies"}; |
Re: Detect if someone is in spawn.
Thanks works great (with the typo edit :)). I must have copied it in the 4 minutes between you posting and editing the code LOL. Amazing timing :).
|
| All times are GMT -4. The time now is 09:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.