31.10.2009, 18:08
can someone tell me how to make script to car can't explod for stunt server.
public AutoR() { for(new playerid=0; playerid<MAX_PLAYERS; playerid++) { if(IsPlayerConnected(playerid)) { new Float:health, cid; if (IsPlayerInAnyVehicle(playerid)) { cid = GetPlayerVehicleID(playerid); GetVehicleHealth(cid, health); if (health < 300) { SetVehicleHealth(cid,1000); SendClientMessage(playerid, COLOR_CYAN, "~*~ Your Car Was Auto Fixed ~*~"); } } } } return 1; } |