/mymute miliseconds --> minutes?
#4

(PlayerInfo[playerid][pMuteTime] / 60000) = Milliseconds / 60000 = Minutes.

1 seconds = 1000 Milliseconds.
1 minute = 60 seconds = 60 x 1000 milliseconds = 60000 milliseconds.

So replace PlayerInfo[playerid][pMuteTime], with (PlayerInfo[playerid][pMuteTime] / 60000)

EDIT: Or (PlayerInfo[playerid][pMuteTime] / 1000) if you want it in seconds.
Reply


Messages In This Thread
/mymute miliseconds --> minutes? - by Metharon - 19.05.2014, 14:42
Re: /mymute miliseconds --> minutes? - by Dignity - 19.05.2014, 14:45
Re: /mymute miliseconds --> minutes? - by rumen98 - 19.05.2014, 14:47
Re: /mymute miliseconds --> minutes? - by Threshold - 19.05.2014, 15:02
Re: /mymute miliseconds --> minutes? - by NaClchemistryK - 19.05.2014, 15:09
Re: /mymute miliseconds --> minutes? - by Metharon - 19.05.2014, 15:13

Forum Jump:


Users browsing this thread: 1 Guest(s)