Skip to content
This repository was archived by the owner on Apr 2, 2023. It is now read-only.
Exle edited this page Dec 10, 2017 · 7 revisions

Core

forward void ExiTimer_OnStart();

forward void ExiTimer_OnEnd();

forward void ExiTimer_OnChangeState(bool state);

native bool ExiTimer_IsStarted();

native bool ExiTimer_IsEnabled();

native void ExiTimer_SetState(bool state);

native int ExiTimer_GetDirectory(char[] buffer, int maxlength);

native int ExiTimer_GetChatPrefix(char[] buffer, int maxlength);

Configs

native int ExiTimer_GetConfigFile(const char[] name, char[] buffer, int maxlength);

Database

enum ExiTimerDB_Type
{
    ExiTimerDB_MySQL,
    ExiTimerDB_SQLite
};

forward void ExiTimer_OnDBConnected(Database db, ExiTimerDB_Type type);

forward void ExiTimer_OnDBReConnect();

native Database ExiTimer_GetDatabase();

native ExiTimerDB_Type ExiTimer_GetDatabaseType();

native int ExiTimer_GetDatabasePrefix(char[] buffer, int maxlength);

Logging

native void ExiTimer_Log(const char[] format, any ...);

native void ExiTimer_LogError(const char[] format, any ...);

Map

forward void ExiTimer_OnMapStart(int id, char[] name);

forward void ExiTimer_OnMapEnd(int id, char[] name);

native bool ExiTimer_MapIsStarted();

native int ExiTimer_GetCurrentMapId();

native void ExiTimer_GetCurrentMapName(char[] buffer, int maxlength);

Menu

forward void ExiTimer_OnAdminMenuReady();

forward void ExiTimer_OnClientMenuReady();

native void ExiTimer_ReDisplayAdminMenu(int client);

native void ExiTimer_ReDisplayClientMenu(int client);

native bool ExiTimer_AddToAdminMenu(const char[] name, ItemCallBack callback, DisplayCallBack display_callback);

native bool ExiTimer_AddToClientMenu(const char[] name, ItemCallBack callback, DisplayCallBack display_callback);

native bool ExiTimer_AddedToAdminMenu(const char[] name);

native bool ExiTimer_AddedToClientMenu(const char[] name);

native void ExiTimer_UnRegisterMe();

Player

forward void ExiTimer_OnClientStarted(int client, float time);

forward Action ExiTimer_OnClientPreFinished(int client, float &time);

forward void ExiTimer_OnClientFinished(int client, float time);

forward void ExiTimer_OnClientPaused(int client, float time);

forward void ExiTimer_OnClientUnPaused(int client, float time, float time_paused);

native void ExiTimer_StartTimer(int client);

native float ExiTimer_StopTimer(int client, bool finished = true);

native float ExiTimer_GetTimerTime(int client);

native void ExiTimer_PauseTimer(int client);

native void ExiTimer_UnPauseTimer(int client);

Clone this wiki locally