DarkLink Posted June 20, 2011 Share Posted June 20, 2011 Okay, hi again, this is very hard to explain. But I will try to do it, and I would appreciate some help guys. My gamemode spawn is like: Player join server then appear gui to choose team then spawn on a random spawnpoint defined by spawnpoints on map file . Now I want my gamemode spawn like this: Player join server then active timer with 30 seconds then player choose team then will not spawn at that time (but spawn details saved), he wait the 30 seconds timer to finish, and in this time, there would be occasionally another player choosing a team and also saving his spawn details saved. the cycle would continue if more players would log in and chose team. WHEN 30 seconds go 0 , all the players that had chosen his team, would spawn in their spawnpoints respectively. And gamemode started, and if player would enter after the gamemode started would wait for the gamemode has finished. So guys I hope u understand my idea. I guess u know how I can settle this. Tell me functions and ideas. Thanks alot! Link to comment
JR10 Posted June 20, 2011 Share Posted June 20, 2011 you can do the following: set the timer make a table when a player chooses the team insert the player in the table and set his data to the teams name the timers function should do: loop through the table and get the players choosed team and spawn him according to it That's it, hope u understand it. Good luck. Link to comment
DarkLink Posted June 20, 2011 Author Share Posted June 20, 2011 you can do the following:set the timer make a table when a player chooses the team insert the player in the table and set his data to the teams name the timers function should do: loop through the table and get the players choosed team and spawn him according to it That's it, hope u understand it. Good luck. thanks alot, thats what I was looking for! but didnt know a way to make it. Thanks!! Btw I take this topic to ask another thing, how can I set a gui with numbers changing ? So I could make the timer? ty Link to comment
JR10 Posted June 20, 2011 Share Posted June 20, 2011 No problem, but i don't understand your problem, what you mean by changing numbers? Link to comment
will briggs Posted June 20, 2011 Share Posted June 20, 2011 JR10, I think he means a gui timer, so from like 30 down to 0 then the change to spawn the player... Link to comment
DarkLink Posted June 20, 2011 Author Share Posted June 20, 2011 (edited) No problem, but i don't understand your problem, what you mean by changing numbers? I want a GUI like and there will be the timer. Numbers changing like 30sec, 29secs, 28secs. do u get it? Thanks! EDIT: ye will brings is right, how I can set that? Thanks. Edited June 20, 2011 by Guest Link to comment
will briggs Posted June 20, 2011 Share Posted June 20, 2011 I think he means that, BTW thats basicly what i said... Link to comment
DarkLink Posted June 20, 2011 Author Share Posted June 20, 2011 I think he means that, BTW thats basicly what i said... Soo.. any clue bro? ty Link to comment
JR10 Posted June 20, 2011 Share Posted June 20, 2011 you can set a timer each sec that will decrease the cound and use guiSetText(gui, count) Link to comment
DarkLink Posted June 20, 2011 Author Share Posted June 20, 2011 you can set a timer each sec that will decrease the cound and use guiSetText(gui, count) Ahh you are right Thanks 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