Hi , I tried to use this plugin
https://github.com/MitchDizzle/Extended-PaintBall for paintball but the I get this error even if I have the paintball.games.txt in gamedata.
Code:
[paintball.smx] [PaintBall] Unable to load ReloadOrSwitchWeapons offset
[paintball.smx] [PaintBall] Unable to load Reload offset
Anyone knows how to solve this ?
This is where the error is thrown .
Code:
public void loadOffsets() {
Handle hGameConf = LoadGameConfigFile("paintball.games");
StartPrepSDKCall(SDKCall_Entity);
PrepSDKCall_SetFromConf(hGameConf, SDKConf_Virtual, "ReloadOrSwitchWeapons");
if ((hReloadOrSwitchWeapons = EndPrepSDKCall()) == null) { // dunno why the Handler is null here
LogError("[PaintBall] Unable to load ReloadOrSwitchWeapons offset");
}
StartPrepSDKCall(SDKCall_Entity);
PrepSDKCall_SetFromConf(hGameConf, SDKConf_Virtual, "Reload");
if ((hReload = EndPrepSDKCall()) == null) {
LogError("[PaintBall] Unable to load Reload offset");
}
}