SA-MP Forums Archive
How can i let a player select all skins at spawn - 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: How can i let a player select all skins at spawn (/showthread.php?tid=200497)



How can i let a player select all skins at spawn - Noss* - 18.12.2010

Found out after posted :P

Код:
public OnGameModeInit()
{
// People can spawn with either the CJ skin or The Truth skin.
AddPlayerClass(0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);
AddPlayerClass(1, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);
return 1;
}



Re: How can i let a player select all skins at spawn - Noss* - 18.12.2010

Sorry guys don't worry i just found it :P

public OnGameModeInit()
{
// People can spawn with either the CJ skin or The Truth skin.
AddPlayerClass(0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);
AddPlayerClass(1, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);
return 1;
}


Re: How can i let a player select all skins at spawn - akis_tze - 18.12.2010

Add classes at OnGameModeInit

public OnGameModeInit()
{
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}

https://sampwiki.blast.hk/wiki/AddPlayerClass Read this