14.06.2016, 00:46
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];