Solved
#1

How i can give a skin a name? And i want not all skins avaible but 5 skins or something.

Maybe u can use this:
Код:
IsValidSkin(skinid)
{
  #define	MAX_BAD_SKINS 22
  new badSkins[MAX_BAD_SKINS] =
  { };
  if (skinid < 0 || skinid > 299) return false;
  for (new i = 0; i < MAX_BAD_SKINS; i++) { if (skinid == badSkins[i]) return false; }
  #undef MAX_BAD_SKINS
  return 1;
}
Or this:
Код:
public OnGameModeInit()
{

	SetGameModeText("Netherlands AirSim");
	UsePlayerPedAnims();

	for(new i = 0; i < 299; i++)
  {
    if(IsValidSkin(i))
    {
      AddPlayerClass(i,0.0,0.0,0.0,0.0,24,450,27,350,-1,-1);
    }
	}

	return 1;
}
Yeah, I know. Im asking allot but i want have my flysim at the end of the week online. Its now 17% Good.
Reply


Messages In This Thread
Solved - by icorne - 13.01.2010, 21:52
Re: Skins - by icorne - 13.01.2010, 21:59
Re: Skins - by Grim_ - 13.01.2010, 22:08
Re: Skins - by mamorunl - 14.01.2010, 07:24
Re: Skins - by icorne - 14.01.2010, 09:41
Re: Skins - by mamorunl - 14.01.2010, 10:44

Forum Jump:


Users browsing this thread: 1 Guest(s)