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