Server Help

ASSS Questions - How to check if a player is in a safety?

Anonymous - Wed Mar 19, 2008 2:48 pm
Post subject: How to check if a player is in a safety?
There is a "status" field and a STATUS_SAFEZONE definition in the player.h file, but:
Code: Show/Hide
p->position.status == STATUS_SAFEZONE

obviously will not work, so what am I supposed to do here? Thanks,
-Agile
Dr Brain - Wed Mar 19, 2008 2:58 pm
Post subject:
if (p->position.status & STATUS_SAFEZONE) should do the trick.
Anonymous - Wed Mar 19, 2008 3:00 pm
Post subject:
Lol, holy crap wow, that was fast.
Yeah I was about to post again when I realized I could just check buy.c, thanks =)
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group