Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How Could I...
#22
I still don't see what you are trying to set your HP value to?

Code:
Function GetPlayerMaxVital(ByVal Index As Long, ByVal Vital As Vitals) As Long

There are only an Index and a Vital as Vitals in the function. Yours is looking to select something else as well. If you want to set your players hit points to whatever your max hit points are plus 5000 it should be like this.

Code:
Call SetPlayerVital(Index, Vitals.HP, GetPlayerMaxVital(Index, Vitals.HP) + 5000)

Do you understand how that works? You cannot change the MaxHP value in a default MS because it is calculated from your players stats and it's classes stats.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)