SA-MP Forums Archive
MAX PLAYERS - 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: MAX PLAYERS (/showthread.php?tid=487314)



MAX PLAYERS - fiter12 - 12.01.2014

Hello

my friend maked game mode in which he define max player

#undef MAX_PLAYERS
#define MAX_PLAYERS 100

but now i lost pwn.

can some one tell me how can i change max players??

who Help me get Admin Level with CP

Thanks


Re: MAX PLAYERS - Blademaster680 - 12.01.2014

In server Config you can change the max players.
Just change "maxplayers" to whatever you want in the server.cfg


Re: MAX PLAYERS - Hansrutger - 12.01.2014

Just like this:

#undef MAX_PLAYERS
#define MAX_PLAYERS 100

Change MAX_PLAYERS to anything, 100, 200, 20 lol. Or what do you mean?


Re: MAX PLAYERS - fiter12 - 12.01.2014

Quote:
Originally Posted by Blademaster680
Посмотреть сообщение
In server Config you can change the max players.
Just change "maxplayers" to whatever you want in the server.cfg
If i change from server.cfg then its not working.
I need same number on script and on .cfg
Then its working.


Re: MAX PLAYERS - fiter12 - 12.01.2014

Quote:
Originally Posted by Hansrutger
Посмотреть сообщение
Just like this:

#undef MAX_PLAYERS
#define MAX_PLAYERS 100

Change MAX_PLAYERS to anything, 100, 200, 20 lol. Or what do you mean?
I dont have pwn for change that.
I need alterative for it.


Re: MAX PLAYERS - Blademaster680 - 12.01.2014

Use this then. I have never tried it but hopefully it works for you.
https://sampforum.blast.hk/showthread.php?tid=156280


Re: MAX PLAYERS - xZdadyZx - 12.01.2014

If you dont have pawno try with going in server.cfg by opening it in notepad. Easily set player maximum count. But it wont work if you have different max_players count inpwn and cfg that it wont work. Wny dont you try with searching to amx converter, maybe it should help? If you have one... Can you actually say WHAT you got?


Re: MAX PLAYERS - SerieWoordenaar - 12.01.2014

here you go:
pawn Код:
#include <a_samp>
#undef MAX_PLAYERS
#define MAX_PLAYERS (100)
//your other code
Then set 'maxplayers' in the server.cfg to 100 and you're set!


Re: MAX PLAYERS - xZdadyZx - 12.01.2014

Quote:
Originally Posted by SerieWoordenaar
Посмотреть сообщение
here you go:
pawn Код:
#include <a_samp>
#undef MAX_PLAYERS
#define MAX_PLAYERS (100)
//your other code
Then set 'maxplayers' in the server.cfg to 100 and you're set!
Dude the problem is that he do not got .pwn (LOL) and he is looking for some other way to change max player count. Please read before posting


Re: MAX PLAYERS - AnonScripter - 12.01.2014

Quote:
Originally Posted by SerieWoordenaar
Посмотреть сообщение
here you go:
pawn Код:
#include <a_samp>
#undef MAX_PLAYERS
#define MAX_PLAYERS (100)
//your other code
Then set 'maxplayers' in the server.cfg to 100 and you're set!
HE SAID That he doesn't HAVE THE "".pwn"" FILE