ElmaysTro_OmAr Posted October 2, 2017 Share Posted October 2, 2017 (edited) السلام عليكم شباب اناا بصمم ماركر بائع سلاح المشكله المعايا دلوقتي انا مصمم Edit عشان عدد الطلقات ومحتاج اعرف الشرط الي يتحقق اذا كان بالأيديف حروف ولا لأ علشان طبعآ الكمية بتكون بالأررقام لو سمحتم ردو عليا Edited October 2, 2017 by ElmaysTro_OmAr Link to comment
Rakan# Posted October 2, 2017 Share Posted October 2, 2017 addEventHandler("onClientGUIClick",root, function() if source == b1 then local fp = guiGetText(edit1) local fp = tonumber(fp) if fp and type(fp) == "number" then outputChatBox("تم التحقق",0,255,0,true) else outputChatBox("Error",255,0,0,true) end end end) 1 Link to comment
Rockyz Posted October 2, 2017 Share Posted October 2, 2017 (edited) https://forum.multitheftauto.com/topic/56537-string-format/ Edited October 2, 2017 by #,+( _xiRoc[K]; > 1 Link to comment
ElmaysTro_OmAr Posted October 2, 2017 Author Share Posted October 2, 2017 شكر ليك اووووي Link to comment
Adham Posted October 2, 2017 Share Posted October 2, 2017 عندي طريقه احسن ممكن تسويها ب كل ايديت حقك addEventHandler ( "onClientGUIChanged", resourceRoot, function ( ) if source == edit2 or source == edit1 then if not tonumber(guiGetText(source)) then guiSetText (source, "") end end end ) Link to comment
Rockyz Posted October 3, 2017 Share Posted October 3, 2017 12 hours ago, Deativated said: عندي طريقه احسن ممكن تسويها ب كل ايديت حقك addEventHandler ( "onClientGUIChanged", resourceRoot, function ( ) if source == edit2 or source == edit1 then if not tonumber(guiGetText(source)) then guiSetText (source, "") end end end ) الطريقة هذي 18 hours ago, #,+( _xiRoc[K]; > said: https://forum.multitheftauto.com/topic/56537-string-format/ افضل من طريقتك طريقتك تمسح الكلام كامل 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