26.11.2011, 06:18
Up the top of your script, preferably underneath your defines/forwards
You need to declare the array like this:
Where I've written <insert your info here> you declare other members of the array.
They may be PlayerLevel, ConnectTime, Kills, Deaths etc.
You then will need to create a method for saving that information externally.
Do you intend to use a filesystem? or MySQL?
You need to declare the array like this:
pawn Код:
enum pInfo
{
RulesRead,
<insert your info here>,
<insert your info here>,
<insert your info here>,
};
new APlayerInfo[MAX_PLAYERS][pInfo];
They may be PlayerLevel, ConnectTime, Kills, Deaths etc.
You then will need to create a method for saving that information externally.
Do you intend to use a filesystem? or MySQL?