Raised This Month: $ Target: $400
 0% 

Very short simple script. First timer


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
TsG_Turk
Junior Member
Join Date: Aug 2011
Old 08-04-2011 , 17:37   Very short simple script. First timer
Reply With Quote #1

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

TsG_Turk is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:31.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode