16.06.2009, 06:18
You have to use "enum" ...
If you want to add a string to PlayerInfo or a Float, you only have to at a float: or a [1024]
For example:
So, now you can use:
Код:
enum information {pGunLic,pBoatLic,pFlyLic,pCarLic}; new PlayerInfo[MAX_PLAYERS][information];
For example:
Код:
enum information {float:x, playername[MAX_PLAYER_NAME], kills};
Код:
PlayerInfo[playerid][pGunLic] = 1; PlayerInfo[playerid][pBoatLic] = 1; PlayerInfo[playerid][pFlyLic] = 1; PlayerInfo[playerid][pCarLic] = 1;