Some simple code i was writing for my jailbreak server to mute Ts at the beginning of every round. One other think i would love to add if someone doesnt mine showing me the light would be to unmute the last alive T but thats not as important as this error im getting:
error 100: function prototypes do not match
That error is on line 14 The HookEvent Line. I am a first timer so sorry if it's a rookie mistake.
PHP Code:
#include <sourcemod>
public Plugin:myinfo =
{
name = "TMute",
author = "TsG | | Turk",
description = "My First Source Mod Plugin",
version = "0.0.1",
url = "http://www.TopSecretGaming.net/"
};
public OnPluginStart()
{
HookEvent ("round_start", GameStart)
}
public Action:GameStart()
{
ServerCommand("sm_unmute @t")
return Plugin_Continue
}