Create yourself a quick editor, like this.
pawn Код:
CMD:spawnobject(playerid,params[])
{
new obj = SetPlayerAttachedObject(playerid,0,model,puthandbone);
EditPlayerObject(playerid,obj);
}
public OnPlayerEditAttachedObject(playerid, response, index, modelid, boneid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ)
{
if(response)
{
printf("%f,%f,%f,%f,%f,%f,%f,%f,%f",fOffsetX,fOffsetY,fOffsetZ,fRotX,fRotY,fRotZ,fScaleX,fScaleY,fScaleZ);
}
else
{
SendClientMessage(playerid,-1, "Attached object edition not saved.");
}
return 1;
}
Search the wiki for the bone ids and when you've done editing it click on that SAVE icon ingame you'll see the coordinates printed in your console, copy them and go to your SetPlayerAttachedObject, paste the coordinates there.