21.01.2016, 16:41
Quote:
Infinite loops often cause this. They may not always manifest themselves in regular for or while loops. Toggling spectating off within OnPlayerSpawn can cause this. Using CancelSelectTextDraw within OnPlayerClickTextDraw can also cause this. And perhaps there are more of such flaws.
|
I read one of your old replies to another guy who had the same problem like me. I removed TogglePlayerSpectating from onplayerspawn and problem still continues.
I also have , at onplayerspawn ofcourse, the next things that may be suspicious:
"SetCameraBehindPlayer(playerid);"
"ResetPlayerWeapons(playerid);"
"SetPlayerWeather(playerid, 1);"
"SyncPlayerTime(playerid);"
"ResetPlayerWeapons(playerid);"
"GivePlayerWeapons(playerid);"
Suddenly all players got ackslimit warning in server log then they got [part] x disconnected. What can cause this ? Can you tell me another causes or what to search ? Can you give me your contact id please?