added new plugins: KnifeAlert, immunityreserveslots (entWatch support), sourcebans+sourcecomms (fixed)
added sm_forceinputplayer to ForceInputs added ZE_FFVII_Mako_Reactor_V6_B08 savelevel config fixed runtime error in voiceannounce_ex and ExtraCommands
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,22 @@
|
||||
#if defined _connect_included
|
||||
#endinput
|
||||
#endif
|
||||
#define _connect_included
|
||||
|
||||
forward bool:OnClientPreConnectEx(const String:name[], String:password[255], const String:ip[], const String:steamID[], String:rejectReason[255]);
|
||||
|
||||
public Extension:__ext_Connect =
|
||||
{
|
||||
name = "Connect",
|
||||
file = "connect.ext",
|
||||
#if defined AUTOLOAD_EXTENSIONS
|
||||
autoload = 1,
|
||||
#else
|
||||
autoload = 0,
|
||||
#endif
|
||||
#if defined REQUIRE_EXTENSIONS
|
||||
required = 1,
|
||||
#else
|
||||
required = 0,
|
||||
#endif
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
#if defined _donator_included_
|
||||
#endinput
|
||||
#endif
|
||||
#define _donator_included_
|
||||
|
||||
#define DONATOR_API_VERSON 1.1
|
||||
|
||||
functag DonatorMenuCallback DonatorMenu:public(client);
|
||||
|
||||
/**
|
||||
* Register a menu item.
|
||||
*
|
||||
* @param name Name of the menu item.
|
||||
* @param func Callback for menu items.
|
||||
* @return Menu item ID.
|
||||
*/
|
||||
native Donator_RegisterMenuItem(const String:name[], DonatorMenuCallback:callback);
|
||||
|
||||
/**
|
||||
* Unregister a menu item.
|
||||
*
|
||||
* @param name Name of the menu item.
|
||||
* @param func Callback for menu items.
|
||||
* @return Bool
|
||||
*/
|
||||
native Donator_UnregisterMenuItem(iItemId);
|
||||
|
||||
/**
|
||||
* Get a clients donator level, -1 if invalid
|
||||
*
|
||||
* @param iClient Client
|
||||
* @return Donator level
|
||||
*/
|
||||
native GetDonatorLevel(iClient);
|
||||
|
||||
/**
|
||||
* Sets a clients donator level
|
||||
*
|
||||
* @param iClient Client
|
||||
* @param iLevel Donator level
|
||||
* @return Nothing
|
||||
*/
|
||||
native SetDonatorLevel(iClient, iLevel);
|
||||
|
||||
/**
|
||||
* Returns True if a client is a donator, -1 if invalid
|
||||
*
|
||||
* @param iClient Client
|
||||
* @return bool
|
||||
*/
|
||||
native bool:IsPlayerDonator(iClient);
|
||||
|
||||
/**
|
||||
* Returns True if a steamid is a donator, -1 if invalid
|
||||
*
|
||||
* @param iClient Client
|
||||
* @return bool
|
||||
*/
|
||||
native bool:FindDonatorBySteamId(const String:szSteamId[]);
|
||||
|
||||
/**
|
||||
* Returns a donators connect message
|
||||
|
||||
* @param iClient Client
|
||||
* @return Clients connect message
|
||||
*/
|
||||
native GetDonatorMessage(iClient, const String:szMessage[], iLength);
|
||||
|
||||
/**
|
||||
* Sets a donators connect message
|
||||
*
|
||||
* @param iClient Client
|
||||
* @param szMessage Message to show on donator connect
|
||||
* @return Nothing
|
||||
*/
|
||||
native SetDonatorMessage(iClient, const String:szMessage[]);
|
||||
|
||||
/*
|
||||
native SaveToDatabase(const String:szColumnName[], any:data);
|
||||
native GetFromDatabase(const String:szColumnName[], any:data);
|
||||
*/
|
||||
|
||||
/**
|
||||
* Forwards when a donator connects.
|
||||
* Note: This is before OnPostDonatorCheck - Cookies are not loaded here
|
||||
*
|
||||
* @param iClient Client
|
||||
* @noreturn
|
||||
*/
|
||||
forward OnDonatorConnect(iClient);
|
||||
|
||||
/**
|
||||
* Forwards after OnPostAdminCheck for everyone.
|
||||
*
|
||||
* @param iClient Client
|
||||
* @noreturn
|
||||
*/
|
||||
forward OnPostDonatorCheck(iClient);
|
||||
|
||||
/**
|
||||
* Forwards after the donators has been reladed with sm_reloaddonators.
|
||||
*
|
||||
* @param iClient Client
|
||||
* @noreturn
|
||||
*/
|
||||
forward OnDonatorsChanged();
|
||||
@@ -0,0 +1 @@
|
||||
../../../includes/entWatch.inc
|
||||
Reference in New Issue
Block a user