25.08.2012, 10:17
just attach an object by usingSetPlayerAttachedObject function ... then use this script to let the player edit his toy if he has an object attached ![Wink](images/smilies/wink.png)
![Wink](images/smilies/wink.png)
Код:
COMMAND:toyeditor(playerid, params[]) { new i=0; if(IsPlayerAttachedObjectSlotUsed(playerid, i++)) { EditAttachedObject(playerid, i); SendClientMessage(playerid, -1, "You can edit your toy's position now!"); } else { SendClientMessage(playerid, -1, "You dont have any toy to edit"); } return 1; }