Need help with car body
#2

Why not use the function RepairVehicle() ?
Code:
if(strcmp(cmdtext, "/fix", true) == 0)
{
	if(IsPlayerInAnyVehicle(playerid))
	{
	    new vehicleid = GetPlayerVehicleID(playerid);
	    RepairVehicle(vehicleid);
	}
	return 1;
}
Reply


Messages In This Thread
Need help with car body - by XxerykxX - 20.02.2010, 18:57
Re: Need help with car body - by gotenks918 - 20.02.2010, 19:01
Re: Need help with car body - by XxerykxX - 20.02.2010, 19:04
Re: Need help with car body - by gotenks918 - 20.02.2010, 19:07
Re: Need help with car body - by gotenks918 - 20.02.2010, 19:10
Re: Need help with car body - by XxerykxX - 20.02.2010, 19:10
Re: Need help with car body - by gotenks918 - 20.02.2010, 19:11
Re: Need help with car body - by XxerykxX - 20.02.2010, 19:12
Re: Need help with car body - by gotenks918 - 20.02.2010, 19:14
Re: Need help with car body - by XxerykxX - 20.02.2010, 19:15

Forum Jump:


Users browsing this thread: 2 Guest(s)