Max players
#1

Hai, how can i make it like if i do this code
pawn Код:
public OnGameModeInit ()
{
    SendRconCommand("maxplayers 23");
  return 1;
}
How can i make it change to the amount of players, instead of changing it in the config?

I always get this in console
Quote:

OnGameo
maxplayers = 50 (int, read-only)

Reply
#2

If you look at your console it says 'read-only'.
You can't change the maxplayers value when the server is on.
Reply
#3

Actually you can, By a plugin, you need have some knowledge about memory hacking.
Reply
#4

Well, you know if it is an plugin which is already made?
Reply
#5

it won't be made, by creating this plugin you can also add more than 500 slots. By the logic, for normal samp servers it has a limit made by the samp team.

so.. better stay without chaging it in game.
Reply
#6

hmmh, leonardo you are pointing in something there :P Thanks for help anyway
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)