99ebd62653
* Remove dropped functions * Update existing offsets * Add some logic to prevent the use of removed functions. * Add Ham_SC_AddPoints and Ham_SC_AddPointsToTeam * Add Ham_SC_GiveAmmo * Add Ham_SC_FVisibleFromPos * Fix an old typos with CanPlaySentence for all mods * Add Ham_SC_CanPlaySequence * Add Ham_SC_PlayScriptSentence * Add Ham_SC_StartPlayerFollowing * Fix CanPlaySequence hamdata.ini (SC) * Add Ham_SC_StopPlayerFollowing * Fix handlers from previous commits * Add Ham_SC_PreSpawn * Add Ham_SC_PostSpawn * Add Ham_SC_OnKeyValueUpdate * Add Ham_SC_SetClassification * Add Ham_SC_MyCustomPointer and Ham_SC_MyItemPointer * Add Ham_SC_IsSneaking * Add Ham_SC_IsAlive * Add Ham_SC_IsBSPModel * Add Ham_SC_ReflectGauss * Add Ham_SC_HasTarget * Add Ham_SC_IsInWorld * Add Ham_SC_IsPlayer * Add Ham_SC_IsNetClient * Add Ham_SC_IsBreakable * Fix Ham_SC_IsMonster, Ham_SC_IsPointEntity, Ham_SC_IsMachine and Ham_SC_CriticakRemove handlers * Add Ham_SC_OnControls * Fix Ham_SC_TakeHealth and Ham_SC_TakeArmor handlers * Add Ham_SC_IsTriggered * Add Ham_SC_RemovePlayerItem * Fix typo * Fix Ham_SC_IsMoving handler * Add Ham_SC_SUB_UseTargets * Ham_SC_IsLockedByMaster * Add Ham_SC_FBecomeProne * Fix Ham_SC_FVisible handler * Add Ham_SC_FVecVisible * Fix Ham_SC_FVisibleFromPos handler * Fix Ham_SC_IsFacing handler * Add Ham_SC_SetPlayerAlly * Add Ham_SC_OnSetOriginByMap * Add Ham_SC_IsRevivable * Add Ham_SC_BeginRevive and Ham_SC_EndRevive * Update offsets based on SvenCoop v5.17 * Add Ham_SC_Item_CanCollect and Ham_SC_Item_Collect * Add Ham_SC_Item_AddToPlayer * Add Ham_SC_Item_AddDuplicate * Add Ham_SC_Item_AddAmmoFromItem * Add Ham_SC_Item_GetItemInfo * Add Ham_SC_Item_CanDeploy, Ham_SC_Item_Deploy and Ham_SC_Item_CanHolster * Add Ham_SC_Item_UpdateClientData * Add Ham_SC_Item_GetRespawnTime * Add Ham_SC_Item_CanHaveDuplicates * Add Ham_SC_Weapon_ExtractAmmoFromItem * Add Ham_SC_Weapon_GetAmmo1Drop and Ham_SC_Weapon_GetAmmo2Drop * Add Ham_SC_Weapon_FinishReload and Ham_SC_Weapon_ShouldReload * Fix Ham_SC_IsMultiplayer, Ham_SC_FRunfuncs and Ham_SC_FCanRun handlers * Add Ham_SC_Weapon_AddWeapon, _PlayEmptySound, _IsUsable, _ShouldWeaponIdle and _UseDecrement * Add Ham_SC_Item_GetPickupSound * Add Ham_SC_Item_InactiveItemPreFrame and Ham_SC_Item_InactiveItemPostFrame * Add Ham_SC_Item_DetachFromPlayer * Fix Ham_SC_Player_IsConnected handler * Add Ham_SC_Player_EnteredObserver, Ham_SC_Player_LeftObserver and Ham_SC_Player_IsObserver * Fix sc_postpawn typo (should be sc_postspawn) * Add few more assert
533 lines
15 KiB
C++
533 lines
15 KiB
C++
// vim: set ts=4 sw=4 tw=99 noet:
|
|
//
|
|
// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO").
|
|
// Copyright (C) The AMX Mod X Development Team.
|
|
//
|
|
// This software is licensed under the GNU General Public License, version 3 or higher.
|
|
// Additional exceptions apply. For full license details, see LICENSE.txt or visit:
|
|
// https://alliedmods.net/amxmodx-license
|
|
|
|
//
|
|
// Ham Sandwich Module
|
|
//
|
|
|
|
#include "amxxmodule.h"
|
|
|
|
int Create_Void_Void(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_Void(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Entvar(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Cbase(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_Float_Int(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_Float_Int_Int(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Bool_Float_Int_Int(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Entvar_Int(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Entvar_Entvar_Int(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_Cbase(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Int_Int(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Int_Bool(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Bool_Bool(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_Int_Str_Int(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_STRING, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_Int_Str_Int_Int(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_STRING, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_Int_Str_Int_Bool(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_STRING, FP_CELL, FP_CELL, FP_DONE);
|
|
|
|
}
|
|
int Create_Int_Int(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Bool_Bool(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_Entvar(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_Entvar_Entvar_Float_Int(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_FLOAT, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_Entvar_Entvar_Float_Float_Int(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_FLOAT, FP_FLOAT, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Int(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Cbase_Cbase_Int_Float(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_CELL, FP_FLOAT, FP_DONE);
|
|
}
|
|
|
|
int Create_Vector_Float_Cbase_Int(AMX* amx, const char* func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Entvar_Float_Vector_Trace_Int(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_FLOAT, FP_ARRAY, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Float_Vector_Trace_Int(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_ARRAY, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Str_Void(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Cbase_Void(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Vector_Void(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Vector_pVector(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_pVector(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_DONE);
|
|
}
|
|
|
|
int Create_Bool_pVector(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Entvar_Float_Float(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_FLOAT, FP_FLOAT, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_pFloat_pFloat(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_FLOAT, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Entvar_Float(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_FLOAT, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Int_Int_Int(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_ItemInfo(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Bool_ItemInfo(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Float_Void(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Float_Int(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Float_Int(AMX* amx, const char* func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Float_Float_Cbase(AMX* amx, const char* func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Float(AMX* amx, const char* func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Float_Float_Float_Int(AMX* amx, const char* func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_FLOAT, FP_FLOAT, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Vector_Float(AMX* amx, const char* func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Float_Cbase(AMX* amx, const char* func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_Float_Float(AMX* amx, const char* func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_FLOAT, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_Float(AMX* amx, const char* func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_Int_Int(AMX* amx, const char* func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Bool_Bool_Int(AMX* amx, const char* func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Str_Float_Float_Float(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_FLOAT, FP_FLOAT, FP_FLOAT, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Str_Float_Float_Float_Int_Cbase(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_FLOAT, FP_FLOAT, FP_FLOAT, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Str_Float_Float_Float_Bool_Cbase(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_FLOAT, FP_FLOAT, FP_FLOAT, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_Vector_Vector_Float_Float(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_ARRAY, FP_FLOAT, FP_FLOAT, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_Short(AMX* amx, const char* func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Entvar_Entvar_Float_Int_Int(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_FLOAT, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Vector_Entvar_Entvar_Float_Int_Int(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_CELL, FP_CELL, FP_FLOAT, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Float_Int_Float(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_FLOAT, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_Str(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Edict(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Int_Str_Bool(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_STRING, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Vector_Vector(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_ARRAY, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Str_Bool(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_Str_Str_Int_Str_Int_Int(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_STRING, FP_CELL, FP_STRING, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_Int_Int_Float_Int(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_FLOAT, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Str_Int(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Bool_Cbase_Int(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Cbase_Int(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Cbase_Int_Float(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Str(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_DONE);
|
|
}
|
|
|
|
|
|
int Create_Void_Vector(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_Str_Vector_Str(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_ARRAY, FP_STRING, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_Str_Str(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_STRING, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Float_Float(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_FLOAT, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Str_Str_Int(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_STRING, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_pVector_pVector_Cbase_pFloat(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_ARRAY, FP_CELL, FP_FLOAT, FP_DONE);
|
|
}
|
|
|
|
int Create_Bool_pVector_pVector_Cbase_pFloat(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_ARRAY, FP_CELL, FP_FLOAT, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Cbase_pVector_Float(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_ARRAY, FP_FLOAT, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_pVector_pVector_Float_Cbase_pVector(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_ARRAY, FP_FLOAT, FP_CELL, FP_ARRAY, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_Cbase_Bool(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Bool_Cbase_Bool(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_Vector_Vector(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_ARRAY, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_pVector_pVector(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_ARRAY, FP_DONE);
|
|
}
|
|
|
|
int Create_Bool_pVector_pVector(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_ARRAY, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_Entvar_Float(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_FLOAT, FP_DONE);
|
|
}
|
|
|
|
int Create_Bool_Entvar_Float(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_FLOAT, FP_DONE);
|
|
}
|
|
|
|
int Create_Float_Float(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Entvar_Entvar_Float(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_FLOAT, FP_DONE);
|
|
}
|
|
|
|
int Create_Bool_Void(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_pVector_pVector_Float_Cbase_pVector_pVector_Bool(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_ARRAY, FP_FLOAT, FP_CELL, FP_ARRAY, FP_ARRAY, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_Vector_Cbase(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_Vector(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_DONE);
|
|
}
|
|
|
|
int Create_Int_Cbase_pVector(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_ARRAY, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Bool(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Bool_Cbase(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Bool_Entvar(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Bool_Int(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Cbase_Float(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_FLOAT, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Cbase_Bool(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
int Create_Vector_Vector_Vector_Vector(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_ARRAY, FP_ARRAY, FP_DONE);
|
|
}
|
|
|
|
int Create_Str_Str(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_DONE);
|
|
}
|
|
|
|
int Create_Void_Short(AMX *amx, const char *func)
|
|
{
|
|
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
|
}
|
|
|
|
|
|
|
|
int Create_Deprecated(AMX* amx, const char* func)
|
|
{
|
|
return -1;
|
|
}
|