#,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|> My Website
#,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: ضايفه وما اشتغل طيب انت لازم تحط في اسمك رمز من الرموز الممنوعه واطلع وادخل My Website
فاّرس Posted May 11, 2018 Posted May 11, 2018 كيف طريقة تجربتك للكود؟ لازم تطلع وتدخل أو "onResourceStart" ضيف حدث Sha67 سابقاً
#,Dr.To[sh]iBa Posted May 11, 2018 Author Posted May 11, 2018 1 hour ago, Sha67 said: كيف طريقة تجربتك للكود؟ لازم تطلع وتدخل أو "onResourceStart" ضيف حدث ابي لما ادخل يقلي ممنوع حياكم الله في سيرفر طارات العرب تنورونا ~ *من يعيش علي الامل لا يعرف المستحيل*
#\_oskar_/# Posted May 11, 2018 Posted May 11, 2018 تاكد انك حاطه جهة سيرفر 1 سبحان الله وبحمده سبحان الله العظيم
#StrOnG_,) Posted May 11, 2018 Posted May 11, 2018 2 minutes ago, #\_oskar_/# said: تاكد انك حاطه جهة سيرفر لسه حي؟ Quote "I ain't saying I'm the best, but I should be in the top ten; give me a list of names, I'ma top them, I'm just playing with ya. I don't care where the top is, Leave me at the bottom, let me work for it." _________________________________________________________________________________________________________________ ACM W_#9661
#\_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 وورنا الميتا Quote "I ain't saying I'm the best, but I should be in the top ten; give me a list of names, I'ma top them, I'm just playing with ya. I don't care where the top is, Leave me at the bottom, let me work for it." _________________________________________________________________________________________________________________ ACM W_#9661
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