3B00DG4MER Posted March 19, 2014 Share Posted March 19, 2014 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
WhoAmI Posted March 19, 2014 Share Posted March 19, 2014 setElementModel ( localPlayer, tonumber ( skin ) ) I'm not sure, but i think, that you would only see this skin, no other players. Link to comment
3B00DG4MER Posted March 19, 2014 Author Share Posted March 19, 2014 setElementModel ( localPlayer, tonumber ( skin ) ) I'm not sure, but i think, that you would only see this skin, no other players. Thanks 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