Jump to content

Little help 2questions!


Try

Recommended Posts

Hehehehehe i need a help :P look the code the image don`t show!!!!

the logo is at the folder the resource folder.

wndMain = { 
    'wnd', 
    text = 'BADWOLF FREEROAM', 
    x = 10, 
    y = 170, 
    width = 250, 
    controls = { 
        {'img', src='logo.png', width=280, height=5 }, 
        {'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='Teleports', onclick=teleports}, 
        --{'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 vehicle'}, 
        {'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'}, 
    }, 
    oncreate = mainWndShow, 
    onclose = mainWndClose 
} 

Link to comment
wndMain = { 
    'wnd', 
    text = 'BADWOLF FREEROAM', 
    x = 10, 
    y = 170, 
    width = 250, 
    controls = { 
        {'img', id='logo', src='logo.png', width=280, height=5 }, 
        {'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='Teleports', onclick=teleports}, 
        --{'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 vehicle'}, 
        {'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'}, 
    }, 
    oncreate = mainWndShow, 
    onclose = mainWndClose 
} 

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...