does any one have all the ids with AddPlayerClass - 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: does any one have all the ids with AddPlayerClass (
/showthread.php?tid=276665)
does any one have all the ids with AddPlayerClass -
cssbart - 14.08.2011
does any one have all the ids with AddPlayerClass eg
Код:
AddPlayerClass(1, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(2, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(3, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
and so on up to 299 or what ever it is
Re: does any one have all the ids with AddPlayerClass -
Hiddos - 14.08.2011
There ya go:
https://sampwiki.blast.hk/wiki/Skins:All
Re: does any one have all the ids with AddPlayerClass -
woot - 14.08.2011
pawn Код:
// OnGameModeInit
for(new iC = 1; iC < 300; iC++)
{
if(IsValidSkin(iC)) AddPlayerClass(iC, 0.0, 0.0, 0.0, 0.0, 0,0,0,0,0,0);
}
// IsValidSkin() function - might be wrong, got it from somewhere random.
stock IsValidSkin(_id)
{
if(_id < 1 || _id > 299) return 0;
new np = -1;
switch(_id)
{
case 3, 4, 5, 6, 8, 42, 65, 74, 86, 119, 149, 208, 268, 273, 289: np = 0;
default: np = 1;
}
return np;
}