MA[S]RIY Posted March 23, 2017 Share Posted March 23, 2017 السلام عليكم وش الكلمه الي اكتبها باف 8 علشان اعرف المشاكل الي بالكود الي هو الدي بق Link to comment
AHMED MOSTAFA Posted March 23, 2017 Share Posted March 23, 2017 Just now, MARIY said: السلام عليكم وش الكلمه الي اكتبها باف 8 علشان اعرف المشاكل الي بالكود الي هو الدي بق debugscript 3 Link to comment
MA[S]RIY Posted March 24, 2017 Author Share Posted March 24, 2017 16 hours ago, Killer Project said: debugscript 3 شكرا Link to comment
AHMED MOSTAFA Posted March 24, 2017 Share Posted March 24, 2017 Just now, MARIY said: شكرا عفواً مدري وش صار لحتا جا خط بنص الكلمة وما عندي مخالفات Link to comment
MA[S]RIY Posted March 27, 2017 Author Share Posted March 27, 2017 (edited) طيب اخي في استفسار اخير في مود لازم اشغلو ولا لا وفي شئ بعدلو في الكلمه debugscript 3 ولا بكتبه وبس Edited March 27, 2017 by MA[S]RIY Link to comment
#BrosS Posted March 27, 2017 Share Posted March 27, 2017 1 minute ago, MARIY said: طيب اخي في استفسار اخير في مود لازم اشغلو ولا لا لااع الدي بق يتثبت مع اللعبة ماتقدر تطفيه ولا تسويله شي لول ليه اكتب هيك !!!!؟؟؟؟؟ Link to comment
MA[S]RIY Posted March 27, 2017 Author Share Posted March 27, 2017 طيب هو جبلي كده كده يعني الغلط فين ؟ Link to comment
Abu-Solo Posted March 27, 2017 Share Posted March 27, 2017 1 minute ago, MARIY said: طيب هو جبلي كده كده يعني الغلط فين ؟ اطرح الكود االلي فيه المشكلة Link to comment
AHMED MOSTAFA Posted March 27, 2017 Share Posted March 27, 2017 Just now, MARIY said: طيب هو جبلي كده كده يعني الغلط فين ؟ المشكلة في مود اسمه tagggg في ملف c_masriy.lua في السطر 26 Link to comment
MA[S]RIY Posted March 28, 2017 Author Share Posted March 28, 2017 ذا الكود الي فيه المشكله local www = dxCreateFont("arial.ttf",13) function () for i,k in ipairs (getElementsByType("player")) do if k ~= localPlayer and getElementData (k,"MASRIY") then dxDrawTextOnElement(k,getElementData (k,"MASRIY") or '',1,20,0,0,255,255,1,www) if ( getElementData (k,"MASRIY") == '[Console]' or getElementData (k,"MASRIY") == '[Head.Admin]' or getElementData (k,"MASRIY") == '[Councils]' ) then dxDrawTextOnElement(k,getElementData (k,"MASRIY") or '',1,20,math.random(0, 255), math.random(0, 255), math.random(0, 255),255,1,www) else if ( getElementData (k,"MASRIY") ~= '[Console]' or getElementData (k,"MASRIY") ~= '[[Head.Admin]' or getElementData (k,"MASRIY") ~= '[Councils]' ) then end end end end setTimer( function() removeEventHandler( 'onClientRender', root, render ) addEventHandler( 'onClientRender', root, render ) end, 300, 0 ) Link to comment
Abu-Solo Posted March 28, 2017 Share Posted March 28, 2017 1 hour ago, MARIY said: ذا الكود الي فيه المشكله local www = dxCreateFont("arial.ttf",13) function () for i,k in ipairs (getElementsByType("player")) do if k ~= localPlayer and getElementData (k,"MASRIY") then dxDrawTextOnElement(k,getElementData (k,"MASRIY") or '',1,20,0,0,255,255,1,www) if ( getElementData (k,"MASRIY") == '[Console]' or getElementData (k,"MASRIY") == '[Head.Admin]' or getElementData (k,"MASRIY") == '[Councils]' ) then dxDrawTextOnElement(k,getElementData (k,"MASRIY") or '',1,20,math.random(0, 255), math.random(0, 255), math.random(0, 255),255,1,www) else if ( getElementData (k,"MASRIY") ~= '[Console]' or getElementData (k,"MASRIY") ~= '[[Head.Admin]' or getElementData (k,"MASRIY") ~= '[Councils]' ) then end end end end setTimer( function() removeEventHandler( 'onClientRender', root, render ) addEventHandler( 'onClientRender', root, render ) end, 300, 0 ) طيب, اكتب في اف 8 debugscript 3 وبعدين سوي اعادة تشغيل لـ المود وقولنا وش يقولك Link to comment
AHMED MOSTAFA Posted March 28, 2017 Share Posted March 28, 2017 Just now, MARIY said: ذا الكود الي فيه المشكله local www = dxCreateFont("arial.ttf",13) function () for i,k in ipairs (getElementsByType("player")) do if k ~= localPlayer and getElementData (k,"MASRIY") then dxDrawTextOnElement(k,getElementData (k,"MASRIY") or '',1,20,0,0,255,255,1,www) if ( getElementData (k,"MASRIY") == '[Console]' or getElementData (k,"MASRIY") == '[Head.Admin]' or getElementData (k,"MASRIY") == '[Councils]' ) then dxDrawTextOnElement(k,getElementData (k,"MASRIY") or '',1,20,math.random(0, 255), math.random(0, 255), math.random(0, 255),255,1,www) else if ( getElementData (k,"MASRIY") ~= '[Console]' or getElementData (k,"MASRIY") ~= '[[Head.Admin]' or getElementData (k,"MASRIY") ~= '[Councils]' ) then end end end end setTimer( function() removeEventHandler( 'onClientRender', root, render ) addEventHandler( 'onClientRender', root, render ) end, 300, 0 ) جرب local www = dxCreateFont("arial.ttf",13) function render () for i,k in ipairs (getElementsByType("player")) do if k ~= localPlayer and getElementData (k,"MASRIY") then dxDrawTextOnElement(k,getElementData (k,"MASRIY") or '',1,20,0,0,255,255,1,www) if ( getElementData (k,"MASRIY") == '[Console]' or getElementData (k,"MASRIY") == '[Head.Admin]' or getElementData (k,"MASRIY") == '[Councils]' ) then dxDrawTextOnElement(k,getElementData (k,"MASRIY") or '',1,20,math.random(0, 255), math.random(0, 255), math.random(0, 255),255,1,www) else if ( getElementData (k,"MASRIY") ~= '[Console]' or getElementData (k,"MASRIY") ~= '[[Head.Admin]' or getElementData (k,"MASRIY") ~= '[Councils]' ) then end end end end setTimer( function() removeEventHandler( 'onClientRender', root, render ) addEventHandler( 'onClientRender', root, render ) end, 5000, 1 ) Link to comment
AHMED MOSTAFA Posted March 28, 2017 Share Posted March 28, 2017 Just now, #BrosS said: @Killer Project كودك غلط ما سويت شي اصلاً ضفت فقط اسم الامر Link to comment
MA[S]RIY Posted March 28, 2017 Author Share Posted March 28, 2017 4 hours ago, Killer Project said: ما سويت شي اصلاً ضفت فقط اسم الامر طيب احد يسويه Link to comment
فاّرس Posted March 28, 2017 Share Posted March 28, 2017 (edited) 14 hours ago, MARIY said: ذا الكود الي فيه المشكله local www = dxCreateFont("arial.ttf",13) function () for i,k in ipairs (getElementsByType("player")) do if k ~= localPlayer and getElementData (k,"MASRIY") then dxDrawTextOnElement(k,getElementData (k,"MASRIY") or '',1,20,0,0,255,255,1,www) if ( getElementData (k,"MASRIY") == '[Console]' or getElementData (k,"MASRIY") == '[Head.Admin]' or getElementData (k,"MASRIY") == '[Councils]' ) then dxDrawTextOnElement(k,getElementData (k,"MASRIY") or '',1,20,math.random(0, 255), math.random(0, 255), math.random(0, 255),255,1,www) else if ( getElementData (k,"MASRIY") ~= '[Console]' or getElementData (k,"MASRIY") ~= '[[Head.Admin]' or getElementData (k,"MASRIY") ~= '[Councils]' ) then end end end end setTimer( function() removeEventHandler( 'onClientRender', root, render ) addEventHandler( 'onClientRender', root, render ) end, 300, 0 ) سطر 2 الوظيفه لازم يكون لها اسم, وآخر 4 اسطر مالها اي فايده وتايمر لا نهائي!! Edited March 28, 2017 by Sha67 Link to comment
MA[S]RIY Posted March 29, 2017 Author Share Posted March 29, 2017 (edited) طيب سويه اخي Edited March 29, 2017 by MA[S]RIY Link to comment
#BrosS Posted March 29, 2017 Share Posted March 29, 2017 (edited) 1 hour ago, MARIY said: طيب سويه اخي وش يسوي يرحم أمك قالك الخطأ يعني يسوي الغلط ؟ شغل مخك شوي Edited March 29, 2017 by #BrosS Link to comment
MA[S]RIY Posted March 29, 2017 Author Share Posted March 29, 2017 (edited) خلاص انا عدلتو شكرا للكل تسلمو Edited March 29, 2017 by MA[S]RIY 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