no wanted ppl in br

This commit is contained in:
Lorenc Pekaj 2019-02-24 20:56:03 +11:00
parent de05b615a6
commit cfcd55dc73

View File

@ -292,6 +292,9 @@ hook OnPlayerEnterDynamicCP( playerid, checkpointid )
if ( GetPlayerClass( playerid ) != CLASS_CIVILIAN ) { if ( GetPlayerClass( playerid ) != CLASS_CIVILIAN ) {
return SendError( playerid, "You must be a civilian to use this feature." ); 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 BattleRoyale_ShowLobbies( playerid );
} }
return 1; return 1;