13.07.2013, 18:52
Hello, it seems when I try to add -this- peice of code:
It shows this error code:
I have this enumeration:
And this variable for defining the 'Player':
Any ideas?
pawn Код:
format(Player[playerid][Ip],16,"%s",GetIP(playerid));
pawn Код:
error 017: undefined symbol "Player"
pawn Код:
enum PlayerStatsEnum
{
Username[24],
Password[129],
Ip[16],
Money,
BankSavings,
Level,
AdminLvl,
Faction,
FactionLevel,
Birthday,
Birthyear,
Birthmonth,
SpawnPoint,
TutorialComplete,
Accent[12],
Experience,
Kills,
Deaths,
ClothingSlot1,
ClothingSlot2,
ClothingSlot3,
CarLicense,
TruckLicense,
MBLicense,
Cell,
CellNum,
CarKey1,
CarKey2,
CarKey3,
CarKey4,
CarKey5,
CarKey6,
JailT,
AjailT,
FineTimes,
ArrestTimes
}
pawn Код:
new Player[MAX_PLAYERS][PlayerStatsEnum];