Fully Fixveh command?
#1

I was looking and searching for a command that will fully fix your car and this is what i came up with:

Code:
CMD:fixveh(playerid, params[])
{
	if(!IsPlayerInAnyVehicle(playerid)) SendClientMessage(playerid,COLOR_GREY," You can not use this command outside of a vehicle!");
	{
	new car;
	car = GetPlayerVehicleID(playerid);
	SetVehicleHealth(car, 1000);
	SendClientMessage(playerid, COLOR_YELLOW, " You have fixed your vehicle.");
	}
	return 1;
}
I tested it and it only does the health of the car. Can someone show me a tut or explain what to put into this to make the car get fully repaired?
Reply
#2

https://sampwiki.blast.hk/wiki/RepairVehicle
Reply
#3

Quote:
Originally Posted by newbienoob
View Post
Ahh, I feel dumb haha thanks man.
Reply
#4

Hahahaa, you fixed it?
Reply
#5

Yeah it works now thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)