Aller au contenu principal

86 documents tagués avec "object"

Voir tous les tags

BeginObjectEditing

Allows a player to edit an object (position and rotation) using their mouse on a GUI (Graphical User Interface).

Bone IDs

This page contains all of the bone IDs used by SetPlayerAttachedObject.

CancelEdit

Cancel object edition mode for a player.

CreateObject

Creates an object at specified coordinates in the game world.

DestroyObject

Destroys (removes) an object that was created using CreateObject.

EditObject

Allows a player to edit an object (position and rotation) using their mouse on a GUI (Graphical User Interface).

GetObjectRot

Use this function to get the objects current rotation.

MoveObject

Move an object to a new position with a set speed.

OnObjectMoved

Cette callback est appelée quand un objet s'est arrêté de bouger après un MoveObject

OnPlayerEditObject

Cette callback est appelée quand un joueur a fini d'éditer un objet (EditObject/EditPlayerObject).

OnPlayerObjectMoved

Cette callback est appelée quand l'objet d'un joueur a été déplacé après un MovePlayerObject (quand l'objet s'arrête de bouger).

OnPlayerSelectObject

Cette callback est appelée quand un joueur sélectionne un objet après que SelectObject a été utilisé.

SA-MP Objects

This page contains a list of the custom objects added by SA-MP.

Select Object Types

Here you can find all of the select object types used by OnPlayerSelectObject.

SelectObject

Display the cursor and allow the player to select an object.

SetObjectMaterial

Replace the texture of an object with the texture from another model in the game.

SetObjectRot

Set the rotation of an object on the three axes (X, Y and Z).

StopObject

Stop a moving object after MoveObject has been used.