Jump to content

Very Hard to Explain, but is like a timer for spawn


DarkLink

Recommended Posts

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

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
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
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 by Guest
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...