stock

get_time_length

Syntax

stock get_time_length(id, unitCnt, type, output[], outputLen)

Description

Stock by Brad.

Parameters

id The player whose language the length should be translated to
unitCnt The number of time units you want translated into verbose text
type The type of unit (i.e. seconds, minutes, hours, days, weeks, months, years) that you are passing in
output The variable you want the verbose text to be placed in
outputLen The length of the output variable

Note

You must add register_dictionary("time.txt") in plugin_init()

Return

This function has no return value.