MrPancakers Posted September 7, 2018 Author Posted September 7, 2018 46 minutes ago, javad_iran said: how to get money in MySQL Gamemode [Login/Registration System] the code not working: player.getMoney(250); please help me sorry for bad english... Check the thread you created, I responded there.
javad_iran Posted September 7, 2018 Posted September 7, 2018 1 minute ago, MrPancakers said: Check the thread you created, I responded there. Link?
MrPancakers Posted September 7, 2018 Author Posted September 7, 2018 I just updated this resource with various small changes, it isn't required to update if you have this downloaded already but it does fix some errors that popup because I wasn't handling errors and there are some small improvements Changes: You can now retrieve player money clientside (player.money changed to player.data.money) Renamed the browser variable from browser1 to loginBrowser Changed /updatemoney to /setmoney Basic error handling for /setmoney (Should now return a message if you didn't put anything in or you didn't put a number in) Fixed error for those who quit before logging in Shortened player position values, now only goes to 2 decimal places Added health and armour to the database to further show examples Added /sethealth and /setarmour for more examples of usage Added double checking for user passwords on registration to avoid typos in passwords when registering Added error handling on MySQL queries Resource should be up and available soon, if you don't want to wait just go to the Github link and download it from there. 1
javad_iran Posted September 9, 2018 Posted September 9, 2018 (edited) ... post edited ... Edited September 16, 2018 by javad_iran
MrPancakers Posted September 9, 2018 Author Posted September 9, 2018 5 hours ago, javad_iran said: Bug !!! when death player , Server crash and closed , Sometimes this happens, and sometimes not how to fix?!! version 1.2 I don't even have a playerDeath event so I'm not sure why it would be crashing from that unless you added that yourself.
javad_iran Posted September 10, 2018 Posted September 10, 2018 3 hours ago, MrPancakers said: I don't even have a playerDeath event so I'm not sure why it would be crashing from that unless you added that yourself. Bug 2 : i am import maps to folder maps , all cars black color !! how to fix?
MrPancakers Posted September 10, 2018 Author Posted September 10, 2018 6 hours ago, javad_iran said: Bug 2 : i am import maps to folder maps , all cars black color !! how to fix? This isn't a bug with my game mode, this is a separate issue that you already made a thread about. Only discuss things relating to my game mode here.
javad_iran Posted September 10, 2018 Posted September 10, 2018 (edited) ... post edited ... Edited September 16, 2018 by javad_iran
TitoRukas Posted September 10, 2018 Posted September 10, 2018 When I join the server I got this 2 errors, what can I do to fix them?
MrPancakers Posted September 10, 2018 Author Posted September 10, 2018 12 hours ago, TitoRukas said: When I join the server I got this 2 errors, what can I do to fix them? Looks like you got some bad code from another server, I believe you need to delete your client_resources folder
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