Jump to content

[HELP] How to get mute remaining time?


Tokio

Recommended Posts

Posted

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. :| 

Posted (edited)

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

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.
×
×
  • Create New...