SA-MP Forums Archive
attach - 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: attach (/showthread.php?tid=654175)



attach - CaptainBoi - 22.05.2018

hey i want help to attach player object using texture studio
but when i checked the cmds its only showing for vehicle attachtments

somebod help me to using texture studio


Re: attach - XXpro - 22.05.2018

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

read it properly

Код:
public OnPlayerSpawn(playerid)
{
    SetPlayerAttachedObject(playerid, 3, 1609, 2); //Attach a turtle to the playerid's head, in slot 3
 
    // example of using colors on an object being attached to the player:
    SetPlayerAttachedObject(playerid, 3, 19487, 2, 0.101, -0.0, 0.0, 5.50, 84.60, 83.7, 1.0, 1.0, 1.0, 0xFF00FF00);
    // Attach a white hat to the head of the player and paint it green
    return 1;
}
here is the example


Re: attach - CaptainBoi - 22.05.2018

i told you already
i need help with texture studio
because i dont know the positions of where to attach so better help me with texture studio