06.08.2018, 13:25
SetPlayerAttachedObject dont return the id of created object (Return Values: 1 on success, 0 on failure.) , so you should use
instead of
Note: The created 3DText will not attach to player and will be placed at player position.
PHP код:
GetPlayerPos(playerid, lnx_pLoc[0], lnx_pLoc[1], lnx_pLoc[2]);
PHP код:
GetObjectPos(PetObject[playerid], lnx_pLoc[0], lnx_pLoc[1], lnx_pLoc[2]);