PlayerInfo saving/reading the array problem [+REP]
#3

Quote:
Originally Posted by BornHuman
View Post
Show GetUnusedGroup please.
I dont think it's bugged as it works fine when inserting the ID into the SQL databases, however-
PHP Code:
stock GetUnusedGroup()
{
    
GroupLoop(g)
    {
        if(
GroupInfo[g][gActive] != true) return g;
    }
    return -
1;

PHP Code:
enum g_Info
{
    
gName[MAX_FACTION_NAME],
    
gLeader[MAX_PLAYER_NAME],
    
bool:gActive,
}
new 
GroupInfo[MAX_GROUPS][g_Info]; 
Reply


Messages In This Thread
PlayerInfo saving/reading the array problem [+REP] - by Amit1998 - 14.06.2016, 00:21
Re: PlayerInfo saving/reading the array problem [+REP] - by BornHuman - 14.06.2016, 00:33
Re: PlayerInfo saving/reading the array problem [+REP] - by Amit1998 - 14.06.2016, 00:46
Re: PlayerInfo saving/reading the array problem [+REP] - by BornHuman - 14.06.2016, 00:48
Re: PlayerInfo saving/reading the array problem [+REP] - by Amit1998 - 14.06.2016, 15:05
Re: PlayerInfo saving/reading the array problem [+REP] - by Amit1998 - 14.06.2016, 22:08

Forum Jump:


Users browsing this thread: 1 Guest(s)