SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 31/08/2009, 01:16 PM   #1
XtremeChio
Huge Clucker
 
Join Date: Jul 2009
Posts: 273
Reputation: 0
Default Random Spawns + Previous Spawns

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.
XtremeChio is offline  
Old 31/08/2009, 08:17 PM   #2
XtremeChio
Huge Clucker
 
Join Date: Jul 2009
Posts: 273
Reputation: 0
Default Re: Random Spawns + Previous Spawns

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
XtremeChio is offline  
Old 01/09/2009, 02:57 PM   #3
XtremeChio
Huge Clucker
 
Join Date: Jul 2009
Posts: 273
Reputation: 0
Default Re: Random Spawns + Previous Spawns

Nevermind, I put in all the skins. Lock this
XtremeChio is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Random spawns help s0me0ne Scripting Help 1 15/02/2012 09:03 PM
I need help with random spawns ? XxJoexX Help Archive 3 03/04/2010 11:43 PM
Random spawns _Vortex Help Archive 5 25/08/2009 05:27 PM
Random Spawns, Need help please. Outbreak Help Archive 7 20/02/2009 10:27 PM


All times are GMT. The time now is 04:39 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.