[help]AttachedObjects on 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [help]AttachedObjects on Player. (
/showthread.php?tid=194305)
[help]AttachedObjects on Player. -
Krypton - 29.11.2010
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)
Re: [help]AttachedObjects on Player. -
Fj0rtizFredde - 29.11.2010
Play around with the offset,rx,ry,rz and the scale coords
Re: [help]AttachedObjects on Player. -
Krypton - 29.11.2010
with this code : SetPlayerAttachedObject(playerid,1, 18978, 2,0,0,0,-1,0,0,0,0,0); the objects do not appeared
Re: [help]AttachedObjects on Player. -
[MWR]Blood - 29.11.2010
https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject