Bardziej coś takiego musi to być:
public Plugin info =
{
name = "Wymuszenie czasu rundy",
description = "",
author = "Adi - live4net",
version = "1.0",
url = "http://sklepcs.pl"
};
Handle roundtime;
public void OnPluginStart() {
roundtime = FindConVar("mp_roundtime")
HookConVarChange(roundtime, OnConVarChange)
}
public void OnConVarChange(Handle convar, const char[] oldValue, const char[] newValue) {
if (StrContains("2.5", newValue) != -1) SetConVarFloat(roundtime, 2.5)
}