PDA

View Full Version : How to attach object to player


kbalor
18/07/2012, 04:31 PM
If player do /guitar. The object below will attach in players back.

http://i.imgur.com/h8iJs.jpg

[KHK]Khalid
18/07/2012, 04:38 PM
Use SetPlayerAttachedObject (http://wiki.sa-mp.com/wiki/SetPlayerAttachedObject). The id of the guitar object is 19319 I guess.

kbalor
18/07/2012, 04:43 PM
Use SetPlayerAttachedObject (http://wiki.sa-mp.com/wiki/SetPlayerAttachedObject). The id of the guitar object is 19319 I guess.

It's 19317 XD. But you mentioned 19319 that was also a guitar it's warlock01.

Can you give exact rotation, offset and scale? I just wanna try.

[KHK]Khalid
18/07/2012, 04:50 PM
Uhmm try to attach it to bone 1 (Spine) and just chill with the others :) or use samp map editor it might help ya.