Aller au contenu

Photo

how to store in an interger the pc HP?


  • Veuillez vous connecter pour répondre
3 réponses à ce sujet

#1
el.sombrero

el.sombrero
  • Members
  • 100 messages
 Hi there guys,

 what should I do to store at an interger the current PC hp?

#2
rjshae

rjshae
  • Members
  • 4 507 messages
For a script, use GetCurrentHitPoints to obtain the value then store it on the PC using SetLocalInt.

#3
Morbane

Morbane
  • Members
  • 1 883 messages
SetLocalInt(oPC, "hit_points", GetCurrentHitPoints(oPC));

#4
el.sombrero

el.sombrero
  • Members
  • 100 messages
Thx rjshae and Morbane!