Mefisto_PL Posted January 12, 2012 Share Posted January 12, 2012 How Can I make a many spawns ? I want to create for example 6 others spawns. Link to comment
mjau Posted January 12, 2012 Share Posted January 12, 2012 What? Many spawns ? be more specific... Link to comment
Mefisto_PL Posted January 12, 2012 Author Share Posted January 12, 2012 more spawns ... 6 spawns for example. Link to comment
Fentas Posted January 12, 2012 Share Posted January 12, 2012 Lets guess that you are probably want to use spawnPlayer. If you want to pick 1 random of 6 locations for your spawn, one of the ways to do it, is using math.random to get a random location from a table containing the x, y, z coordinates of every spawn location. Link to comment
Thelastride Posted January 12, 2012 Share Posted January 12, 2012 Like this.Take x y z then put values closer to x value in math.random. spawnPlayer (source, math.random(0,5), 0, 5, 0, 29, 0, 0, spawnTeam) Link to comment
Mefisto_PL Posted January 15, 2012 Author Share Posted January 15, 2012 I don't know anything about table.. Can anybody send me link to help or code? Link to comment
ThaD4N13L Posted January 15, 2012 Share Posted January 15, 2012 I think he meantt MOney. Link to comment
Mefisto_PL Posted January 15, 2012 Author Share Posted January 15, 2012 I want to make six spawns on player login i have script to save skin and money .. Link to comment
Thelastride Posted January 15, 2012 Share Posted January 15, 2012 Then take x y z of locations and put in setElementPosition(player,x,y,z) You must provide something or we can't help. Link to comment
Mefisto_PL Posted January 15, 2012 Author Share Posted January 15, 2012 Hmm... It's a next way to make this with xml file and I prefere this way. Because I have a lot of places to spawn. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now