PDA

View Full Version : SetPlayerAttachedObject include


Lidor124
18/03/2014, 10:50 PM
Hi
Is there any include or something for SetPlayerAttachedObject for objects but - this object will be set with accurate coordinates and bone on player's body for all skins 0-299?
Example: backpack will set automaticcaly to whatever my skin on my back?

+REP :)

Snipa
18/03/2014, 10:54 PM
Doubt it, you'd probably have to get the offsets by yourself.

Check out http://wiki.sa-mp.com/wiki/EditObject.

I'd recommend storing the offsets for the object in an array.

Abagail
18/03/2014, 10:56 PM
The bad thing about SA:MP is they have not gone through all the skins, - for common player object offsets. You'll have to do it.

Lidor124
19/03/2014, 06:45 AM
Doubt it, you'd probably have to get the offsets by yourself.

Check out http://wiki.sa-mp.com/wiki/EditObject.

I'd recommend storing the offsets for the object in an array.

I already have the 0.3e editor with EditObject function.

Btw i saw in other server that they made /tools command and you choose a object to attach on your body in a dialog, then you choose bone and then its set exactly on your body whatever your skin. (From there i took the idea)

So how do i should do it? Adjust each skin for each object? I have about 50+

Is there any editor to save coordinates + objectid and i need only cooy-paste?