attach
#2

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
Reply


Messages In This Thread
attach - by CaptainBoi - 22.05.2018, 16:16
Re: attach - by XXpro - 22.05.2018, 17:11
Re: attach - by CaptainBoi - 22.05.2018, 17:29

Forum Jump:


Users browsing this thread: 1 Guest(s)