Premium Реклама Spotlight Bundles Boost Банери Кредити
Основно Начало Сървъри Marketplace Форум Сървъри
Общности Хостинг Добави Auction Boost
Ресурси
Библиотеки Карти Видеа Магазин Bundles
Инструменти
Builder Demo CFG HUD
AMXX API
Вход Регистрация
TOP SERVER
[IG] Easy Surf | Ramp Fix | RANKS | REPLAYS
Counter-Strike 1.6
surf_flyin_fortress
40.160.19.36:27015
18.05 18:49
8/64
186ms
/ Библиотеки / orpheu_advanced.inc

orpheu_advanced.inc

.inc 2.5 KB 78 реда 04.04.2026
Pawn / AMX Mod X

#if defined _orpheu_advanced_included
	#endinput
#endif
#define _orpheu_advanced_included

#include <orpheu_const>

/**
 *  Gets the bytes found at an address
 *
 * @param address			The direct address in memory
 * @param bytes				An array to hold the bytes
 * @param count				The number of bytes to get
 */
native OrpheuGetBytesAtAddress(address,bytes[],count)

/**
 *  Gets the address in memory of a function given a handler to it
 *
 * @param function			A handler to the function
 *
 * @return 					The address o the function
 */
native OrpheuGetFunctionAddress(OrpheuFunction:function)

/**
 *  Gets a handle to a struct given an address in memory
 *
 * @param structType		The type of the struct
 * @param address			The address where the struct is in
 *
 * @return 					A handler to the struct
 */
native OrpheuStruct:OrpheuGetStructFromAddress(OrpheuStructType:structType,address)

/**
 *  Gets the handler to a function given its address and the name that you give it in the file where you define the function
 *
 * @param address			The address where the function is
 * @param libFunctionName	The name of the function as it is in the file where the function is defined
 * @param className			The name of the class if the function belongs to one
 *
 * @return 					A handler to the function
 */
native OrpheuFunction:OrpheuCreateFunction(address,const libFunctionName[],const classname[]="")

/**
 *  Gets the offset of the adress where the function is located to the base address of its library
 *
 * @param function			A handler to the function
 *
 * @return 					The offset
 */
native OrpheuGetFunctionOffset(OrpheuFunction:function)

/**
 *  Gets the adress of a library
 *
 * @param libraryName		The name of the library. For the mod library (cstrike,czero,etc) use "mod"
 *
 * @return 					The address
 */
native OrpheuGetLibraryAddress(const libraryName[])

/**
 *  This native should retrieve the address of functions called from an address
 *  For example by passing the address of the function X, and 1 as n, it should retrieve the address of the first
 * function called in X. It isn't confirmed to work on every condition and it should be use for experiments only
 * to help retrieving functions on Windows
 *
 * @param address			The address to start the search at
 * @param number			The number of the the call starting at 1 from the address
 *
 * @return 					The address of the function called
 */
native OrpheuGetNextCallAtAddress(address,number)
РЕКЛАМИРАЙ ПРИ НАС!
AMXX-BG.INFO
КАК ДА ИЗПОЛЗВАМ
Добави в началото на .sma файла:
#include <orpheu_advanced>
1. Изтегли
Свали файла от бутона по-горе
2. Копирай
Постави в scripting/include/
3. Включи
Добави #include директивата
4. Компилирай
Използвай amxxpc или scripting/compile.exe
PrivateServ.NET