Nice releases, as always!
Suggestion: Instead of worrying about updating your gamedata, you can use
PHP Code:
GameData hTF2 = new GameData("sm-tf2.games"); // sourcemod's tf2 gamdata
if (!hTF2)
SetFailState("This plugin is designed for a TF2 dedicated server only.");
StartPrepSDKCall(SDKCall_Player);
PrepSDKCall_SetVirtual(hTF2.GetOffset("RemoveWearable") - 1); // EquipWearable offset is always behind RemoveWearable, subtract its value by 1
PrepSDKCall_AddParameter(SDKType_CBaseEntity, SDKPass_Pointer);
g_hEquipWearable = EndPrepSDKCall();
if (!g_hEquipWearable)
SetFailState("Failed to create call: CBasePlayer::EquipWearable");
delete hTF2;
__________________