19.01.2014, 07:32
Mate, to define a Playerdata you will use the enum, Read here: https://sampwiki.blast.hk/wiki/Keywords:Initialisers, it's used to make a group of somethings.
now,
do:
now under it:
I guess the errors will stop.
now,
do:
pawn Код:
enum PData
{
PlayerLevel,
//etc of player info you like to add
}
pawn Код:
new APlayerData[MAX_PLAYERS][PData]; // here we made first the APlayerData and it's arrays, MAX_PLAYERS are all players you limited in your server, PData is the group that contains the player's information

