OrpheuGetEngineFunction

Синтаксис

stock OrpheuFunction:OrpheuGetEngineFunction(const memberName[],const libFunctionName[])

Употреба

memberName
The name of the member of the struct that holds the address of the function
Example: pfnPrecacheModel
The struct representation can be seen in hlsdk at multiplayer/engine/eiface.h with the name "enginefuncs_s"
libFunctionName
The name of the function as it is in the file where the function is defined

Описание

Retrieves an engine function handler by having its name as a member of the struct that hold
engine functions and the name that you give it in the file where you define the function
 The name must be the same as the one in the file where the function is defined

Връщаща стойност

A handler to the function