CS:GO DM - Detecting player invulnerability
CS:GO DM - Detecting player invulnerability
Looked through the documentation and forums, and didn't find anything about detecting if a player is still immune after spawning in Deathmatch. I'd like to use this to run another function, and aside from detecting input from the user, I'm not quite sure what to do.
Re: CS:GO DM - Detecting player invulnerability
I'm interested in this too, if you mean the semi-transparent mode in DM when the player is just spawned.
Re: CS:GO DM - Detecting player invulnerability
Checking the m_bGunGameImmunity property should work:
Syntax: Select all
from players.entity import Player
if player.get_property_bool('m_bGunGameImmunity'):
# Player has godmode - do something.
Return to “Plugin Development Support”
Who is online
Users browsing this forum: No registered users and 101 guests