23.10.2016, 05:35
Hello there,
I am trying to make a stats dialog for a player.
The problem i am facing is i don't know how to make Dialogs like
If my faction rank is 0 = No
If my faction rank is not 0 = YES (Rank: %d)
There are total 5 factions, So there would be around 11 lines. (1st line for player name in dialog).
So, How to make it like "YES", "NO".
Here's my enum -
So, It looks like
I am trying to make a stats dialog for a player.
The problem i am facing is i don't know how to make Dialogs like
If my faction rank is 0 = No
If my faction rank is not 0 = YES (Rank: %d)
There are total 5 factions, So there would be around 11 lines. (1st line for player name in dialog).
So, How to make it like "YES", "NO".
Here's my enum -
PHP код:
enum pInfo
{
pFacrank,
pWotrank,
pTkirank,
pLfmrank,
pAimrank,
pOgfrank
}
new PlayerInfo[MAX_PLAYERS][pInfo];
PHP код:
PlayerInfo[playerid][pFacrank];
PlayerInfo[playerid][pWotrank];
PlayerInfo[playerid][pLfmrank];
PlayerInfo[playerid][pAimrank];
PlayerInfo[playerid][pOgfrank];