Merge branch 'gang-changes' of https://bitbucket.org/lorenc/cnr into gang-changes

This commit is contained in:
Steven Howard 2018-10-05 19:42:40 +01:00
commit 1daf8141dc

View File

@ -18082,16 +18082,6 @@ stock SaveGangData( gangid )
mysql_single_query( szLargeString ); mysql_single_query( szLargeString );
} }
stock IsPlayerGangCoLeader( accountid, gangid )
{
for ( new i = 0; i < MAX_COLEADERS; i ++ ) {
if ( g_gangData[ gangid ] [ E_COLEADER ] [ i ] == accountid )
return true;
}
return false;
}
stock IsPlayerGangLeader( playerid, gangid, only_leader = 0 ) { stock IsPlayerGangLeader( playerid, gangid, only_leader = 0 ) {
if ( g_gangData[ gangid ] [ E_LEADER ] == p_AccountID[ playerid ] ) if ( g_gangData[ gangid ] [ E_LEADER ] == p_AccountID[ playerid ] )