Forum




Deleted User
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
restarted = false addhook("startround","restartonce") function restartonce(id) 	if not restarted then 		timer(200,"parse","restart") 		restarted = true 	end end
Place it in the map Lua file.
Re: Once restart on map!
Deleted User
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
restarted = false addhook("startround","restartonce") function restartonce(id) 	if not restarted then 		timer(200,"parse","restart") 		restarted = true 	end end
Place it in the map Lua file.
I hate you -.-


too lazy now

I hate you -.-
Why you mad at Engipoo?
@Mods and DC, I'm not insulting Engi, I decided to call him that from now on :3
edited 1×, last 02.03.12 08:39:58 pm
Admin/mod comment
No you won't.

I hate you -.-
Why you mad at Engipoo?
Cause he solved it, but Factis didn't.
My work here is done.
No problem man, nothing problem.

Re: Once restart on map!
Deleted User
He ninja'd me..
xDD.

Don't laugh. parse('restart 0') did 100% the same but you didn't listen.
Re: Once restart on map!
Deleted User
Nope
1
timer(200,"parse","restart")
Re: Once restart on map!
Deleted User1
timer(200,"parse","restart")
do the same thing.
Script will be readed once after map change. Same effect.
Re: Once restart on map!
Deleted UserTested: Same thing as yours, but mine one is starting on very first round
edited 1×, last 02.03.12 10:55:53 pm

So doesnt work. This is CS2D bug or impossible script?


This is CS2D bug or impossible script? 

Or just don't be fucking lazy and say /restart when you start the server.

Its a dedicated server and I dont want always play on server -.-
/restart = ping server
/rcon restart = enable rcon