Jump to content

Need help.


manve1

Recommended Posts

I need help on how to get the player skin when he clicks on gridList to take the job+skin
Event: onClientGUIClick -- when he open the gridList 
getElementModel -- get his current skin 
setElementData -- save the skin id as element data 

so that when he presses on button called "yesOut" he would get his skin back
Event: onClientGUIClick -- when he click on button "yesOut" 
getElementData -- get the skin id from the element data that you have save it when the gridList opened 
setElementModel -- set the skin back 

Link to comment
sorry tapl, but i don't get what you mean

i don't get the save part actually

Aren't you mean that you have a grid list where it has skin ids and when you click on it, it will set the skin to show you, but if you decided to cancel and close the window, you want the old skin back? :?

Link to comment

EDIT: I mean like you go in marker, if u are in a group called "Cleaner" then a GUI pops up, if u double click the skin selection for the Duty, it will give u the skin and when u go into off duty marker and u select to go off duty, u get old skin back

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