Random Spawns + Previous Spawns
#1

Hello,

So I have added random spawns to my server. No errors with it, it works perfectly [I've read the wiki to do it]

But after that I realized that at AddPlayerClass(playerid,x,y,z,angle,0,0,0,0,0,0); I have coordinates for skins.
So I tried it out and when I connected, I first spawned at the previous spawn, then it teleported me to a random spawn.

An example:

Code:
AddPlayerClass(102,2000.0933,1565.3741,15.3672,186.3705,24,150,29,50,0,0);
How could I do to remove those coordinates somehow, since I spawn 2x now, first for 0.5 second then I teleport to a random place.

Thanks, Chio.
Reply
#2

Please, does anyone know ? I know it's possible, I've seen many servers with random spawns.

The problem is that.

I have xyz for each skin at AddPlayerClass.
I have xyz for 19 random spawns, but then a player spawns twice !

How to remove that
Reply
#3

Nevermind, I put in all the skins. Lock this
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)