Dr.Xen Posted February 4, 2014 Author Share Posted February 4, 2014 يخي وش تحسب هذي لعبة لعبة لعبة مب حقيقي .. شباب ابي انا كتبت باللوحة اكتب عدد المخدرات اقصى حد 500..ابيه لمن يضغط عليه يروح الكتابة ويقدر يكتب Link to comment
K1NG Posted February 4, 2014 Share Posted February 4, 2014 يخي وش تحسب هذي لعبة لعبة لعبة مب حقيقي.. شباب ابي انا كتبت باللوحة اكتب عدد المخدرات اقصى حد 500..ابيه لمن يضغط عليه يروح الكتابة ويقدر يكتب Event: "onClientGUIClick" guiGetText guiSetText Link to comment
Dr.Xen Posted February 4, 2014 Author Share Posted February 4, 2014 ي اخوي ممكن تسويهم انا ما اعرف@ Link to comment
al-Kobra Posted February 4, 2014 Share Posted February 4, 2014 addEventHandler("onClientGUIChanged", Edit, function() if guiGetText ( source ) > 500 then guiSetText ( source, 500 ) end end ) هذا اذا العدد اكثر من 500 يخليه 500 ,, بالنسبة للطلب الثاني addEventHandler("onClientGUIClick", Edit, function() if guiGetText ( Edit ) ~= "" then guiSetText ( source, "" ) end end ) هذا مو متأكد منه ,, بس جربه Link to comment
#DRAGON!FIRE Posted February 4, 2014 Share Posted February 4, 2014 addEventHandler( "onClientGUIChanged", Edit, function( ) if ( tonumber( string.len( guiGetText ( source ) ) ) > 500 ) then guiSetText ( source, 500 ) end end ) Link to comment
jafar Posted February 4, 2014 Share Posted February 4, 2014 string.len !! مايبي عدد الأرقام Link to comment
#Rmad~> Posted February 5, 2014 Share Posted February 5, 2014 يخي وش تحسب هذي لعبة لعبة لعبة مب حقيقي.. شباب ابي انا كتبت باللوحة اكتب عدد المخدرات اقصى حد 500..ابيه لمن يضغط عليه يروح الكتابة ويقدر يكتب جاي ابي اونسكم شوي ادري انها لعبةة وفله Link to comment
#DRAGON!FIRE Posted February 5, 2014 Share Posted February 5, 2014 string.len !!مايبي عدد الأرقام مدري .. احسب يبي عدد الأرقام ذذ Link to comment
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