09.07.2015, 20:32
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)
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)