Geramy92 Posted February 18, 2010 Posted February 18, 2010 Hallo, is there a chance to disable /msg? our script has an own /pm where user must pay some $$ but the users use /msg but they needn't do that so i am asking: Can I Disable this command /msg?
Gamesnert Posted February 18, 2010 Posted February 18, 2010 onPlayerPrivateMessage event is probably what you're looking for. When it triggers, cancel it using cancelEvent. Alternatively, you can modify your ACL to not allow people to use the /msg command. EDIT: Alter-alternatively you could of course make players pay when onPlayerPrivateMessage is triggered
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