SA-MP Forums Archive
Skin 0 to 299 in OnPlayerRequestClass (Fast Way) - 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)
+--- Thread: Skin 0 to 299 in OnPlayerRequestClass (Fast Way) (/showthread.php?tid=444353)



Skin 0 to 299 in OnPlayerRequestClass (Fast Way) - Balla - 16.06.2013

How it works? I forgot it.

In OnPlayerRequestClass skin 0 to skin 299, there was a fast way to add all the skins in OnPlayerRequestClass..

I forgot it


Re: Skin 0 to 299 in OnPlayerRequestClass (Fast Way) - horsemeat - 16.06.2013

here try this

pawn Код:
for(new count;count <299;count++)
{
    AddPlayerClass(count,0,0,0,0,0,0,0,0,0,0);//just inport your location
}



Re: Skin 0 to 299 in OnPlayerRequestClass (Fast Way) - IstuntmanI - 16.06.2013

pawn Код:
for( new i = 0; i < 300; i ++ )
{
    if( i != 74 )
        AddPlayerClass( i, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0 );
}
74 is the only invalid skin.