Defining MAX PLAYERS makes Pawno crash?
#1

DELETE
Reply
#2

MAX_PLAYERS is defined in a_samp.inc which is a must to include in any script so I don't see how it would give you an undefined symbol error.

pawn Код:
#include <a_samp>

#undef MAX_PLAYERS
#define MAX_PLAYERS 50

// rest of includes..
and the above is an example to re-define MAX_PLAYERS instead of using 1000 which is the default.
Reply
#3

Yeah, but if I include a_samp, it also causes the same problem. It crashes.
I got a script that includes another script that has all the commands. But it seems like I have to compile it, eventhough it's only the .pwn that's required. Tried to add a new command, but it didn't work in-game so I thought I perhaps had to fix the errors in the commands .pwn file that I've. Just confusing.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)