Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(_oc.banSettings.bansEnabled) then
- -- If the Serial was Found
- if(_oc.banSettings.checkSerial) then
- if(self.sSerial == sha256(getPlayerSerial(uPlayer))) then
- bCancel = true;
- end
- end
- -- If the IP was Found
- if(_oc.banSettings.checkIP) then
- if(self.sIP == sha256(getPlayerIP(uPlayer))) then
- bCancel = true;
- end
- end
- -- If the Name was Found
- if(_oc.banSettings.checkName) then
- if(self.sPlayerName == getPlayerName(uPlayer)) then
- bCancel = true;
- end
- end
- if(self:IsExpired() == true) then
- -- Bann expired
- bCancel = false;
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement