Raised This Month: $ Target: $400
 0% 

Solved Get Variable Address, Is it possible?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ABCDEFGH23
Junior Member
Join Date: Jun 2020
Location: HEEELP!!!
Old 10-07-2020 , 03:36   Get Variable Address, Is it possible?
Reply With Quote #1

PHP Code:
#include <sourcemod>
#include <sdktools>

Handle hTest;

public 
void OnPluginStart(){

Handle Config LoadGameConfigFile("config");

StartPrepSDKCall(SDKCall_Static);
PrepSDKCall_SetFromConf(ConfigSDKConf_Signature"ABCDEFG");
PrepSDKCall_AddParameter(SDKType_PlainOldDataSDKPass_Plain);
hTest EndPrepSDKCall();

CloseHandle(Config);

RegConsoleCmd("GetAddress"getaddress);

}

public 
Action getaddress(int clientint args){
int var1[3];
SDKCall(hTest, &var1);
PrintToConsole(client"%d"var1[0]+var1[1]+var1[2]);
return 
Plugin_Handled;


Last edited by ABCDEFGH23; 10-07-2020 at 22:03.
ABCDEFGH23 is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:33.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode