int totalvotes = 0;
FOREACH_CLIENT(IS_REAL_CLIENT(it), {
// hide scoreboard again
- if(it.health != 2342)
+ if(GetResource(it, RES_HEALTH) != 2342)
{
- it.health = 2342;
+ SetResourceExplicit(it, RES_HEALTH, 2342);
CS(it).impulse = 0;
msg_entity = it;