ped.holdObject

Revision as of 23:53, 17 February 2021 by Vortrex (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Method Client Only GTAIII Logo.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Client 1.0.0
void ped.holdObject(Integer objectId)
The ped.holdObject method is used to make the ped hold an object.

Parameters

1) Integer objectId The model Id of the object to hold.

Return

void This method doesn't return a value.

Types

Shared Ped
Shared Player

Notes

There aren't any notes for this method.

Examples

There aren't any examples for this method.

Compatibility

There isn't any compatibility information for this method.

Related

Client Related

getObjectCount
        getObjects
gta.convertAllObjectsToDummyObjects
        gta.createObject
gta.removeWorldObject
gta.setVisibilityOfClosestObjectOfType
registerNetObject

        object.affectedByGravity
  object.alpha
      object.boundingCentre
        object.boundingMax
        object.boundingMin
        object.boundingRadius
        object.centerOfMass
        object.children
        object.clearExistsFor
        object.collisionBoxCount
        object.collisionBoxes
        object.collisionLineCount
        object.collisionLines
      object.collisionPower
        object.collisionsEnabled
        object.collisionSphereCount
        object.collisionSpheres
        object.collisionVertexCount
      object.collisionVertices
        object.dimension
      object.distanceFromCentreOfMassToBaseOfModel
        object.existsFor
        object.getData
        object.getRotation
        object.heading
object.health
        object.id
        object.interior
object.inWater
        object.isCreatedFor
object.island
        object.isLocal
        object.isOnScreen
        object.isOwner
        object.isSyncer
        object.isType
      object.markAsNoLongerNeeded
        object.mass
        object.matrix
object.model
        object.modelIndex
        object.name
        object.netFlags
object.onScreen
        object.parent
        object.position
        object.removeAllData
        object.removeData
        object.resource
        object.rotation
        object.setData
        object.setExistsFor
        object.setProofs
        object.setRotation
        object.setSyncer
      object.status
        object.streamInDistance
        object.streamOutDistance
        object.syncer
        object.syncerId
        object.turnVelocity
        object.type
        object.velocity
object.visible