Posts: 1,478
Threads: 17
Joined: Oct 2007
Reputation:
0
Why not just RepairVehicle?
Posts: 179
Threads: 31
Joined: Jun 2011
Reputation:
0
ohh srry. It's my first uno
Posts: 2,220
Threads: 154
Joined: Jul 2009
Reputation:
0
Are you sure it also works when your vehicle health is set to something lower than 1000? It might be a good idea to run a timer of, let's say, two seconds instead of using OnVehicleDamageStatusUpdate (I got bad experiences with that callback - not being called, etc.)
Anyway, this is nice for your first release. But you know, it could be done easier, like Karlip said. :P
Posts: 179
Threads: 31
Joined: Jun 2011
Reputation:
0
Yes it works Sir, You can check it out if you want.. But thanks for the advice guys! I learned from you
nice for 1st fs. Everything working fine.
Posts: 179
Threads: 31
Joined: Jun 2011
Reputation:
0
btw Thanks guys for the REP !
Posts: 817
Threads: 136
Joined: Mar 2013
Reputation:
0
edit: oh wow, just realized guy before me bumped a 3y/o topic .. great..
Posts: 310
Threads: 24
Joined: Jul 2014
Quote:
Originally Posted by freeze98
Use this instead...
Code:
public OnVehicleDamageStatusUpdate(vehicleid,playerid){
RepairVehicle(GetPlayerVehicleID(playerid));
return 1;}
|
+Repped you mate. May god bless you 10 times.
:/
Posts: 929
Threads: 135
Joined: Sep 2009
Reputation:
0
So if you put "1st FS"...you want to get just positive comments or what?