Raised This Month: $ Target: $400
 0% 

NEED A CODE


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Pepe.argento
Member
Join Date: Jul 2008
Old 08-04-2008 , 18:39   Re: NEED A CODE
Reply With Quote #6

Quote:
Originally Posted by [X]-RayCat View Post
Code:
#include <amxmodx> public plugin_init() { register_plugin("Spamblock", "1.0", "unknown"); register_clcmd("say", "cmd_say"); register_clcmd("say_team", "cmd_say"); } public cmd_say(id) { new arg[17]; read_argv(id, arg, 16); if(equal(arg, "[XJ]")) { new name[33]; get_user_name(id, name, 32); server_cmd("amx_kick %s Xj spam", name); } }


That will kick player if they say [XJ] on chat... ^^
Don't like.. No kick... replace, no kiked
__________________
Sry for my bad inglish ... I Tandil (argentina)
Pepe.argento is offline
 



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 05:40.


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