SA-MP Forums Archive
IsPlayerConnected = 0 for connected clients o_0 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: IsPlayerConnected = 0 for connected clients o_0 (/showthread.php?tid=115089)



IsPlayerConnected = 0 for connected clients o_0 - hub4 - 22.12.2009

hello
we got strange behavior, when player count exceeds 124, newly connected players do not receive class selection screen. and every other player with id 125 & more got colored nick and is not possible to log in. every command shows "unknown cmmand" error, every function filtering with IsPlayerConnected does not work, and etc.

server version 0.3 R4.

have anyone had similar trouble? or can suggest the solution for this. all ideas are welcome


Re: IsPlayerConnected = 0 for connected clients o_0 - Chaprnks - 25.12.2009

Could be caused by a define code. Check your gamemodes, filterscripts, and any includes (excluding a_samp) for #define MAX_PLAYERS.


Re: IsPlayerConnected = 0 for connected clients o_0 - RoBo - 25.12.2009

printf("%d",MAX_PLAYERS);