Problem with a gate
#4

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:
pawn Код:
enum PData
{
     PlayerLevel,
     //etc of player info you like to add
}
now under it:
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
I guess the errors will stop.
Reply


Messages In This Thread
Problem with a gate - by thegamer355 - 18.01.2014, 14:41
Re: Problem with a gate - by amirab - 18.01.2014, 14:44
Re: Problem with a gate - by thegamer355 - 19.01.2014, 06:48
Re: Problem with a gate - by Sawalha - 19.01.2014, 07:32
Re: Problem with a gate - by thegamer355 - 19.01.2014, 07:46

Forum Jump:


Users browsing this thread: 1 Guest(s)