Nie testowałem, ale ponoć jeśli się Pre-Hookuje, to można zmieniać w locie.
https://wiki.alliedmods.net/Events_(SourceMod_Scripting)
Rewriting Events
Rewriting events is just as easy -- events can be modified in pre hooks. For example, say we want to remove headshots from all events:
public void OnPluginStart()
{
HookEvent("player_death", Event_PlayerDeath, EventHookMode_Pre);
}
public Action Event_PlayerDeath(Event event, const char[] name, bool dontBroadcast)
{
event.SetBool("headshot", false);
return Plugin_Continue;
}
Oczywiście, jeśli tak nie zadziała, to Twój sposób, na 100% będzie skuteczny:)