Adham Posted October 26, 2017 Share Posted October 26, 2017 سلام عليكم ورحمه الله وبركاته كنت مسوي مود وكذا جاء لي خطأ attempt to call filed insert ( a nil value ) مدري شو فيه الكود getPlayers = function ( ) local a = { }; for i, v in ipairs ( getElementsByType ( "player" ) ) do if getData ( v ) then table.insert ( a, v ) end end return a end وملحوظه : getData معرفه Link to comment
TAPL Posted October 26, 2017 Share Posted October 26, 2017 table بالغالب انت مسوي جدول بالأسم table = {} غير اسم الجدول إلى اي اسم آخر 2 Link to comment
Adham Posted October 26, 2017 Author Share Posted October 26, 2017 Just now, TAPL said: table بالغالب انت مسوي جدول بالأسم table = {} غير اسم الجدول إلى اي اسم آخر ايه طلعت مسوي عشان البحث وغيرته وظبت شكرأ لك, تم الإفادة 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