civ only minigame
This commit is contained in:
parent
7a3d082a4b
commit
de05b615a6
@ -289,6 +289,9 @@ hook OnPlayerEnterDynamicCP( playerid, checkpointid )
|
||||
{
|
||||
if ( checkpointid == g_battleRoyaleStadiumCP )
|
||||
{
|
||||
if ( GetPlayerClass( playerid ) != CLASS_CIVILIAN ) {
|
||||
return SendError( playerid, "You must be a civilian to use this feature." );
|
||||
}
|
||||
return BattleRoyale_ShowLobbies( playerid );
|
||||
}
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user