ped.holdObject: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
(Created page with "{{ScriptItem |endpoint = client |type = method |class = Ped |name = pointGunAt |parameters = Integer objectId |parameter1 = Integer objectId The model Id of the object to hol...")
 
No edit summary
 
Line 3: Line 3:
|type = method
|type = method
|class = Ped
|class = Ped
|name = pointGunAt
|name = holdObject
|parameters = Integer objectId  
|parameters = Integer objectId  
|parameter1 = Integer objectId The model Id of the object to hold
|parameter1 = Integer objectId The model Id of the object to hold

Latest revision as of 23:53, 17 February 2021

holdObject

Signature: void holdObject(Integer objectId)

Usage: make the ped hold an object

Parameters

Integer objectId The model Id of the object to hold

Return

void

On failure: void