Admin Admin
Mesaj Sayısı : 28 Kayıt tarihi : 03/07/11
| Konu: Kötü Sözleri EngeLleme C.tesi Tem. 09, 2011 12:57 pm | |
| - Kod:
-
if sample==nil then sample={} end sample.badwords={}
sample.badwords.words = {"hitler","fuck","bitch","cunt","ass","whore","nigger","shit","ana","anan","ananı","sik","sikeyim","aq","ibne","orospu","oruspu","got","penis"}
addhook("say","sample.badwords.say") function sample.badwords.say(p,t) t=string.lower(t) for i = 1,#sample.badwords.words do if (string.find(t,sample.badwords.words[i])~=nil) then msg(player(p,"name").." kotu soz soylemeyiniz!") parse("slap "..p) return 1 end end end | |
|