Neproify Posted July 12, 2013 Share Posted July 12, 2013 Hello. I create my gamemode and I spotted a problem. In the register and login system I use the MySQL. How to create variable for the player. This variable stores a score, money, etc. Link to comment
denny199 Posted July 12, 2013 Share Posted July 12, 2013 You can use tables or element data like: setElementData ( playerElement, "money", 500 ) and then gain it with getElementData ( playerElement, "money" ) Link to comment
Neproify Posted July 12, 2013 Author Share Posted July 12, 2013 Thank you. That's solution. 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