gag_user_byid

Синтаксис

native gag_user_byid(id, duration, reason[], admin[])

Употреба

id
Client index
duration
Gag duration in minutes
reason
Reason for the gag
admin
Admin name who made the gag

Описание

Gags player by given id

Връщаща стойност

Тази функция няма връщаща стойност.

Грешка

If the index is not within the range of 1 to MaxClients or
the client is not connected or duration is negative,
an error will be thrown.