Optimize script
#8

If it constantly uses 100% of cpu you should check your gamemode first. Looks like there is an infinite loop somewhere inside it.
If you are able to stop SA-MP server with "exit" console command or in any other way which calls OnGameModeExit, I suggest you to use profiler plugin to find a problem (it should point you to a hungry function).
If you can't stop server in regular way (Ctrl+C, "exit", /rcon gmx and so on) and the only way to stop it is to kill a process, you should find another (better) gamemode or try to locate that loop (but it's another topic)
Reply


Messages In This Thread
Optimize script - by ahmedraed - 09.07.2015, 13:43
Re: Optimize script - by Younes44 - 09.07.2015, 13:45
Re: Optimize script - by Michael B - 09.07.2015, 17:12
Re: Optimize script - by Jake187 - 09.07.2015, 17:34
Re: Optimize script - by ahmedraed - 09.07.2015, 18:24
Re: Optimize script - by Michael B - 09.07.2015, 19:26
Re: Optimize script - by Vince - 09.07.2015, 19:31
Re: Optimize script - by prineside - 09.07.2015, 20:32
Re: Optimize script - by Jake187 - 09.07.2015, 23:10
Re: Optimize script - by ahmedraed - 10.07.2015, 11:31

Forum Jump:


Users browsing this thread: 1 Guest(s)