Raised This Month: $32 Target: $400
 8% 

Problem with pre-hooking events


Post New Thread Reply   
 
Thread Tools Display Modes
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 09-11-2014 , 09:19   Re: Problem with pre-hooking events
Reply With Quote #11

Jesus, i didn't read you correctly on mobile device..
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.
GsiX is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 09-11-2014 , 09:28   Re: Problem with pre-hooking events
Reply With Quote #12

As I recall, TF2 uses the "joinclass" command when players choose a class.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 09-11-2014 , 10:01   Re: Problem with pre-hooking events
Reply With Quote #13

i m about to edit my post above.. but @MaaSweetHeart so fast..

Getting the command like so:
PHP Code:
#include <sourcemod>

public OnPluginStart()
{
    
AddCommandListenerCommand_Test"" );
}

public 
Action:Command_TestiClientString:cmd[], args )
{
    
PrintToServer"CommandOutput: %s"cmd );
    return 
Plugin_Continue;

__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.

Last edited by GsiX; 09-11-2014 at 10:02.
GsiX is offline
yedpodtrzitko
Junior Member
Join Date: Sep 2014
Old 09-11-2014 , 14:28   Re: Problem with pre-hooking events
Reply With Quote #14

Awesome. Btw is there available the list of all these commands somewhere?
yedpodtrzitko is offline
Reply


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 21:48.


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