25.02.2010, 12:50
Код:
yourtimer[playerid] = SetTimerEx(...); // Please Change var and other things by yourself...
Код:
forward DmvPlayerDamageTimer(playerid); public DmvPlayerDamageTimer(playerid) { new Float:vhp; GetVehicleHealth(GetPlayerVehicleID(playerid), vhp); if(vhp < 700) SendClientMessage(playerid, 0xFFFFFF, "Yourcar health is now around 700!"); else if(vhp < 540) { SendClientMessage(playerid, 0xFFFFFF, "Your car health is now under 540. You will be charged for the repairings."); GivePlayerMoney(playerid, -1000); KillTimer(yourtimer[playerid]); // Change it Please... } return 1; }