Remove version checks from all include files
This commit is contained in:
@@ -27,13 +27,9 @@
|
||||
|
||||
#include <ham_const>
|
||||
|
||||
#if AMXX_VERSION_NUM >= 175
|
||||
#pragma reqlib hamsandwich
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma loadlib hamsandwich
|
||||
#endif
|
||||
#else
|
||||
#pragma library hamsandwich
|
||||
#pragma reqlib hamsandwich
|
||||
#if !defined AMXMODX_NOAUTOLOAD
|
||||
#pragma loadlib hamsandwich
|
||||
#endif
|
||||
|
||||
/**
|
||||
@@ -320,24 +316,24 @@ native GetHamItemInfo(iteminfo_handle, HamItemInfo:type, any:...);
|
||||
*/
|
||||
native SetHamItemInfo(iteminfo_handle, HamItemInfo:type, any:...);
|
||||
|
||||
/**
|
||||
* Creates an ItemInfo handle. This value should never be altered.
|
||||
* The handle can be used in Get/SetHamItemInfo.
|
||||
*
|
||||
* NOTE: You must call FreeHamItemInfo() on every handle made with CreateHamItemInfo().
|
||||
*
|
||||
* @return A new ItemInfo handle.
|
||||
*/
|
||||
native CreateHamItemInfo();
|
||||
|
||||
/**
|
||||
* Frees an ItemIndo handle created with CreateHamItemInfo(). Do not call
|
||||
* this more than once per handle, or on handles not created through
|
||||
* CreateHamItemInfo().
|
||||
*
|
||||
* @param itemInfo_handle ItemInfo handle created via CreateHamItemInfo().
|
||||
* @noreturn
|
||||
*/
|
||||
/**
|
||||
* Creates an ItemInfo handle. This value should never be altered.
|
||||
* The handle can be used in Get/SetHamItemInfo.
|
||||
*
|
||||
* NOTE: You must call FreeHamItemInfo() on every handle made with CreateHamItemInfo().
|
||||
*
|
||||
* @return A new ItemInfo handle.
|
||||
*/
|
||||
native CreateHamItemInfo();
|
||||
|
||||
/**
|
||||
* Frees an ItemIndo handle created with CreateHamItemInfo(). Do not call
|
||||
* this more than once per handle, or on handles not created through
|
||||
* CreateHamItemInfo().
|
||||
*
|
||||
* @param itemInfo_handle ItemInfo handle created via CreateHamItemInfo().
|
||||
* @noreturn
|
||||
*/
|
||||
native FreeHamItemInfo(itemInfo_handle);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user