^iiEcoo'x_) Posted June 9, 2017 Share Posted June 9, 2017 السلام عليكم , طلب واضح بس بعطيكم مثال اذا كان معي من 10 - 15 يعطيني فلوس ما ودي اسوي 10 او 11 او 12 او 13 او 14 او 15 بسوي رقمين واللي بيناتهن يدخل بالإختيار أتمنى فهمتوني Link to comment
AE. Posted June 9, 2017 Share Posted June 9, 2017 (edited) --Delete Edited June 9, 2017 by 3laa33 Link to comment
^iiEcoo'x_) Posted June 9, 2017 Author Share Posted June 9, 2017 58 minutes ago, ` Allawi said: math.random(10,15) لا أخوي مو رقم عشوائي Link to comment
` Allawi Posted June 9, 2017 Share Posted June 9, 2017 4 minutes ago, #_iMr.[E]coo said: لا أخوي مو رقم عشوائي الصراحة انا اللي فهمته رقم عشوائي بس لو تقدر توضح اللي تبيه بطريقة افضل عشان نفهم Link to comment
^iiEcoo'x_) Posted June 9, 2017 Author Share Posted June 9, 2017 أنا معي فلوس وبتشري سلاح وهذا السلاح سعر 10 او 11 او 12 او 13 بتحقق انه اللاعب معه 10 او 11 او 12 او 13 انا م ودي كذا ودي اتحقق انه معه من الرقم 10 إلى الرقم 13 Link to comment
` Allawi Posted June 9, 2017 Share Posted June 9, 2017 اتوقع كذا تقصد ؟ if value >= 10 and value <= 13 then Link to comment
Mhmd.z Posted June 9, 2017 Share Posted June 9, 2017 (edited) 1 hour ago, #_iMr.[E]coo said: أنا معي فلوس وبتشري سلاح وهذا السلاح سعر 10 او 11 او 12 او 13 بتحقق انه اللاعب معه 10 او 11 او 12 او 13 انا م ودي كذا ودي اتحقق انه معه من الرقم 10 إلى الرقم 13 الي فهمته انك ما تبي تجلس تسوي تحقق لآكثر من عدد , تقدر تسخدم اللوب شوف مثال local minm = 10 local maxm = 15 for i=minm,maxm do if ( getPlayerMoney() >= i ) then if (i == maxm) then outputDebugString("You have the price") end else outputDebugString("You havn't the price") break end end اتوقع انها الاكواد مفهومه Edited June 9, 2017 by Mhmd.z 1 Link to comment
^iiEcoo'x_) Posted June 9, 2017 Author Share Posted June 9, 2017 10 minutes ago, Mhmd.z said: الي فهمته انك ما تبي تجلس تسوي تحقق لآكثر من عدد , تقدر تسخدم اللوب شوف مثال local minm = 10 local maxm = 15 for i=minm,maxm do if ( getPlayerMoney() >= i ) then if (i == maxm) then outputDebugString("You have the price") end else outputDebugString("You havn't the price") break end end اتوقع انها الاكواد مفهومه شكرأ , ما خطرت ع بالي , أشكرك جزيل الشكر Link to comment
Mhmd.z Posted June 9, 2017 Share Posted June 9, 2017 Just now, #_iMr.[E]coo said: شكرأ , ما خطرت ع بالي , أشكرك جزيل الشكر العفو ولو 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