23.06.2015, 19:00
Код:
// Gamemodeinit SetTimer("CheckInjuries", 1000, true); forward CheckInjuries(); public CheckInjuries() { for(new p = 0; p < MAX_PLAYERS; p++) { new Float:health; GetPlayerHealth(p, health); if(health < 30.0) { // Do the text and thing here. // Make sure to set a variable for the player so that it won't show the message/animation every second. } } }