gag_user_byid

Syntax

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

Usage

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

Description

Gags player by given id

Return

This function has no return value.

Error

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.