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: AddPlayerClass (
/showthread.php?tid=156002)
AddPlayerClass -
Luis- - 20.06.2010
I have seen this somewhere in the forums, I have searched for it and I cant find it!
I want a script to get all the player skins without having to put AddPlayerClass for every skin.
Thanks
Re: AddPlayerClass -
Hiddos - 20.06.2010
pawn Код:
public OnGameModeInit()
{
for(new s; s < 287; s++) //Or whatever the SA-MP skin limit is
{
AddPlayerClass(s,x,y,z,a,0,0,0,0,0,0);
}
return 1;
Re: AddPlayerClass -
Luis- - 20.06.2010
What does the "a" mean?
Re: AddPlayerClass -
Hiddos - 20.06.2010
a = Angle
Re: AddPlayerClass -
Luis- - 20.06.2010
AddPlayerClass(0,1621.3524,-1041.3577,23.8984,
88.7439,0,0,0,0,0,0);
That is the angle ( Red one )
Re: AddPlayerClass -
Hiddos - 20.06.2010
Then replace 'a' with that
Re: AddPlayerClass -
Luis- - 20.06.2010
Alright thanks