#,Dr.To[sh]iBa Posted May 11, 2018 Posted May 11, 2018 local aCodes = { ":", "*", "&" } addEventHandler("onPlayerConnect",root, function ( plrname ) for _,v in ipairs ( aCodes ) do if string.find ( tostring ( plrname ) , v ) then cancelEvent( true , "استخدام رموز ممنوعة" ) end end end ) وش المشكلة في الكود ؟
+Source|> Posted May 11, 2018 Posted May 11, 2018 (edited) 3 hours ago, abulghar said: local aCodes = { ":", "*", "&" } addEventHandler("onPlayerConnect",root, function ( plrname ) for _,v in ipairs ( aCodes ) do if string.find ( tostring ( plrname ) , v ) then cancelEvent( true , "استخدام رموز ممنوعة" ) end end end ) وش المشكلة في الكود ؟ الكود شغال انت ضيفه لجروب ادمن Edited May 11, 2018 by +Source|>
#,Dr.To[sh]iBa Posted May 11, 2018 Author Posted May 11, 2018 Just now, +Source|> said: الكود شغال انت ضيفه لمود الأدمن ضايفه وما اشتغل
+Source|> Posted May 11, 2018 Posted May 11, 2018 Just now, abulghar said: ضايفه وما اشتغل طيب انت لازم تحط في اسمك رمز من الرموز الممنوعه واطلع وادخل
فاّرس Posted May 11, 2018 Posted May 11, 2018 كيف طريقة تجربتك للكود؟ لازم تطلع وتدخل أو "onResourceStart" ضيف حدث
#,Dr.To[sh]iBa Posted May 11, 2018 Author Posted May 11, 2018 1 hour ago, Sha67 said: كيف طريقة تجربتك للكود؟ لازم تطلع وتدخل أو "onResourceStart" ضيف حدث ابي لما ادخل يقلي ممنوع
#StrOnG_,) Posted May 11, 2018 Posted May 11, 2018 2 minutes ago, #\_oskar_/# said: تاكد انك حاطه جهة سيرفر لسه حي؟
#\_oskar_/# Posted May 11, 2018 Posted May 11, 2018 4 minutes ago, #StrOnG_,) said: لسه حي؟ الحمدلله وباكل وبشرب كمان 1
#StrOnG_,) Posted May 11, 2018 Posted May 11, 2018 5 minutes ago, #\_oskar_/# said: الحمدلله وباكل وبشرب كمان سبحان الله 6 hours ago, abulghar said: local aCodes = { ":", "*", "&" } addEventHandler("onPlayerConnect",root, function ( plrname ) for _,v in ipairs ( aCodes ) do if string.find ( tostring ( plrname ) , v ) then cancelEvent( true , "استخدام رموز ممنوعة" ) end end end ) وش المشكلة في الكود ؟ تاكد انك حاطه server side وورنا الميتا
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