Commit de05b615 authored by Lorenc Pekaj's avatar Lorenc Pekaj

civ only minigame

parent 7a3d082a
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment