fix compile
This commit is contained in:
parent
27d9419b9f
commit
cc69e51c1e
33
includes/HappyHour.inc
Normal file
33
includes/HappyHour.inc
Normal file
@ -0,0 +1,33 @@
|
||||
#if defined _HappyHour_included
|
||||
#endinput
|
||||
#endif
|
||||
|
||||
#define _HappyHour_included
|
||||
|
||||
/**
|
||||
* Check if it is Happy Hour or not
|
||||
*
|
||||
*
|
||||
* @return True if yes, false if no.
|
||||
*/
|
||||
native bool HH_IsItHappyHour();
|
||||
|
||||
|
||||
public SharedPlugin __pl_HappyHour =
|
||||
{
|
||||
name = "HappyHour",
|
||||
file = "HappyHour.smx",
|
||||
|
||||
#if defined REQUIRE_PLUGIN
|
||||
required = 1
|
||||
#else
|
||||
required = 0
|
||||
#endif
|
||||
};
|
||||
|
||||
#if !defined REQUIRE_PLUGIN
|
||||
public void __pl_HappyHour_SetNTVOptional()
|
||||
{
|
||||
MarkNativeAsOptional("HH_IsItHappyHour");
|
||||
}
|
||||
#endif
|
1
includes/mapchooser_extended.inc
Symbolic link
1
includes/mapchooser_extended.inc
Symbolic link
@ -0,0 +1 @@
|
||||
../mapchooser_extended/scripting/include/mapchooser_extended.inc
|
58
includes/zriot.inc
Normal file
58
includes/zriot.inc
Normal file
@ -0,0 +1,58 @@
|
||||
/**
|
||||
* ====================
|
||||
* Zombie Riot
|
||||
* File: zriot.inc
|
||||
* Author: Greyscale
|
||||
* ====================
|
||||
*/
|
||||
|
||||
/**
|
||||
* Used to check if a player is a zombie.
|
||||
* @param client Client index.
|
||||
* @return True if the player is a zombie, and false if human.
|
||||
*/
|
||||
native bool:ZRiot_IsClientZombie(client);
|
||||
|
||||
/**
|
||||
* Retrieves the team index of the zombies
|
||||
* @note Remember these are based off cvars, 0 will be returned if called before the cvar is set
|
||||
*/
|
||||
native ZRiot_GetZombieTeam();
|
||||
|
||||
/**
|
||||
* Retrieves the team index of the humans
|
||||
* @note Remember these are based off cvars, 0 will be returned if called before the cvar is set
|
||||
*/
|
||||
native ZRiot_GetHumanTeam();
|
||||
|
||||
/**
|
||||
* Turns a human into a zombie
|
||||
* @param client Client index.
|
||||
*/
|
||||
native ZRiot_Zombie(client);
|
||||
|
||||
/**
|
||||
* Called when a player turns into a zombie. This is not called at round end.
|
||||
* @param client Client index.
|
||||
*/
|
||||
forward ZRiot_OnClientZombie(client);
|
||||
|
||||
/**
|
||||
* Turns a zombie into a human (will not work for bots)
|
||||
* @param client Client index.
|
||||
*/
|
||||
native ZRiot_Human(client);
|
||||
|
||||
/**
|
||||
* Called when a player turns into a human. This is not called at round end.
|
||||
* @param client Client index.
|
||||
*/
|
||||
forward ZRiot_OnClientHuman(client);
|
||||
|
||||
/**
|
||||
* Called when the HUD is being updated on a client (not called for bots)
|
||||
* @param client Client index.
|
||||
* @param hinttext The text string being sent to the usermsg "HintText"
|
||||
* @note If hinttext is modified the new value will be sent to the client
|
||||
*/
|
||||
forward ZRiot_OnClientHUDUpdate(client, String:hinttext[]);
|
Loading…
Reference in New Issue
Block a user