0 Üye ve 1 Ziyaretçi konuyu incelemekte.
function slap(thePlayer, msg) if string.find(msg, 'slap') then -- Searches for the string 'slap' in the message sent killPed (thePlayer, thePlayer) -- Kills that player that typed the string 'slap' endend --End of the functionaddEventHandler("onPlayerChat", getRootElement(), slap)
addEventHandler ( "onClientChatMessage", root, function ( text ) for i,v in pairs ( Yazılar ) do if string.find(text, v) then cancelEvent() endendend)