projects-jenz/RaceTimer/scripting/include/unloze_zones.inc

40 lines
744 B
PHP
Raw Normal View History

2019-03-02 15:17:41 +01:00
/** Double-include prevention */
#if defined _unloze_zones_included_
#endinput
#endif
#define _unloze_zones_included_
/**
* Called when client Enters a zone
*
* @int Client entering zone.
* @char name of the zone.
*/
forward void unloze_zoneEntry(int client, char[] zone);
/**
* Called when client Leaves a zone
*
* @int Client leaving zone.
* @char name of the zone.
*/
forward void unloze_zoneLeave(int client, char[] zone);
/**
* Called when a new zone is created
*/
forward void unloze_zoneCreated();
/**
* @int zone index
* @char modifies the zone indexes name
*/
native void ZoneNameBasedOnIndex(int index, char[] callbackresult);
/**
* @returns total count of zones
*/
native int unloze_zoneCount();