From 50ec7b2762fe2c6cab6240f8438804622717a5ea Mon Sep 17 00:00:00 2001 From: Katoteki <58405477+katotekii@users.noreply.github.com> Date: Thu, 28 Jul 2022 23:43:36 +0200 Subject: [PATCH] Update Client.md --- docs/ox_lib/VehicleProperties/Client.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ox_lib/VehicleProperties/Client.md b/docs/ox_lib/VehicleProperties/Client.md index a91825d2..69c748ed 100644 --- a/docs/ox_lib/VehicleProperties/Client.md +++ b/docs/ox_lib/VehicleProperties/Client.md @@ -16,7 +16,7 @@ Requires the vehicle to belong to the client. _Do not use NetworkRequestControlO -- props: table lib.setVehicleProperties(vehicle, props) -RegisterNetEvent('lualib:setVehicleProperties', function(netid, data) +RegisterNetEvent('ox_lib:setVehicleProperties', function(netid, data) lib.setVehicleProperties(NetToVeh(netid), data) end) ``` @@ -24,5 +24,5 @@ end) #### Recommended usage The server should tell the owner of the entity to set properties, using the following trigger. ```lua -TriggerClientEvent('lualib:setVehicleProperties', entityOwner, vehNetId, data) +TriggerClientEvent('ox_lib:setVehicleProperties', entityOwner, vehNetId, data) ```