Tokio

[HELP] How to get mute remaining time?

Recommended Posts

How to get mute remaining time? For example i write /getmute, and then output "Mute remaining time: 5 mins", or "You are not muted". 

Sorry for my bad english. :| 

Share this post


Link to post
5 minutes ago, Khadeer143 said:

Set timer function for 5 min delay 

How? Can you show a example?

Share this post


Link to post

Did you created any code ?anyway try this example when the mute apply use this

Example :

local minutes = 5
local milisec = minutes * 60000 --Just passing minutes to miliseconds.
setTimer (function()
  destroyElement (vehicle)
end,milisec,1)

 

Set output msg( you r unmuted or 5min is up) after destroy element  and this /getmute what for weather to check the mute time or unmute player ?

Edited by Khadeer143
  • Confused 1

Share this post


Link to post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.