Help me with making 0.3e Toys editor
#3

just attach an object by usingSetPlayerAttachedObject function ... then use this script to let the player edit his toy if he has an object attached
Код:
	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;
	}
Reply


Messages In This Thread
Help me with making 0.3e Toys editor - by Jassey - 25.08.2012, 09:30
Re: Help me with making 0.3e Toys editor - by Riddick94 - 25.08.2012, 09:44
Re: Help me with making 0.3e Toys editor - by R4VER - 25.08.2012, 10:17
Re: Help me with making 0.3e Toys editor - by Riddick94 - 25.08.2012, 10:25
Re: Help me with making 0.3e Toys editor - by R4VER - 25.08.2012, 10:27

Forum Jump:


Users browsing this thread: 2 Guest(s)