SKP Fivem Lua Helper Extension (ESX)
Commands
RC - Creates RegisterCommand
FC - Creates function
FCL - Creates local function
CT - Creates Citizen.CreateThread
CT - Creates Citizen.CreateThread with wait
forp - Creates a for loop with pairs
Nui - Creates SendNuiMessage
Nui:Func - Creates a Nui function with a boolean value
Nui:cb - Creates a Nui Callback
Events
RCE - Creates RegisterNetEvent
RSE - Creates RegisterServerEvent
RSC - Creates ESX.RegisterServerCallback
TE - Creates TriggerEvent
TCE - Creates TriggerClientEvent
TSE - Creates TriggerServerEvent
TSC - Creates ESX.TriggerServerCallback
ox commands
ox:rcall - Creates lib.callback.register
ox:acall - Creates lib.callback.await
additem - Creates exports.ox_inventory:AddItem(inv, item, count, metadata, slot, cb)
removeitem - Creates exports.ox_inventory:RemoveItem(inv, item, count, metadata, slot, ignoreTotal)
search - Creates exports.ox_inventory:Search(source, item)
addboxzone - Creates exports.ox_target:addBoxZone
addglobalped - Creates exports.ox_target:addGlobalPed
addglobalvehicle - Creates exports.ox_target:addGlobalVehicle
addlocalentity - Creates exports.ox_target:addLocalEntity
Other
getsharedobject - Gets getSharedObject
xplayer - Gets local xPlayer
xtarget - Gets local xTarget
gped - Gets GetPlayerPed(-1)
addmoney - Gets xPlayer.addMoney(0)
dist - Gets #distance
playerdeath - Gets event onPlayerDeath
playerdropped - Gets event playerDopped
playerloaded - Gets event playerLoaded
setaccountmoney - Gets event setAccountMoney
setjob - Gets event setJob
sethiddenjob - Gets event setHiddenJob
enteredveh - Gets event enteredVehicle
exitedveh - Gets event exitedVehicle
progressbar - Gets export progressbar
clientnotify - Gets client export notify
servernotify - Gets server export notify
manifest - Generate fxmanifest auto-complete
(JAVASCRIPT)
Commands
cl - Gets Console Log
fetch - Gets Fetch
addevent - Gets Add Event Listener
getelement - Gets Get Element By Id
getelementfetch - Gets Get Element By Id with Fetch
for - Gets For Loop
trycatch - Gets Try-Catch Block
async - Gets Async Function
Support
If you have any questions or need assistance, join my Discord.
Thank you for using SKP FiveM Helper (ESX)!
| |