What pos is the back? i want to put a backpack
#1

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?
Reply
#2

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.
Reply
#3

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

And use the spine bone
Reply
#4

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);
Reply
#5

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?
Reply
#6

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)