View Single Post
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 08-29-2012 , 15:01   Re: [CSS + CS:GO] PUG Mod (ESEA Without The Fees)
Reply With Quote #16

Quote:
Originally Posted by dbondan View Post
Sounds promising, i don't know what is triggering it since i don't understand the language fully. I'll look into it while you do it too.

The "say"/"say_team" commands seemed to be working for me, it tells me to write /ready though the server switches the map after 3 sec (if that's what you meant to fix).
So, instead of...

// Hooks
RegConsoleCmd("say",SayPubHook);
RegConsoleCmd("say_team",SayTeamHook);
CreateTimer(1.0, OneSecCheck, _, TIMER_REPEAT);
}

...it's...

// Hooks
RegConsoleCmd("sm_say",SayPubHook);
RegConsoleCmd("sm_say_team",SayTeamHook);
CreateTimer(1.0, OneSecCheck, _, TIMER_REPEAT);
}

..?

Send me the file and i can test it on my server: 81.234.147.200:27016
It should be a different function for any command..
Compile it: http://pastebin.com/P8TgxV1u
__________________
retired
shavit is offline