25.07.2013, 06:52
Hello guys.
The sheer amount of threads asking for member group, faction, administrator, VIPs, cops and robbers teams, battle teams, etc, filterscripts is huge. The difference between them is the way they are handled, but basically they are just organisations and levels. I was thinking about making a final include for this that would make it all end, may be like:
I think you get the idea. But then the whole include just gets over in a few stocks (Setting and Getting) which isn't quite that helpful nor that attractive. Can anyone suggest me what I can add so any organisation can be made with this, and you don't need to answer threads over this all day?
Thanks, cheers
The sheer amount of threads asking for member group, faction, administrator, VIPs, cops and robbers teams, battle teams, etc, filterscripts is huge. The difference between them is the way they are handled, but basically they are just organisations and levels. I was thinking about making a final include for this that would make it all end, may be like:
pawn Код:
enum player
{
pORGANISATION_level
bool:pleader
}
new playerINFO[MAX_PLAYERS][player];
stock SetPlayerLevel( playerid, level )
{
return playerInfo[playerid][pORGANISATION_level] = level;
}
stock Player_HasEnoughLevel(playerid, level)
{
switch playerINFO...
return true;
return false;
}
Thanks, cheers