Jump to content

[Help] Criminal System


3B00DG4MER

Recommended Posts

Hello,Today i made a Criminal system which You can Change Your Team To Criminal

And Select your Skin From GridList but when You choose a Skin,Does'nt Change

I tried to Add

outputchatbox("You selected"..skin..".",source) 

Work's but it does'nt work with setElementModel

Client Side:

        function joinTeam() 
             triggerServerEvent("gov",localPlayer) 
             local skin = guiGridListGetItemText ( GUIEditor_gridlist[1], guiGridListGetSelectedItem ( GUIEditor_gridlist[1] ), 1 ) 
             guiSetVisible(windowjob, false) 
             outputChatBox("You selected "..skin..".",source) 
             showCursor(false) 
             setElementModel ( source, skin ) 
        end 
        addEventHandler("onClientGUIClick", GUIEditor_Button[1] , joinTeam, false) 

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