Problem with linux
#3

pawn Код:
for(new i=0; i<=GetMaxPlayers(); i++)
If MAX_PLAYERS is re-defined to the value of GetMaxPlayers, then it's going to give runtime errors about index out of bounds which will cause problems with the commands and they won't work.

pawn Код:
#include <a_samp>

#undef MAX_PLAYERS
#define MAX_PLAYERS 50
// An example ^ and GetMaxPlayers should be 50 as well.


// somewhere
for(new i=0; i<MAX_PLAYERS; i++)
Reply


Messages In This Thread
Problem with linux - by cuemur - 10.10.2013, 06:34
Re: Problem with linux - by Khanz - 10.10.2013, 07:10
Re: Problem with linux - by Konstantinos - 10.10.2013, 09:39

Forum Jump:


Users browsing this thread: 1 Guest(s)