mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-03 14:38:49 +00:00
Update Globals.md
This commit is contained in:
1 parent
efbe5fe087
commit
ce71231f6a
1 file changed
+2
@@ -25,10 +25,12 @@ local optionNames = { 'ox:option1', 'ox:option2' }
|
|||||||
|
|
||||||
## Create Globals
|
## Create Globals
|
||||||
|
|
||||||
|
```lua
|
||||||
exports.ox_target:addGlobalObject(options)
|
exports.ox_target:addGlobalObject(options)
|
||||||
exports.ox_target:addGlobalPed(options)
|
exports.ox_target:addGlobalPed(options)
|
||||||
exports.ox_target:addGlobalPlayer(options)
|
exports.ox_target:addGlobalPlayer(options)
|
||||||
exports.ox_target:addGlobalVehicle(options)
|
exports.ox_target:addGlobalVehicle(options)
|
||||||
|
```
|
||||||
|
|
||||||
## Remove Globals
|
## Remove Globals
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user