menu problem
#4

You have to use "enum" ...

Код:
enum information {pGunLic,pBoatLic,pFlyLic,pCarLic};
new PlayerInfo[MAX_PLAYERS][information];
If you want to add a string to PlayerInfo or a Float, you only have to at a float: or a [1024]

For example:

Код:
enum information {float:x, playername[MAX_PLAYER_NAME], kills};
So, now you can use:
Код:
PlayerInfo[playerid][pGunLic] = 1;
PlayerInfo[playerid][pBoatLic] = 1;
PlayerInfo[playerid][pFlyLic] = 1;
PlayerInfo[playerid][pCarLic] = 1;
Reply


Messages In This Thread
menu problem - by Domenic_Montery - 15.06.2009, 19:32
Re: menu problem - by dice7 - 15.06.2009, 19:39
Re: menu problem - by Domenic_Montery - 16.06.2009, 05:51
Re: menu problem - by MiniYoda - 16.06.2009, 06:18
Re: menu problem - by Domenic_Montery - 16.06.2009, 11:29

Forum Jump:


Users browsing this thread: 1 Guest(s)