Player X,Y,Z Offsets/Rots
#1

How can I add this object id to Player's arms?
Код:
   CMD:/pickpizza(playerid,params[])
{
	pTeam[playerid] = team_pizza;
    AttachObjectToPlayer(2814, playerid, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:RotX, Float:RotY, Float:RotZ);
	SendClientMessage(playerid, COLOR_BLUE, "You Just picked up a pizza, head to your pizza bike");
	return 1;
}
Reply
#2

Use this.

https://sampforum.blast.hk/showthread.php?tid=182317
Reply
#3

I think is better to use SetPlayerAttachedObject. You can select the part of the body where to attach.

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


Forum Jump:


Users browsing this thread: 1 Guest(s)