Big problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Big problem (
/showthread.php?tid=581524)
Big problem -
SiNuS - 13.07.2015
Hi , I have a problem with my server/gamemode . Players with ID 50+ have problems: they can not use commands and have 0$.
I don't know what's the matter, But it is a serious problem.
Re: Big problem -
SNAKE12 - 13.07.2015
maybe you make a limit for max player id?
Re: Big problem -
SiNuS - 13.07.2015
Код:
#undef MAX_PLAYERS
#define MAX_PLAYERS 100
I have this at the top of the script.
So I don't think this is the problem
Re: Big problem -
MBilal - 13.07.2015
maybe due to lag check the Timers.
make sure you are using less global timers.
Re: Big problem -
SiNuS - 13.07.2015
My timers (OnGameModeInit)
Код:
synctimer = SetTimer("SyncUp", 60000, 1);
unjailtimer = SetTimer("SetPlayerUnjail", 1000, 1);
othtimer = SetTimer("OtherTimer", 1000, 1);
spectatetimer = SetTimer("Spectator", 2000, 1);
productiontimer = SetTimer("Production", 300000, 1); //5 mins
accountstimer = SetTimer("SaveAccounts", 600000, 1); //10 minutes
checkgastimer = SetTimer("CheckGas", RunOutTime, 1);
stoppedvehtimer = SetTimer("StoppedVehicle", RunOutTime, 1);
SetTimer("rMessage", 240000, 1); // 4 minutes
SetTimer("settime",1000,true);