Skip to content

API: Forwards

Jonathan Öhrström edited this page Aug 15, 2017 · 37 revisions

Forwards


OnWardenDeath

Called when the current warden dies.

Parameters
    int CLIENT - Client index
Returns
    Nothing

Example

public void OnWardenDeath(int client);
OnWardenCreated

Called when a player becomes warden.

Parameters
    int CLIENT - Client index
Returns
    Nothing

Example

public void OnWardenCreated(int client);
OnWardenDisconnect

Called when the current warden disconnects.

Parameters
    int CLIENT - Client index
Returns
    Nothing

Example

public void OnWardenDisconnect(int client);
OnWardenRetire

Called when the current warden retires by himself.

Parameters
    int CLIENT - Client index
Returns
    Nothing

Example

public void OnWardenRetire(int client);
OnAdminRemoveWarden

Called when an admin removes the current warden by force.

Parameters
    int ADMIN - Admin client index
    int CLIENT - Client index
Returns
    Nothing

Example

public void OnAdminRemoveWarden(int client);

Clone this wiki locally