xb0 Posted October 28, 2015 Posted October 28, 2015 السلام عليكم ورحمه الله وبركاته شباب انا ابغى كود حق تقريب الكلام يعني مثلا انا حاط مود الي يكتب بالشات سلاب يجيه سلاب اوك فا ابغى لو واحد كتب ابغى سلاب او اعطيني سلاب والكلمه المحدده سلاب فا اول ماتجي كلمه سلاب يعطي سلاب بس انا ابغى كود الي يقرب الكلام
Rockyz Posted October 28, 2015 Posted October 28, 2015 if ( string.find ( guiGetText ( edit, "HELLO" ) ) then عزيزي المحقق كونان هذا فقط مثال لاتقول وين الحدث ووين الاند
` Allawi Posted October 28, 2015 Posted October 28, 2015 addCommandHandler("example", function(player,command,...) message = table.concat({...}," ") if string.find(message,"example") then outputChatBox(message,player,0,255,0) else outputChatBox("There is no example",player,255,0,0) end end )
momar5700 Posted October 28, 2015 Posted October 28, 2015 addEventHandler('onPlayerChat',root, function(msg) if string.find(msg,'ابي سلاب') then killPed (source) outputChatBox("* [KFO]=|> تم إعطائك سلآب بنجاح <|=[KFO]",source,255,0,0,true); end end ) addEventHandler('onPlayerChat',root, function(msg) if string.find(msg,'أبي سلاب') then killPed (source) outputChatBox("* [KFO]=|> تم إعطائك سلآب بنجاح <|=[KFO]",source,255,0,0,true); end end ) addEventHandler('onPlayerChat',root, function(msg) if string.find(msg,'سلاب لاهنت') then killPed (source) outputChatBox("* [KFO]=|> تم إعطائك سلآب بنجاح <|=[KFO]",source,255,0,0,true); end end )
!#NssoR_) Posted October 29, 2015 Posted October 29, 2015 addEventHandler('onPlayerChat',root, function(msg) if string.find(msg,'ابي سلاب') then killPed (source) outputChatBox("* [KFO]=|> تم إعطائك سلآب بنجاح <|=[KFO]",source,255,0,0,true); end end ) addEventHandler('onPlayerChat',root, function(msg) if string.find(msg,'أبي سلاب') then killPed (source) outputChatBox("* [KFO]=|> تم إعطائك سلآب بنجاح <|=[KFO]",source,255,0,0,true); end end ) addEventHandler('onPlayerChat',root, function(msg) if string.find(msg,'سلاب لاهنت') then killPed (source) outputChatBox("* [KFO]=|> تم إعطائك سلآب بنجاح <|=[KFO]",source,255,0,0,true); end end ) تقدر تختصر بهذا الشكل . addEventHandler('onPlayerChat',root, function(msg) if string.find(msg,'ابي سلاب') or string.find(msg,'صكوني سلاب') or string.find(msg,'عطوني سلاب') then killPed (source) outputChatBox("* [KFO]=|> تم إعطائك سلآب بنجاح <|=[KFO]",source,255,0,0,true); end end )
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now