Stop RoundTimer?
Hello there,
Is it possible to make the round timer stop ticking? So that it's always for example 5:00 in the game? (Counter-Strike) kind regards sake |
Re: Stop RoundTimer?
make a global task, and each second send usermsg
|
Re: Stop RoundTimer?
Hmm. Maybe there is another way? Or another thing, how can I make the people spawn even if its the 4th minute in the round?
|
Re: Stop RoundTimer?
Quote:
|
Re: Stop RoundTimer?
or just do infinite round by arkshine.
|
Re: Stop RoundTimer?
Quote:
|
Re: Stop RoundTimer?
You're talking about mid-round spawn after joining ? You'll have to do that manually.
You could have a look at my jctf plugin, it has respawning stuff. |
Re: Stop RoundTimer?
Exactly! You did rephrase it 100% correctly :).
EDIT: But the code for your plugin is quite huge and I don't know which of the functions you use for respawning could help me out. :( EDIT2: That's what I am doing right now: PHP Code:
PHP Code:
|
Re: Stop RoundTimer?
Use exectueham to respawn the player.
also you can check when player has selected a team can you not? i could have sworn there was a way to hook switch team. which is what happens spectator to CT/T. Catch that and ExecuteHamB(Ham_CS_RoundRespawn, id) |
Re: Stop RoundTimer?
@sake
Why would you print a message to use /respawn when you can just trigger it from the code ? Well, I didn't tell you to look at every single code there, you'll have to search... first find the "TeamInfo" hook, then find it's function and go from there. Also, make sure you respawn player after he chose his class, not team, "TeamInfo" is called on both. |
| All times are GMT -4. The time now is 00:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.