1.1 --- a/plugins/include/sdktools.inc Tue May 06 18:48:53 2014 -0700
1.2 +++ b/plugins/include/sdktools.inc Wed May 07 12:58:16 2014 -0400
1.3 @@ -72,6 +72,7 @@
1.4 {
1.5 SDKConf_Virtual = 0, /**< Read a virtual index from the Offsets section */
1.6 SDKConf_Signature = 1, /**< Read a signature from the Signatures section */
1.7 + SDKConf_Address = 2, /**< Read an address from the Addresses section */
1.8 };
1.9
1.10 enum SDKType
1.11 @@ -131,6 +132,14 @@
1.12 native bool:PrepSDKCall_SetSignature(SDKLibrary:lib, const String:signature[], bytes);
1.13
1.14 /**
1.15 + * Uses the given function address for the SDK call.
1.16 + *
1.17 + * @param addr Address of function to use.
1.18 + * @return True on success, false on failure.
1.19 + */
1.20 +native bool:PrepSDKCall_SetAddress(Address:addr);
1.21 +
1.22 +/**
1.23 * Finds an address or virtual function index in a GameConfig file and sets it as
1.24 * the calling information for the SDK call.
1.25 *