mouamle Posted June 3, 2015 Share Posted June 3, 2015 السلام عليكم سويت لوحة بسيطة ابيها تغير لي لون الليزر بأستخدام executeCommandHandler LaserRed = guiScrollBarGetScrollPosition( RedV ) LaserGreen = guiScrollBarGetScrollPosition( GreenV ) LaserBlue = guiScrollBarGetScrollPosition( BlueV ) executeCommandHandler( "lasercolor", tonumber(LaserRed), tonumber(LaserGreen), tonumber(LaserBlue), 255 ) استخدمتة بذي الصيغة في الشات يطلع Invalid colors: (0-255) usage: /lasercolor r g b a بس ما هو كودي الفوق صحيح ؟ Link to comment
TreKa Posted June 3, 2015 Share Posted June 3, 2015 اللي انا فهمته منك executeCommandHandler انك تبي تستخدم في تغير لون اليزر جرب هذه executeCommandHandler("lasercolor 255 0 0 255") Link to comment
mouamle Posted June 4, 2015 Author Share Posted June 4, 2015 اللي انا فهمته منكexecuteCommandHandler انك تبي تستخدم في تغير لون اليزر جرب هذه executeCommandHandler("lasercolor 255 0 0 255") بس انا ابية ياخذ قيمة ال Scrollbar يحتاج احط , بعد كل ارقمنت لو ما يحتاج ؟ Link to comment
</Mr.Tn6eL> Posted June 4, 2015 Share Posted June 4, 2015 LaserRed = guiScrollBarGetScrollPosition( RedV ) * 255 / 100 LaserGreen = guiScrollBarGetScrollPosition( GreenV ) * 255 / 100 LaserBlue = guiScrollBarGetScrollPosition( BlueV ) * 255 / 100 executeCommandHandler( "lasercolor", tonumber(LaserRed), tonumber(LaserGreen), tonumber(LaserBlue), 255 ) Link to comment
mouamle Posted June 4, 2015 Author Share Posted June 4, 2015 LaserRed = guiScrollBarGetScrollPosition( RedV ) * 255 / 100 LaserGreen = guiScrollBarGetScrollPosition( GreenV ) * 255 / 100 LaserBlue = guiScrollBarGetScrollPosition( BlueV ) * 255 / 100 executeCommandHandler( "lasercolor", tonumber(LaserRed), tonumber(LaserGreen), tonumber(LaserBlue), 255 ) ما نجحت المهم شكرا على المساعدة مود الليزر فيه export استخدمتها يغلق Link to comment
I_Mr.[T]he[P]rInCe Posted June 7, 2015 Share Posted June 7, 2015 (edited) Deleted Edited February 20, 2016 by Guest 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