SA-MP Forums Archive
Skip Skin Selection - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Skip Skin Selection (/showthread.php?tid=106690)



Skip Skin Selection - pziemczyk - 04.11.2009

Hello, how to skip Skin Selection?
I enter the password, accept and i want spawn without skin selection.


Re: Skip Skin Selection - radhakr - 04.11.2009

SpawnPlayer in OnPlayerRequestClass.


Re: Skip Skin Selection - Eazy_Efolife - 04.11.2009

Quote:
Originally Posted by pziemczyk
Hello, how to skip Skin Selection?
I enter the password, accept and i want spawn without skin selection.
Код:
SpawnPlayer(playerid);



Re: Skip Skin Selection - pziemczyk - 04.11.2009

Doesnt work, i know that i need to use TogglePlayerSpectating but i dont know where and how.


Re: Skip Skin Selection - radhakr - 04.11.2009

What do you mean it doesn't work and why would you have to use that?

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
  SpawnPlayer(playerid);
}



Re: Skip Skin Selection - pziemczyk - 04.11.2009

Quote:
Originally Posted by radhakr
What do you mean it doesn't work and why would you have to use that?

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
  SpawnPlayer(playerid);
}
Dont work, still shows up skin selection but i cant spawn on click the button


Re: Skip Skin Selection - pziemczyk - 05.11.2009

@UP


Re: Skip Skin Selection - GTA_Rules - 05.11.2009

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
  SetSpawnInfo(playerid, NO_TEAM, 256, 0.0, 0.0, 0.0, 0.0, 24, 1, 26, 1, 32, 1);
  SpawnPlayer(playerid);
  return 0;
}