ItsMods

Full Version: help needed for: loop
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hey guys

how can I creat a loop to force server to do jobs on a loop every 1 min!?

my server just crashes on every looped I have tried to use

Code:
if(;;),while(true)

I know that's for being infinite but I dont know how to fix this issue:(
for example I want to force server to put change dvar on every round starts (like fftype and killcam) but I see no event to use:(.

please help me.

PS:I hope "OnStart,OnPlayerdisconnect".in future.
edit:SRY for posting on wrong section,admin PLEASE move it to help section.
Wut? are we talking about BO or MW3 here?
If you are talking about plugins..

The server doesn't crash. But because you do an infinite loop the server will only do the loop and not continue other work. You either need to thread the loop or use a timer.

PS: Every round start = OnFastRestart