//_Dragon Posted December 19, 2015 Share Posted December 19, 2015 When i do command for mute player , player can't be muted in debugscript http://imgur.com/aqA58QV Link to comment
Addlibs Posted December 19, 2015 Share Posted December 19, 2015 Add the resource to a privileged ACL group (such as Admin ACL group) (any group would do as long it is linked to an ACL that has right 'function.setPlayerMuted' set to true) Link to comment
//_Dragon Posted December 19, 2015 Author Share Posted December 19, 2015 Thanks bro ! Link to comment
//_Dragon Posted December 19, 2015 Author Share Posted December 19, 2015 (edited) i want make it hours like when i ban player duration must be hours not mins Edited December 20, 2015 by Guest Link to comment
Addlibs Posted December 20, 2015 Share Posted December 20, 2015 Multiply the duration by another 60 again (duration is in second by default, 1 second * 60 * 60 = 3600 seconds = 1 hour). If you want banning in hours exclusively, use math.abs() to covert the given value to an absolute number, that is, a whole, non-negative number. That way, the given value will have to be always a full hour (0.5 hours won't work as 30 minutes). Otherwise, be sure to check whether the give value is over 0 as you don't want to give bans for 0 or -1 or less hours. Link to comment
//_Dragon Posted December 20, 2015 Author Share Posted December 20, 2015 Thy Dude (y) u're Pro ! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now