co-leaders can use /gang offlinekick

This commit is contained in:
Stev 2018-12-23 22:43:43 +00:00
parent d1dae5376f
commit 9b44be62cc

View File

@ -307,7 +307,7 @@ CMD:gang( playerid, params[ ] )
iGang = p_GangID[ playerid ], iGang = p_GangID[ playerid ],
p_Name[ MAX_PLAYER_NAME ]; p_Name[ MAX_PLAYER_NAME ];
if ( ! IsPlayerGangLeader( playerid, p_GangID[ playerid ], .only_leader = 1 ) ) if ( ! IsPlayerGangLeader( playerid, p_GangID[ playerid ] ) )
return SendError( playerid, "You are not the gang leader." ); return SendError( playerid, "You are not the gang leader." );
if ( sscanf( params[ 12 ], "s[24]", p_Name ) ) if ( sscanf( params[ 12 ], "s[24]", p_Name ) )