Merge branch 'gang-changes' of https://bitbucket.org/lorenc/cnr into gang-changes
This commit is contained in:
commit
1daf8141dc
@ -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 ] )
|
||||||
|
Loading…
Reference in New Issue
Block a user