Is there a quicker way of doing this ?
#1

Im making it so when you do /buyclothes a dialog pops up and what ever skins ID you put in there box your skins changes to that ID


Im doing it like this


Код:
if(dialogid == DIALOG_BUYCLOTHES)
	{
	    if(response)
	    {
	        new clothes = strval(inputtext);
		        if(clothes == 1)
				{
                    SetPlayerSkin(playerid, 1);
    				SaveAccountStats(playerid);
					SendClientMessage(playerid, COLOR_GOLD, "Skin changed");
					}
					else
					{
					if(clothes == 2)
					{
					    SetPlayerSkin(playerid, 2);
    					SaveAccountStats(playerid);
						SendClientMessage(playerid, COLOR_GOLD, "Skin changed");
					}
		}
 }
 }
 }
Is there a quicker way of doing this


Please Help Please
Reply


Messages In This Thread
Is there a quicker way of doing this ? - by Scripter12345 - 04.04.2012, 16:34
Re: Is there a quicker way of doing this ? - by Cjgogo - 04.04.2012, 16:41
Re: Is there a quicker way of doing this ? - by Scripter12345 - 04.04.2012, 16:46
Re: Is there a quicker way of doing this ? - by Scripter12345 - 04.04.2012, 17:07
Re: Is there a quicker way of doing this ? - by IstuntmanI - 04.04.2012, 17:10

Forum Jump:


Users browsing this thread: 1 Guest(s)