04.06.2013, 13:52
on top
( OnGameModeInit )
i don't know if its what you are asking for
Код:
new timer1;
Код:
timer1 = SetTimer("MyCheckingFunction", 5000, true);
Код:
forward MyCheckingFunction(playerid); public MyCheckingFunction(playerid) { if (PlayerInfo[playerid][prodshp] == 1) { if(GetPlayerHealth(i)) { new Float:health; GetPlayerHealth(playerid,health); if (health < 10.0) { (PlayerInfo[playerid][prodshp] == 0) SendClientMessage(playerid, COLOR_GREEN, "Don't forget to wear safety equipment, to prevent hurting yourself!"); } } } }