SA-MP Forums Archive
[Help] Player limit - 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: [Help] Player limit (/showthread.php?tid=587680)



[Help] Player limit - Tika Spic - 01.09.2015

Hello, I have a problem with my server. I have a 500 slot server, but no more than 125 people can connect at a time.
Mainly it is a roleplay server and while logging in the user is supose to be grey and when logged in white, every id after 124 (125+) gets a random color, doesn't get the login screen and can not login.

I checked my includes and MAX_PLAYERS is defined as 500

Does anyone know where the problem might be?


Re: [Help] Player limit - SoFahim - 02.09.2015

*claps* Good job, 125plyers :0

Main: Check name tag lines in OnPlayerXonnect. maybe the problem from that.
Also maybe for lag, it can be happen 'not sure


Re: [Help] Player limit - kyriakos587 - 02.09.2015

im not sure but make it when someone got spawned to change him color to the color that you want...
If you want white make it white when the player spawned.
The other thing is make it with timer SetTimerEx... after 1 second to change the color to the color that you want