SA-MP Forums Archive
Is It Possible - 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: Is It Possible (/showthread.php?tid=610369)



Is It Possible - CarRamper - 23.06.2016

Hello Guys I Have Added Some Skins At Skin Selection And There Spawn Places.But Then i Thought Is There Anyway To Make The Skin Select Spawn Places Automatically From A Given Code Please Tell Me.I Mean I Don't Want Like This
Код:
AddPlayerClass(301SKIN ID,-1575.8567,683.4586,7.1875X,Y,Z COODINATES,162.8213FacingAngle,0,0,0,0,0,0);
I Want That Only X,Y,Z COODINATES AND THERE Facing Angle Is Given like this
Код:
-1312.9390,449.5147,7.1875,2.5779
         -1533.8368,443.2560,7.1875,350.5003
ANd the script selects a position of spawn automatically.


Re: Is It Possible - Matz - 23.06.2016

So you want to add more than one position inside of AddPlayerClass to spawn randomly?


Re: Is It Possible - CarRamper - 23.06.2016

yes like that Is it Also Possible With Skins.


Re: Is It Possible - Matz - 23.06.2016

Not possible inside AddPlayerClass but you can do it somewhere else


Re: Is It Possible - CarRamper - 23.06.2016

I Have Seen This Tutorial https://sampforum.blast.hk/showthread.php?tid=162488 And i Want To Ask You That Is It Also possible With Skins


Re: Is It Possible - Matz - 23.06.2016

You can either put SetPlayerSkin under OnPlayerSpawn or set their skin via SetSpawnInfo under OnPlayerRequestClass


Re: Is It Possible - Owen007 - 23.06.2016

use random team spawns if u using team or use random spawn ****** it.