onlinegenc Posted June 12, 2012 Share Posted June 12, 2012 Hi Guys; I try to code skin shop.But i didn't.so I ask for you. I want to list all the skins in gridlist. two button "try" and "buy" I don't know how to do. Please help me. Thank you in advance Link to comment
Guest Guest4401 Posted June 12, 2012 Share Posted June 12, 2012 If you have tried to make it, then show & explain where you are experiencing trouble. If you haven't attempted to make it, then here are the things you'll need to look upon: guiCreateWindow -- to create a window guiCreateGridList -- to create a gridlist guiCreateButton -- to create a button onClientGUIClick -- an event triggered when someone clicks a GUI Element guiGridListGetSelectedItem -- get the selected row, column guiGridListGetItemText -- get the text of a selected item setElementModel -- to set the skin of the player takePlayerMoney -- to deduct the player's money 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