SA-MP Forums Archive
Vehicle repair! - 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: Vehicle repair! (/showthread.php?tid=248392)



Vehicle repair! - IvancheBG - 13.04.2011

HI.I want when i press 2 my vehicle to repair.How to do that?


Re: Vehicle repair! - [OC]Zero - 13.04.2011

Here
pawn Код:
if(newkeys & KEY_SUBMISSION)
    {
    RepairVehicle(GetPlayerVehicleID(playerid));
    SendClientMessage(playerid, 0xFFFFFFFF, "Your vehicle has been successfully repaired!");
    }
Hope you know where to add this.


Re: Vehicle repair! - IvancheBG - 13.04.2011

no sorry but i am an begginer


Re: Vehicle repair! - Riddick94 - 13.04.2011

https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange


Re: Vehicle repair! - STMatt - 13.04.2011

Use my filterscript "Car Repair" your car repairs with number 2.

http://solidfiles.com/d/e51d/


Re: Vehicle repair! - IvancheBG - 13.04.2011

thanks