Is It Possible
#1

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.
Reply
#2

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

yes like that Is it Also Possible With Skins.
Reply
#4

Not possible inside AddPlayerClass but you can do it somewhere else
Reply
#5

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
Reply
#6

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)