SA-MP Forums Archive
How To Fix Car Engine And Parts??? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How To Fix Car Engine And Parts??? (/showthread.php?tid=67935)



How To Fix Car Engine And Parts??? - Alec24 - 05.03.2009

How do i fix a cars engine and all the damaged body parts like the bonet, bumpers and doors.

So far i have :
Код:
if(strcmp(cmdtext, "/fix", true) == 0)
  {
		SetVehicleHealth(playerid, 1000);
 		SendClientMessage(playerid,COLOR_RED," Car Fixed!");
		{
 		return 1;
	}
...But it will only fix the engine


Re: How To Fix Car Engine And Parts??? - MenaceX^ - 05.03.2009

You can't do it.
You can only get the vehicle pos, set the same vehicle to respawn and bring the same vehicle to you, then you seat yourself in.


Re: How To Fix Car Engine And Parts??? - Alec24 - 05.03.2009

Can you suggest some code to use?


Re: How To Fix Car Engine And Parts??? - kaisersouse - 05.03.2009

or teleport it to a pay and spray and then bring it back


Re: How To Fix Car Engine And Parts??? - ICECOLDKILLAK8 - 05.03.2009

Or Destroy the vehicle and respawn it


Re: How To Fix Car Engine And Parts??? - mirkoiz - 05.03.2009

Or just use a Cheat ^^


Re: How To Fix Car Engine And Parts??? - kaisersouse - 05.03.2009

Quote:
Originally Posted by Plato
Or just use a Cheat ^^
Anyone following this advice will be banned.

Anyone giving advice like this will be banned.




Re: How To Fix Car Engine And Parts??? - mirkoiz - 05.03.2009

this was a little joke ^^


Re: How To Fix Car Engine And Parts??? - Nubotron - 05.03.2009

Yea it's sad that we often need to use tricks to script for SA-MP