29.11.2010, 00:25
my code:
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)
Код:
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; }
/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)