Jump to content

Freeroam


tony402

Recommended Posts

open fr_client.lua file in freeroam folder and replace

this (line 761)

wndSetPos = { 
    'wnd', 
    text = 'Set position', 
    width = g_MapSide + 20, 
    controls = { 
        {'img', id='map', src='map.png', width=g_MapSide, height=g_MapSide, onclick=fillInPosition, ondoubleclick=setPosClick}, 
        {'txt', id='x', text='', width=60}, 
        {'txt', id='y', text='', width=60}, 
        {'txt', id='z', text='', width=60}, 
        {'btn', id='ok', onclick=setPosClick}, 
        {'btn', id='cancel', closeswindow=true}, 
        {'lbl', text='Right click on map to close'} 
    }, 
    oncreate = setPosInit, 
    onclose = closePositionWindow 
} 

with

--[[ wndSetPos = { 
    'wnd', 
    text = 'Set position', 
    width = g_MapSide + 20, 
    controls = { 
        {'img', id='map', src='map.png', width=g_MapSide, height=g_MapSide, onclick=fillInPosition, ondoubleclick=setPosClick}, 
        {'txt', id='x', text='', width=60}, 
        {'txt', id='y', text='', width=60}, 
        {'txt', id='z', text='', width=60}, 
        {'btn', id='ok', onclick=setPosClick}, 
        {'btn', id='cancel', closeswindow=true}, 
        {'lbl', text='Right click on map to close'} 
    }, 
    oncreate = setPosInit, 
    onclose = closePositionWindow 
} ]]  

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...