./BlackBird# Posted July 31, 2013 Share Posted July 31, 2013 اذا تبي تلون لبل , guiLabelSetColor(getControl(wndMain, "X"), 255,0,0) X = الكلام حق اللبل يعني كذا, {"lbl"; id = "NONAME", text = "X", width = 120}, اما الزر , guiSetProperty(getControl(wndMain, "Kill"), "NormalTextColour", "FF00CCCC") Kill = اسم الزر, يعني كذا, {"btn"; id = "Kill", onclick = killLocalPlayer, width = 100}, Link to comment
Fassol<3 Posted August 1, 2013 Author Share Posted August 1, 2013 شكلكم ما بتفهمون قصدي الباااااين جدا جد Link to comment
فاّرس Posted August 1, 2013 Share Posted August 1, 2013 الي فهمته انك تبي تلون لبل الفري روم وانا عطيتك الاكواد , اما اذا ما تفهم هذي مشكلتك Link to comment
Fassol<3 Posted August 1, 2013 Author Share Posted August 1, 2013 أنا أبي الكود ذا {"lbl"; id = "Name", text = "lbl name", width = 120,x = 50}, وداخله كود الألوان اللي هوا 255.0.0 مدري وش فهمتواااا ؟ Link to comment
iMr.Dawix~# Posted August 1, 2013 Share Posted August 1, 2013 أنا أبي الكود ذا {"lbl"; id = "Name", text = "lbl name", width = 120,x = 50}, وداخله كود الألوان اللي هوا 255.0.0 مدري وش فهمتواااا ؟ اذا تبي تلون لبل , guiLabelSetColor(getControl(wndMain, "X"), 255,0,0) X = الكلام حق اللبل Link to comment
Fassol<3 Posted August 1, 2013 Author Share Posted August 1, 2013 طيب هاذي كيف أحركها ؟ guiLabelSetColor(getControl(wndMain, "X"), 255,0,0) Link to comment
iMr.Dawix~# Posted August 1, 2013 Share Posted August 1, 2013 طيب هاذي كيف أحركها ؟ guiLabelSetColor(getControl(wndMain, "X"), 255,0,0) وش تبي تحرك فيها هذا كود بس يغير لون اللبل حق الكلام Link to comment
فاّرس Posted August 1, 2013 Share Posted August 1, 2013 طيب هاذي كيف أحركها ؟ guiLabelSetColor(getControl(wndMain, "X"), 255,0,0) X = هو الكلام الي داخل اللبل الاساسي , يعني لو كان الكلام كذا, {"lbl"; id = "NONAME", text = "Your Name", width = 120}, يصير كود اللون كذا, guiLabelSetColor(getControl(wndMain, "Your Name"), 255,0,0) 255,0,0 = الالوان غيرها للي تبيه, Link to comment
Fassol<3 Posted August 1, 2013 Author Share Posted August 1, 2013 طيب أنا وين أحطها بالضبط في الفري روم ؟ Link to comment
فاّرس Posted August 1, 2013 Share Posted August 1, 2013 مع هالكود, wndMain = { 'wnd', text = 'FR GUI', x = 10, y = 150, width = 280, controls = { {'lbl', text='Local player'}, {'br'}, {'btn', id='kill', onclick=killLocalPlayer}, {'btn', id='skin', window=wndSkin}, {'btn', id='anim', window=wndAnim}, {'btn', id='weapon', window=wndWeapon}, {'btn', id='clothes', window=wndClothes}, {'btn', id='playergrav', text='grav', window=wndGravity}, {'btn', id='warp', window=wndWarp}, {'btn', id='stats', window=wndStats}, {'btn', id='bookmarks', window=wndBookmarks}, {'br'}, {'chk', id='jetpack', onclick=toggleJetPack}, {'chk', id='falloff', text='fall off bike', onclick=toggleFallOffBike}, {'br'}, {'lbl', text='Pos:'}, {'lbl', id='xpos', text='x', width=45}, {'lbl', id='ypos', text='y', width=45}, {'lbl', id='zpos', text='z', width=45}, {'btn', id='setpos', text='map', window=wndSetPos}, {'btn', id='setinterior', text='int', window=wndSetInterior}, {'br'}, {'br'}, {'lbl', text='Vehicles'}, {'br'}, {'lbl', text='Current:'}, {'lbl', id='curvehicle'}, {'br'}, {'btn', id='createvehicle', window=wndCreateVehicle, text='create'}, {'btn', id='repair', onclick=repairVehicle}, {'btn', id='flip', onclick=flipVehicle}, {'btn', id='upgrades', window=wndUpgrades}, {'btn', id='color', onclick=openColorPicker}, {'btn', id='paintjob', window=wndPaintjob}, {'br'}, {'chk', id='lightson', text='Lights on', onclick=forceLightsOn}, {'chk', id='lightsoff', text='Lights off', onclick=forceLightsOff}, {'br'}, {'br'}, {'lbl', text='Environment'}, {'br'}, {'btn', id='time', window=wndTime}, {'chk', id='freezetime', text='freeze', onclick=toggleFreezeTime}, {'btn', id='weather', window=wndWeather}, {'btn', id='speed', window=wndGameSpeed} }, oncreate = mainWndShow, onclose = mainWndClose } Link to comment
Fassol<3 Posted August 1, 2013 Author Share Posted August 1, 2013 مشكوووور بس بوديها يمين شوي 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