From cfcd55dc730e4200dd4fd9929a738d8ef6c1adfa Mon Sep 17 00:00:00 2001 From: Lorenc Pekaj Date: Sun, 24 Feb 2019 20:56:03 +1100 Subject: [PATCH] no wanted ppl in br --- .../irresistible/cnr/features/battleroyale/battleroyale.pwn | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gamemodes/irresistible/cnr/features/battleroyale/battleroyale.pwn b/gamemodes/irresistible/cnr/features/battleroyale/battleroyale.pwn index 7bd9dab..5e4721c 100644 --- a/gamemodes/irresistible/cnr/features/battleroyale/battleroyale.pwn +++ b/gamemodes/irresistible/cnr/features/battleroyale/battleroyale.pwn @@ -292,6 +292,9 @@ hook OnPlayerEnterDynamicCP( playerid, checkpointid ) if ( GetPlayerClass( playerid ) != CLASS_CIVILIAN ) { return SendError( playerid, "You must be a civilian to use this feature." ); } + else if ( GetPlayerWantedLevel( playerid ) ) { + return SendError( playerid, "You must not be a wanted player if you want to use this feature." ); + } return BattleRoyale_ShowLobbies( playerid ); } return 1;