Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Arctos2win authored Mar 7, 2023
1 parent a552cc1 commit 81f19df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
FiveM repair vehicle id.
FiveM Repair Vehicle Id

With this script you can repair the vehicle
from a player without actually going to the player.

There is not much protection on it since they can just use
the fivem natives in a lua executor if they would want so.

This script requires the ESX framework feel free to convert to QBCore
if you want.
You can run this script standalone or with esx you can just change Config.Standalone to true or false
Feel free to update it to any framework you want and fork it xD
1 change: 0 additions & 1 deletion arc-repvehid/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ RegisterNetEvent("repveh:repair")
AddEventHandler("repveh:repair", function(netid)
local vehicle = NetworkGetEntityFromNetworkId(netid)
if vehicle ~= 0 then
SetNetworkIdExistsOnAllMachines(netid, true)
SetVehicleFixed(vehicle)
SetVehicleDeformationFixed(vehicle)
SetVehicleUndriveable(vehicle, false)
Expand Down

0 comments on commit 81f19df

Please sign in to comment.