Raised This Month: $ Target: $400
 0% 

Kick player by chat


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
REDMX
New Member
Join Date: Oct 2011
Old 10-26-2011 , 14:03   Kick player by chat
Reply With Quote #1

Hello guys,
I´m new here and i started programming in pawn a few weeks ago...
And now i'm trying to kick someone using the counter-strike chat..

Code:
public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)
    register_clcmd("say .kick","KickPlayers",ADMIN_BAN );
    
    
}
public KickPlayers(id)
{
    new Arg1[24]
    read_argv(1, Arg1, 23)
    server_cmd("kick Arg1")
    
    return PLUGIN_HANDLED
}
Well, i cant put this working...

Can someone help a newbie..?

Ty and Sorry for my english

Last edited by REDMX; 10-26-2011 at 14:04.
REDMX 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 14:21.


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