killingyasoon Posted September 2, 2018 Posted September 2, 2018 Hey, I am just wondering, how to mute offline players. Any king of help would be appreciated.
Dimos7 Posted September 2, 2018 Posted September 2, 2018 you can't mute someone who is not online in your server
Simple0x47 Posted September 2, 2018 Posted September 2, 2018 4 hours ago, killingyasoon said: Hey, I am just wondering, how to mute offline players. Any king of help would be appreciated. One thing you could do is save the player's serial and then mute him when he connects.
killingyasoon Posted September 2, 2018 Author Posted September 2, 2018 I am trying to make a script that can be able to punish offline players, lets make it simple, when a player logs in he gets punished by the system automatically.
sanyisasha Posted September 2, 2018 Posted September 2, 2018 You can use database, xml or more simply, the built in account system
killingyasoon Posted September 2, 2018 Author Posted September 2, 2018 i guess you didn't get me right, i am trying to make a script which mutes the player automatically when he logs in by the system, lemme show you an example. /automute killingyasoon insulting 1200. so when the player logs in he gets punished by the system. just an example, SERVER: muted killingyasoon for 1200 secs (Insulting), and so on, the problem is idk where to start from.
Dimos7 Posted September 2, 2018 Posted September 2, 2018 (edited) setPlayerMuted setAccountData getPlayerAccount getAccountData setTimer outputChatBox https://www.wiki.multitheftauto.com/wiki/onPlayerLogin https://www.wiki.multitheftauto.com/wiki/onPlayerQuit store Timer on account and get it when Login to server Edited September 2, 2018 by Dimos7 1
killingyasoon Posted September 2, 2018 Author Posted September 2, 2018 6 minutes ago, Dimos7 said: setPlayerMuted setAccountData getPlayerAccount getAccountData setTimer outputChatBox https://www.wiki.multitheftauto.com/wiki/onPlayerLogin https://www.wiki.multitheftauto.com/wiki/onPlayerQuit store Timer on account and get it when Login to server thank you man.
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