15.06.2013, 09:55
Sorry if i do the wrong thing on the script..
Im trying to make an autofix script.. the timer is bugged and it does not want to time
(ERROR 1) : error 036: empty statement
(ERROR 2) : error 036: empty statement
Im trying to make an autofix script.. the timer is bugged and it does not want to time
pawn Код:
public Repair(playerid)
{
if(AutoFix[playerid] == 1) af_timer = SetTimer("Repair", 500, true);
if(AutoFix[playerid] == 0) return KillTimer(af_timer);
{
if(!IsPlayerConnected(playerid)); //ERROR 1
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER ); //ERROR 2
SetVehicleHealth(GetPlayerVehicleID(playerid), 1000);
RepairVehicle(GetPlayerVehicleID(playerid));
}
return 1;
}
(ERROR 2) : error 036: empty statement