civ only minigame

This commit is contained in:
Lorenc Pekaj 2019-02-24 20:51:57 +11:00
parent 7a3d082a4b
commit de05b615a6

View File

@ -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;