mouamle Posted June 3, 2015 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 بس ما هو كودي الفوق صحيح ؟
TreKa Posted June 3, 2015 Posted June 3, 2015 اللي انا فهمته منك executeCommandHandler انك تبي تستخدم في تغير لون اليزر جرب هذه executeCommandHandler("lasercolor 255 0 0 255")
mouamle Posted June 4, 2015 Author Posted June 4, 2015 اللي انا فهمته منكexecuteCommandHandler انك تبي تستخدم في تغير لون اليزر جرب هذه executeCommandHandler("lasercolor 255 0 0 255") بس انا ابية ياخذ قيمة ال Scrollbar يحتاج احط , بعد كل ارقمنت لو ما يحتاج ؟
</Mr.Tn6eL> Posted June 4, 2015 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 )
mouamle Posted June 4, 2015 Author 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 استخدمتها يغلق
I_Mr.[T]he[P]rInCe Posted June 7, 2015 Posted June 7, 2015 (edited) Deleted Edited February 20, 2016 by Guest
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