SA-MP Forums Archive
What pos is the back? i want to put a backpack - 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)
+--- Thread: What pos is the back? i want to put a backpack (/showthread.php?tid=478076)



What pos is the back? i want to put a backpack - yuvraj201 - 27.11.2013

I would like to put a backpack or something on my back but i dont know what the position is and how to do it can you help me?


Re: What pos is the back? i want to put a backpack - dominik523 - 27.11.2013

First of all, you can find object id and set position using this filterscript.
After that, you need to use this function to attach it to the player.


Re: What pos is the back? i want to put a backpack - ikbenremco - 27.11.2013

Use this: https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject

And use the spine bone


Re: What pos is the back? i want to put a backpack - feartonyb - 27.11.2013

Backpack attach:

Код:
SetPlayerAttachedObject(playerid, 1, 1210, 5, 0.28, 0.1, 0.0, 0.0, 270.0, 0.0, 1.0, 1.0, 1.0);



Re: What pos is the back? i want to put a backpack - Wizza - 27.11.2013

I need this aswell, where do i write the object i want on my back?
pawn Код:
SetPlayerAttachedObject(playerid, 1, 1210, 5, 0.28, 0.1, 0.0, 0.0, 270.0, 0.0, 1.0, 1.0, 1.0);
where is the object here?


Re: What pos is the back? i want to put a backpack - feartonyb - 27.11.2013

You don't need to create an object. Object creates automaticaly O.o


Re: What pos is the back? i want to put a backpack - Wizza - 27.11.2013

Thats not a backpack thats a briefcase and its put in my hand i need a position to my back not to my hand -.-