New round and restart.
I have a problem but i know how to solve it but I don't know how to restart game in first round.
|
Re: New round and restart.
server_cmd("sv_restart 1")
|
Re: New round and restart.
Ok it's work, but one more question, how i can do that then round start's server restart. I know how to do only then spawn player.
Code: PHP Code:
|
Re: New round and restart.
Can you explain your question .. cause i really did not understand anything
|
Re: New round and restart.
hook round start.
register_event("HLTV", "newROUND", "a", "1=0", "2=0") |
Re: New round and restart.
So I need change this code:
PHP Code:
PHP Code:
|
Re: New round and restart.
OH ... so thats what you are doing ... Yes , because Ham_spawn , when you spawn it runs your script , but
register_event("HLTV", "newROUND", "a", "1=0", "2=0") it runs your script at the beginning of the round |
Re: New round and restart.
Yes I want that then round start starts countdown ;p But i do than player spawn start countdown so i don't know how do it ;\
|
Re: New round and restart.
PHP Code:
|
Re: New round and restart.
Ok I solved it by my self. Thx anyway
|
| All times are GMT -4. The time now is 10:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.