iV - Ghost 50 Posted February 5, 2018 How can I check the rank of a player. I wanna make a exitWith if the rank is lower than x. Share this post Link to post Share on other sites
davidoss 552 Posted February 5, 2018 rank player https://community.bistudio.com/wiki/rank 1 Share this post Link to post Share on other sites
iV - Ghost 50 Posted February 5, 2018 OK. Got it. Thx // VARIABLES private ["_caller", "_rank"]; _caller = _this select 1; _rank = rank _caller; // CHECK RANK if (_rank == "PRIVATE") exitWith { hint localize "STR_iV_RankTooLow"; }; Share this post Link to post Share on other sites
pierremgi 4909 Posted February 6, 2018 if ( ["PRIVATE","CORPORAL","SERGEANT","LIEUTENANT","CAPTAIN","MAJOR","COLONEL"] find (rank player) < 2) then {hint "you must be at least sergeant"}; Share this post Link to post Share on other sites