Jump to content
MakeWebGames

Recommended Posts

Posted

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

Posted (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 by KyleMassacre
Posted

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]

1771415446_admineditstats.thumb.png.e47b164392f249f8853ddd522a1c16ac.png

error.png.8b27bd3aaa05e7a24495efdd7b1af2b9.png

Posted
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"

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...