13.10.2009, 15:10
Код:
forward repaircar() public OnGameModeInit() { SetTimer("repaircar",3000,1); } public repaircar() { for(new i=0; i < MAX_PLAYERS; i++) { new Float:hp[MAX_PLAYERS]; GetVehicleHealth(GetPlayerVehicleID(i),hp[i]); if (hp[i] < 900) { SetVehicleHealth(GetPlayerVehicleID(i),1000); GameTextForPlayer(i,"~w~Vehicle~g~ Repaired",3000,3); } } }