[HELP] Skin Change
#1

Hello,

I've got a problem. I've made a command where I can change the clothes of a character with.

Код:
	if(strcmp(cmd, "/clothes", true) == 0)
	{
	  if(IsPlayerConnected(playerid))
	  {
	    if(PlayerInfo[playerid][pMember] >= 1)
	    {
	      if(IsAtClothShop(playerid))
				{
         // What must I set here?
				}
				else
				{
					SendClientMessage(playerid, COLOR_GRAD2, "  You are not in a Clothing Shop !");
					return 1;
				}
	    }
	    else
	    {
	      if(PlayerInfo[playerid][pLeader] != 0)
	      {
	        SendClientMessage(playerid, COLOR_GRAD2, "  You can't change your clothes while you are a leader !");
	        return 1;
	      }
	      if(IsAtClothShop(playerid))
	      {
          // What must I set here?
	      }
	    }
	  }
	  return 1;
	}
I want that if people /clothes 132 for example they get the skin 132.
Does anyone has a idea how to fix that?

If so.. Please give me a hint or advice how to script it.
Reply


Messages In This Thread
[HELP] Skin Change - by joeri55 - 15.12.2009, 21:59
Re: [HELP] Skin Change - by Cezar - 15.12.2009, 22:17
Re: [HELP] Skin Change - by BP13 - 15.12.2009, 22:23
Re: [HELP] Skin Change - by Cezar - 15.12.2009, 22:32

Forum Jump:


Users browsing this thread: 1 Guest(s)