MAX_PLAYERS Error - 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 Error (
/showthread.php?tid=643167)
MAX_PLAYERS Error -
labiyebu - 14.10.2017
I have a timer "loadtextdraws and bars" in ongamemodeinit, it is all normal but if a player with ID +60 enters, he does not get any textdraw or bar.
Код:
#include <a_samp>
#undef MAX_PLAYERS
#define MAX_PLAYERS 100
#include <progress>
I already saw in all includes and filterscripts but there are no MAX_PLAYERS 60
Код:
forward loadtexts();
public loadtexts()
{
for(new i=0;i<MAX_PLAYERS;i++)
{
Bar[i] ...
Text[i] ...
}
return 1;
}
Re: MAX_PLAYERS Error -
Meller - 14.10.2017
assert(MAX_PLAYERS == 60);
printf("Assert values: %i - 60", MAX_PLAYERS);