Hello,I am making a plugin for players to be not able to loot players with a specific permission,I'm not sure if this would work and how would i check if the player has a specific permission
Code:private bool CanLootPlayer(BasePlayer target,BasePlayer looter) { if () // Permission check not sure how to do it { if () // Permission check not sure how to do it { return true; } return false; } else { return true; } }
Disabling looting for players with a permission?
Discussion in 'Rust Development' started by DerpyLV, Jan 25, 2018.