AttachPlayerObjectToPlayer

AttachPlayerObjectToPlayer

Description:
Function AttachPlayerObjectToPlayer the same as AttachObjectToPlayer but for objects which were created for player.
This function was removed in SA-MP 0.3.


Parameters:
(objectplayer, objectid, attachplayer, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:rX, Float:rY, Float:rZ)
int objectplayer The id of the player which is linked with the object.
int objectid The objectid you want to attach to the player.
int attachplayer The id of the player you want to attach to the object.
float OffsetX The distance between the player and the object in the X direction.
float OffsetY The distance between the player and the object in the Y direction.
float OffsetZ The distance between the player and the object in the Z direction.
float rX The X rotation.
float rY The Y rotation.
float rZ The Z rotation.


Return Values:
This function does not return any specific values.


Examples:
AttachPlayerObjectToPlayer(objectplayer, objectid, attachplayer, 1.5, 0.5, 0, 0, 1.5, 2 );


Related Functions
The following functions may be useful, as they are related to this function in one way or another.