25.01.2013, 21:52
Enums are somewhat better.
for example:
Ofcourse, you should save it too. But i'm not going that deep to tell you now.
for example:
pawn Код:
enum pInfo
{
Vip
}
new PlayerInfo[MAX_PLAYERS][pInfo];
CMD:givemearmour(playerid, params[])
{
if(PlayerInfo[playerid][Vip] >= 1)
{
SetPlayerArmour(playerid, 100);
}
return 1;
}