SA-MP Forums Archive
[FilterScript] [HELP]Attach Object To Player - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [HELP]Attach Object To Player (/showthread.php?tid=433368)



[HELP]Attach Object To Player - Cebo - 27.04.2013

Hello, i thinked create a mask system.Object all coordinates ready but i cant convert FS/command it.I need help.



Re: [HELP]Attach Object To Player - Heron - 28.04.2013

Post the code


Re: [HELP]Attach Object To Player - firemanjv - 28.04.2013

Please place here you code


Re: [HELP]Attach Object To Player - Cebo - 28.04.2013

Pinkbag
Code:
skin=125
[0]valid=1
[0]model=3026
[0]bone=17
[0]x=-0.405000
[0]y=-0.051999
[0]z=0.000000
[0]rx=0.000000
[0]ry=0.000000
[0]rz=0.000000
[0]sx=1.000000
[0]sy=1.000000
[0]sz=1.000000
[0]mc1=0
[0]mc2=0
Money(back)Bag
Code:
auth=Emre_Simsek
skin=125
[1]valid=1
[1]model=1550
[1]bone=1
[1]x=0.038000
[1]y=-0.286999
[1]z=0.000000
[1]rx=-179.699966
[1]ry=121.699981
[1]rz=-10.000009
[1]sx=1.000000
[1]sy=1.000000
[1]sz=1.000000
[1]mc1=0
[1]mc2=0
facemask(black9
Code:
auth=Emre_Simsek
skin=125
[0]valid=1
[0]model=19163
[0]bone=2
[0]x=0.064000
[0]y=0.031000
[0]z=-0.002999
[0]rx=-172.299972
[0]ry=95.700103
[0]rz=-0.599999
[0]sx=1.135001
[0]sy=1.078999
[0]sz=1.286998
[0]mc1=0
[0]mc2=0
nail's bat
Code:
auth=Emre_Simsek
skin=125
[0]valid=1
[0]model=2045
[0]bone=6
[0]x=0.031999
[0]y=0.000000
[0]z=0.266999
[0]rx=92.300018
[0]ry=-4.899990
[0]rz=1.699997
[0]sx=1.000000
[0]sy=1.000000
[0]sz=1.000000
[0]mc1=0
[0]mc2=0
red drum
Code:
auth=Emre_Simsek
skin=125
[0]valid=1
[0]model=1650
[0]bone=6
[0]x=0.128000
[0]y=0.029999
[0]z=0.019000
[0]rx=0.000000
[0]ry=-101.400001
[0]rz=6.399987
[0]sx=1.000000
[0]sy=1.000000
[0]sz=1.000000
[0]mc1=0
[0]mc2=0



Re: [HELP]Attach Object To Player - -CaRRoT - 28.04.2013

AttachObjectToPlayer(objectid, playerid, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:rX, Float:rY, Float:rZ)

Replace the params with the numbers.

I don't really understand you tho , You want to add it in a command ?


Re: [HELP]Attach Object To Player - Alex Magaсa - 28.04.2013

Tbh, wrong section (post it in script files!) u said u need help ;/ !!
OFFT: ALso i can't see pictures i think i am banned from IMGUR (For Non Reasons) :/


Re: [HELP]Attach Object To Player - Heron - 28.04.2013

SetPlayerAttachedObject(playerid, index, modelid, bone, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ, materialcolor1, materialcolor2);