Jump to content

Help!


Recommended Posts

Can some one help me with Fighting Style -_- ? i made that but when i click on it nothing happens ??

Please Help it won't take 5 mins

fr_client

-------------------------- 
-- Fighting style window 
--------------------------- 
wndFighting = { 
    'wnd', 
    text = 'Set Fighting style', 
    width = 250, 
    x = -20, 
    y = 0.3, 
    controls = { 
        { 
            'lst', 
            id='fighting', 
            width=230, 
            height=290, 
            columns={ 
                {text='style', attr='name'} 
            }, 
            rows={xml='fighting.xml', attrs={'name'}}, 
            expandlastlevel=false, 
            onitemdoubleclick=applyFightingStyle 
        }, 
        {'btn', id='Set', onclick=applyFightingStyle}, 
        {'btn', id='Close', closeswindow=true} 
    } 
} 
  
  
addCommandHandler('setstyle', 
    function(cmd, style) 
        style = style and tonumber(style) 
        if style then 
            server.setPedFightingStyle(g_Me, style) 
        end 
    end 
) 

fighting.xml

type="style"> 
    

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