Raised This Month: $ Target: $400
 0% 

help me whit this script pleas


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
biobio
New Member
Join Date: Jul 2006
Location: behind uu!
Old 07-13-2006 , 10:48   help me whit this script pleas
Reply With Quote #1

Code:
#include <amxmodx>

new phrase[5][] = {"kanker", "kk", "kenker", "hoer", "neger"}

public say_event(id)
{
new sid[10]
num_to_str(id,sid,10)
new said[192]
read_args(said,191)

for(new i = 0 ;i < 4; i += 1)
if(containi(said,phrase[i]) != -1)
set_task(1.0,"client",0,sid,10)
}

public client(sid[])
{
new id = str_to_num(sid)
engclient_cmd(id,"say", "ik ben een ZIELIGE! LOZER!!! ik kan alleen maar schelden!!!!")
set_user_info(id,"name","ikbenzielig!!")
user_slap(id,10)
client_print(id, print_chat, "[AMXX] Je bent geslapt voor schelden, niet weer doen dit is een waarschuwing")
}

public plugin_init()
{
register_plugin("DONTsay","1.0","biohazz")
register_clcmd("say","say_event")
return PLUGIN_CONTINUE
}
(some of it is dutch so maby some of u dont understand)
i want to make it that when some 1 says 1 of the words for the second time hes getting slayd and when he says 1 of those words for the thirdt time that he is getting kickt but i cant get it work can some 1 do that for me pleas? (im a noob in scripting )
biobio 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 08:03.


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