Client
Animation
Animates current player for the specific duration
exports['g_core']:animation(dic, anim, time, ped)dic?
gta_dictionary_nameanim?
gta_animation_nametime?
numbernumbertime to animate-1for unlimited
ped? (optional)
entityIf left blank,
cache.pedwill be used instead
Animation Scene
Animates a preset scene using up to 2 peds
exports['g_core']:animationscene(scene, ped, ped2)scene?
givemoney- passes money from ped to ped2
ped?
entityped2?
(optional) entityIf left blank,
cache.pedwill be used instead
Camera
Create a first person camera angle for the specified player
toggle?
trueenables the camerafalsereturns player to normal camera
player?
number(id)
Camera Coord
Create a first person camera angle at the specified coordinates
toggle?
trueenables the camerafalsereturns to normal camera
coord?
vector3(0,0,0)
Camera
Create a first person camera angle for the specified player
calltype?
'drug'
Countdown
Starts a countdown for the specified amount of time
toggle?
trueorfalse
time?
interger(seconds)event?
'client:event:name'
falseto disable if usingserver
server?
'server:event:name'
leave blank to disable
Marker
Creates a bouncing arrow marker above the specified coordinate
ONLY CREATE ONE MARKER AT A TIME
toggle?
booleantruestarts markerfalsedeletes active marker
coords?
vector3(0,0,0)
Misson Text
Displays text on the screen using Goats UI
YOU MUST HIDE IT ONCE IT IS DISPLAYED
action?
show- displays uihide- hides ui
title?
stringtext?
stringposition?
stringtopRighttopLeftbottomLeftbottomRightbottomCentertopCenter
Notify
Sends a notification to the player using the notification system defined inside of config
title?
stringstyle?
stringFiveM
errorinformsucesswarning
RedM - VORP
objectiveupdatetipfail
Radius Coord
Finds a safe location to spawn an entity with-in the specified radius
coord?
vector3(0,0,0)zoneradius?
number w/ 1 decimal(ex: 20.0)
Search Inventory
Returns the amount of the specified item
item?
string
TextUI
Displays a prompt message using the system defined inside of config
title?
stringicon?
string(font awesome)
Hide TextUI
Hides any prompt message displaying using the system defined inside of config
Last updated