09.04.2013, 16:19
If the first var in the enum is an ID, why is it a string?
Do this:
Do this:
pawn Code:
enum arenaDB // name the enum
{
HitRec, // add a variable to store weapon ID's (numerical values)
HitRecName[MAX_PLAYER_NAME] // add a string var to store a player's name
};
new arenaInfo[MAX_PLAYERS][arenaDB]; // create the variable you can use the enum with
// so, you can use it by doing arenaInfo[playerid][HitRec] or arenaInfo[playerid][HitRecName]