SA-MP Forums Archive
I need help urgent - 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: I need help urgent (/showthread.php?tid=599744)



I need help urgent - TurkModeBoy - 29.01.2016

Hello, in my server when number of players reaches 50, from 50 up to spawn later in the game you can't. I wonder what is the reason?


Re: I need help urgent - Vince - 29.01.2016

Redefined MAX_PLAYERS?


Re: I need help urgent - TurkModeBoy - 29.01.2016

How can I do?


Re: I need help urgent - TurkModeBoy - 29.01.2016

Quote:
Originally Posted by Vince
Посмотреть сообщение
Redefined MAX_PLAYERS?
how?


Re: I need help urgent - Private200 - 29.01.2016

You could simply ****** 'how to redefine MAX_PLAYERS', anyways:

pawn Код:
#if defined MAX_PLAYERS
    #undef MAX_PLAYERS
    #define MAX_PLAYERS 500
#endif
Change 500 with your value. You might have already defined it so this checks if it is defined. This code must be placed after your previously defined MAX_PLAYERS (if any) else it wont work!