[help]AttachedObjects on Player.
#1

my code:
Код:
if(!strcmp(cmdtext, "/cap", true))
    {
   
    SetPlayerAttachedObject(playerid,1, 18978, 2);
    new string[128];
    format(string, sizeof(string), "colocou o capacete");
    SendClientMessage(playerid, 0xFFFFFFFF, string);
    return 1;
    }
My results:
/imageshack/img263/8292/samp337p.png

how i can change the rotation?
with : SetPlayerAttachedObject(playerid, index, modelid, bone, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ)
Reply
#2

Play around with the offset,rx,ry,rz and the scale coords
Reply
#3

with this code : SetPlayerAttachedObject(playerid,1, 18978, 2,0,0,0,-1,0,0,0,0,0); the objects do not appeared
Reply
#4

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


Forum Jump:


Users browsing this thread: 1 Guest(s)