amx icon indicating copy to clipboard operation
amx copied to clipboard

AttachCameraToPlayerObject, AttachObjectToObject and AttachPlayerObjectToVehicle

Open Disinterpreter opened this issue 4 years ago • 0 comments

Function name

  • AttachCameraToPlayerObject(playerid, playerobjectid)
  • AttachObjectToObject(objectid, attachtoid, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:RotX, Float:RotY, Float:RotZ, SyncRotation = 1)
  • AttachPlayerObjectToVehicle(playerid, objectid, vehicleid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:RotZ)
  • AttachObjectToVehicle

Describe the function

  • AttachCameraToPlayerObject - Attaches a player's camera to a player-object. The player is able to move their camera while it is attached to an object. Can be used with MovePlayerObject and AttachPlayerObjectToVehicle.
  • AttachObjectToObject - You can use this function to attach objects to other objects. The objects will folow the main object.
  • AttachPlayerObjectToVehicle - Attach a player object to a vehicle.
  • AttachObjectToVehicle

Equivalent in MTA https://wiki.multitheftauto.com/wiki/AttachElements

Additional information https://team.sa-mp.com/wiki/AttachCameraToPlayerObject.html https://team.sa-mp.com/wiki/AttachObjectToObject.html https://team.sa-mp.com/wiki/AttachPlayerObjectToVehicle.html https://team.sa-mp.com/wiki/AttachObjectToVehicle.html

Disinterpreter avatar Jun 16 '20 07:06 Disinterpreter