sytodave Posted May 26, 2013 Share Posted May 26, 2013 can anymone help me with userclass i been tryen to allow the user to pick a class that would increase there max health but once the user clicks it just comes up with the error page no explantion of error this is code i was using $userStats["Health"]->max_value+=100; can anyone help me out please Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted May 26, 2013 Share Posted May 26, 2013 (edited) The default userclass system should work, do you have a url you can pm me? ohhhhhh from this: $userStats["Health"]->max_value+=100; To: $userStats["Health"]->value+=100; Edited May 26, 2013 by KyleMassacre Quote Link to comment Share on other sites More sharing options...
sytodave Posted May 26, 2013 Author Share Posted May 26, 2013 am running it local just now am using the admin use class editor this is where am puing the code [ATTACH=CONFIG]969[/ATTACH] this is the rror page [ATTACH=CONFIG]970[/ATTACH] Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted May 26, 2013 Share Posted May 26, 2013 am running it local just now am using the admin use class editor this is where am puing the code [ATTACH=CONFIG]969[/ATTACH] this is the rror page [ATTACH=CONFIG]970[/ATTACH] so you need to get rid of the "max_value" and change it to "value" Quote Link to comment Share on other sites More sharing options...
sytodave Posted May 26, 2013 Author Share Posted May 26, 2013 thanx i thought i would have to update the max value instead of the value seems to have worked Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.