Adham Posted January 30, 2018 Share Posted January 30, 2018 سلام عليكم ورحمها لله اليوم سويت كود جاء خطا فيه ERROR: vMode/Server.lua:351: attempt to perfrom arithmetic on filed '?' (a nil value) السطر Table [ source ] = Table [ source ] + 1 if Table [ source ] >= 3 then cancelEvent ( ) end Link to comment
Master_MTA Posted January 30, 2018 Share Posted January 30, 2018 13 minutes ago, -Le[3]bA. said: up. Table [ source ] = tonumber(Table [ source ]) + 1 ونفس الششي مع التحقق if tonumber(Table [ source ]) >= 3 then Link to comment
#Soking Posted January 31, 2018 Share Posted January 31, 2018 or 0 لان بعد ترجمة الكود و انت مو بالجدول بيكون القيمه nil وانت كده بتقارن شئ معدوم ب رقم ف الافضل تسخدم or وظيفتها تاخد القيمه ال بعدها لو القيمه ال قبلها لا تساوي ترو و اي قيمه غير فولس و nil تعتبر ترو if ( Table[source] or 0 >= 3 ) then 1 Link to comment
Adham Posted January 31, 2018 Author Share Posted January 31, 2018 طيب شباب, بتعبكم معي. كنت أبي طريقه اجيب إسم حساب اللاعب عن طريق سرياله هل إقدر ؟ Link to comment
SycroX Posted January 31, 2018 Share Posted January 31, 2018 (edited) getAccountsBySerial Edited January 31, 2018 by #x1AhMeD,-09 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