killingyasoon Posted September 2, 2018 Share Posted September 2, 2018 Hey, I am just wondering, how to mute offline players. Any king of help would be appreciated. Link to comment
sanyisasha Posted September 2, 2018 Share Posted September 2, 2018 What do you mean on offline? Link to comment
Dimos7 Posted September 2, 2018 Share Posted September 2, 2018 you can't mute someone who is not online in your server Link to comment
Simple0x47 Posted September 2, 2018 Share 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. Link to comment
killingyasoon Posted September 2, 2018 Author Share 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. Link to comment
sanyisasha Posted September 2, 2018 Share Posted September 2, 2018 You can use database, xml or more simply, the built in account system Link to comment
killingyasoon Posted September 2, 2018 Author Share 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. Link to comment
Dimos7 Posted September 2, 2018 Share 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 Link to comment
killingyasoon Posted September 2, 2018 Author Share 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. 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