[FilterScript] Shockey's Auto Repair | by Shockerz
#1

This is a auto repair FS I have made!! It is very simple and it uses a timer for this and when the car health gets to 999 it will repair!!!

Hope you like it and enjoy

link:

http://pastebin.com/zvDyFqL9
Reply
#2

Nice ONE!
Reply
#3

There are so much of this scripts.
Reply
#4

davo another fail!! use i think its not needed of that much see this

SA-MP code
Код:
#include <a_samp>

public OnPlayerUpdate(playerid){
if(IsPlayerInAnyVehicle(playerid)) RepairVehicle(GetPlayerVehicleID(playerid));
return 1;
}
thats all this works fine in my server By the way i dint made this script!!!
Eros_174RUS(russian scripter my best frnd made this one)
this works great!!
Reply
#5

Quote:
Originally Posted by royal_king[xXx]
Посмотреть сообщение
davo another fail!! use i think its not needed of that much see this

SA-MP code
Код:
#include <a_samp>

public OnPlayerUpdate(playerid){
if(IsPlayerInAnyVehicle(playerid)) RepairVehicle(GetPlayerVehicleID(playerid));
return 1;
}
thats all this works fine in my server By the way i dint made this script!!!
Eros_174RUS(russian scripter my best frnd made this one)
this works great!!
Yes, indeed - to code this script it must took him a while
Reply
#6

It's not a fail it's just how I script now leave me alone
Reply
#7

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


Would be better.
Reply
#8

@royal_king[xXx] Your friend's is just as bad as the OP's. You're repairing the players vehicle on every update, which is just not needed (i use every 26 updates). Also you/your friend need to read ******' code optimizations thread (read the section regarding vehicle checks).

@Retardedwolf No, that would be worse. OnVehicleDamageStatusUpdate is only called when a vehicle is VISUALLY damaged, and not all vehicles can get visually damaged (ie the NRG500).
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)