Script help With "APlayerData"
#5

Up the top of your script, preferably underneath your defines/forwards
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];
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?
Reply


Messages In This Thread
Script help With "APlayerData" - by dan007 - 26.11.2011, 05:33
Re: Script help With "APlayerData" - by MP2 - 26.11.2011, 05:45
Re: Script help With "APlayerData" - by dan007 - 26.11.2011, 05:49
Re: Script help With "APlayerData" - by dan007 - 26.11.2011, 06:03
Re: Script help With "APlayerData" - by Rob_Maate - 26.11.2011, 06:18
Re: Script help With "APlayerData" - by dan007 - 26.11.2011, 06:33
Re: Script help With "APlayerData" - by Rob_Maate - 26.11.2011, 07:03

Forum Jump:


Users browsing this thread: 1 Guest(s)