Skip to content

Control

Functions

Return Type Name Description
nil request.control(number\|string entity, bool take_owner = false) Request control of an entity
nil request.model(number\|string hash) Request a model
nil request.weapon(number\|string hash) Request a weapon
nil request.dict(string name) Request a dictionary
nil request.anim(string name) Request an animation
nil request.particle(string asset) Request a particle

Examples

request.model('prop_ld_bomb_01_open')
request.weapon('WEAPON_RPG')
request.dict('commonmenu')
request.anim('skydive@freefall')
request.particle('scr_exile1')