HELP I GET ERROR ON A AUTO REPAIR
#8

never mind fix it missinf cople things

Quote:

public OnPlayerUpdate(playerid) // Update CallBack
{
if(IsPlayerInAnyVehicle(playerid))
{
new Float:vhealth;GetVehicleHealth(GetPlayerVehicleID( playerid),vhealth);
if(vhealth<250)
{
RepairVehicle(GetPlayerVehicleID(playerid));
SetVehicleHealth(GetPlayerVehicleID(playerid),999) ;
GameTextForPlayer(playerid,"~g~Auto ~w~Fix",1500,3);
}
}
return 1; // Send this update to other players.
}

Reply


Messages In This Thread
HELP I GET ERROR ON A AUTO REPAIR - by Loading... - 29.06.2011, 01:09
Re: HELP I GET ERROR ON A AUTO REPAIR - by Shadoww5 - 29.06.2011, 01:17
Re: HELP I GET ERROR ON A AUTO REPAIR - by Loading... - 29.06.2011, 01:48
Re: HELP I GET ERROR ON A AUTO REPAIR - by Mark_Weston - 29.06.2011, 01:49
Re: HELP I GET ERROR ON A AUTO REPAIR - by Loading... - 29.06.2011, 02:00
Re: HELP I GET ERROR ON A AUTO REPAIR - by dr.pepper - 29.06.2011, 02:06
Re: HELP I GET ERROR ON A AUTO REPAIR - by Loading... - 29.06.2011, 02:13
Re: HELP I GET ERROR ON A AUTO REPAIR - by Loading... - 29.06.2011, 02:15
Re: HELP I GET ERROR ON A AUTO REPAIR - by dr.pepper - 29.06.2011, 02:17
Re: HELP I GET ERROR ON A AUTO REPAIR - by Loading... - 29.06.2011, 02:25

Forum Jump:


Users browsing this thread: 2 Guest(s)