Merge pull request #34 from katotekii/patch-1

Update Client.md
This commit is contained in:
Linden authored and GitHub committed 2022-07-29 18:37:51 +10:00
commit 911120f6eb
1 file changed
+2 -2
+2 -2
View File
@@ -16,7 +16,7 @@ Requires the vehicle to belong to the client. _Do not use NetworkRequestControlO
-- props: table -- props: table
lib.setVehicleProperties(vehicle, props) lib.setVehicleProperties(vehicle, props)
RegisterNetEvent('lualib:setVehicleProperties', function(netid, data) RegisterNetEvent('ox_lib:setVehicleProperties', function(netid, data)
lib.setVehicleProperties(NetToVeh(netid), data) lib.setVehicleProperties(NetToVeh(netid), data)
end) end)
``` ```
@@ -24,5 +24,5 @@ end)
#### Recommended usage #### Recommended usage
The server should tell the owner of the entity to set properties, using the following trigger. The server should tell the owner of the entity to set properties, using the following trigger.
```lua ```lua
TriggerClientEvent('lualib:setVehicleProperties', entityOwner, vehNetId, data) TriggerClientEvent('ox_lib:setVehicleProperties', entityOwner, vehNetId, data)
``` ```