24.03.2012, 19:00
Код:
forward CheckHealth(playerid); public CheckHealth(playerid) { new Float:Health; GetPlayerHealth(playerid,Health); if(Health < 20) { losehp = SetTimer("losehp",1500000,true); } return 1; } forward losehp(playerid); public losehp(playerid) { new Float:Health; GetPlayerHealth(playerid, Health); SetPlayerHealth(playerid, Health-5); return 1; }
Код:
error 076: syntax error in the expression, or invalid function call