Horbin 85 Report post Posted October 21, 2015 Anyone know the flag under infi-star and the safe zones?I need to check these flags to prevent setdamage from killing players who are in admin/god mode or in safe zones. Share this post Link to post Share on other sites
.nawuko 1 Report post Posted October 21, 2015 Client or server side?For Exile Client side you can check the ExilePlayerInSafezone variable (no func, just a variable with true/false)For Infistar Client side you can check infiSTAR_A3GodRun (0 OR nil for disabled, 1 for enabled)For server side as far as i can tell there is no actually flag for both. You could check if the player is currently in the safezone (you can check with the built-in function "[x,y,z] call ExileClient_util_world_isInSpawnZone") Share this post Link to post Share on other sites
Horbin 85 Report post Posted October 21, 2015 Thanks, I'll see what I can do with this.Issue I am running into is zombies running on a headless client crushing folks in safe zones and with god mode enabled Share this post Link to post Share on other sites
.nawuko 1 Report post Posted October 21, 2015 [x,y,z] call ExileClient_util_world_isInSpawnZone should be the right thing. can be used on the headless without problems. I would consider adding a check for (isObjectHidden _player) so no admins in stealth mode get chased/attacked. 1 Share this post Link to post Share on other sites
Horbin 85 Report post Posted October 21, 2015 Thanks Nawuko Share this post Link to post Share on other sites