SA-MP Forums Archive
SetPlayerAttachedObject - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: SetPlayerAttachedObject (/showthread.php?tid=250866)



SetPlayerAttachedObject - tanush - 24.04.2011

well i need help for putting an m4 at the back of the player if they do /weargun, what is the bone id?
script
pawn Код:
CMD:weargun(playerid, params[])
{
    SetPlayerAttachedObject(playerid, 2, 356,1);
    return 1;
}



Re: SetPlayerAttachedObject - Jefff - 24.04.2011

https://sampwiki.blast.hk/wiki/Bone_IDs


Re: SetPlayerAttachedObject - tanush - 24.04.2011

i cant find back


Re: SetPlayerAttachedObject - Jefff - 24.04.2011

Spine


Re: SetPlayerAttachedObject - tanush - 24.04.2011

spine makes it hold at the left of the hand


Re: SetPlayerAttachedObject - CrazyBlob - 24.04.2011

put spine and make the cords of the object to where you want


Re: SetPlayerAttachedObject - tanush - 24.04.2011

how i find out the cords for the SetPlayerAttachedObject ?