-
Notifications
You must be signed in to change notification settings - Fork 3
API: Forwards
Jonathan Öhrström edited this page Aug 15, 2017
·
37 revisions
- OnWardenDeath
- OnWardenCreated
- OnWardenDisconnect
- OnWardenRetire
- OnAdminRemoveWarden
- OnCMenuOpened
- OnEventDayCreated
- OnEventDayAborted
- OnHnsOver
| OnWardenDeath betterwarden.inc | |
|---|---|
Called when the current warden dies. |
|
|
Parameters int CLIENT - Client index |
Returns Nothing |
public void OnWardenDeath(int client);
| OnWardenCreated | |
|---|---|
Called when a player becomes warden. |
|
|
Parameters int CLIENT - Client index |
Returns Nothing |
public void OnWardenCreated(int client);
| OnWardenDisconnect | |
|---|---|
Called when the current warden disconnects. |
|
|
Parameters int CLIENT - Client index |
Returns Nothing |
public void OnWardenDisconnect(int client);
| OnWardenRetire | |
|---|---|
Called when the current warden retires by himself. |
|
|
Parameters int CLIENT - Client index |
Returns Nothing |
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 |
public void OnAdminRemoveWarden(int client);
| OnCMenuOpened | |
|---|---|
Called when a warden opens the warden menu. Also called when a player becomes a warden if sm_cmenu_auto_open is set to 1. |
|
|
Parameters int CLIENT - Client index |
Returns Nothing |
public void OnCMenuOpened(int client);
| OnEventDayCreated | |
|---|---|
Called when a event day is created. |
|
|
Parameters Nothing |
Returns Nothing |
public void OnEventDayCreated();
| OnEventDayAborted | |
|---|---|
Called when a event day is aborted. |
|
|
Parameters Nothing |
Returns Nothing |
public void OnEventDayAborted();
| OnHnsOver | |
|---|---|
Called when Hide and Seek is won. |
|
|
Parameters Nothing |
Returns Nothing |
public void OnHnsOver();
BW © Jonathan Öhrström, built with contributions by developers!