Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Problem z ustawieniem Checka


xRyderx

Rekomendowane odpowiedzi

Opublikowano

Witam mam problem z ustawieniem Wpt. A Check po przejściu wszystkich wpt. wychodzi z expa zamiast iść od początku.
chciał bym aby, wyszedł z expa po spełnieniu któreś z tych funkcji poniżej 30 Mana Potion, 2 Health Potion, 100 many, 500 Heal Hit i 100 capa

oto kod:

int MP = 30;
int MPCount = 500;
int HP = 266;
int HPCount = 500;
int CapCount = 100;

if (itemcount(MP) < MPCount || itemcount(HP) < HPCount || $cap < CapCount)
{
gotolabel("Leave");
}
else
{
gotolabel("continue");
}

niestety gdy włączę skrypta przejdzie sobie raz po expie i z niego wychodzi ;/ jak to ustawić ?

 

objaśnienie skrótów:

The following variables return information about your character.
$name (string): Returns the name of your character.
$hp (int): Returns your current amount of hit points.
$maxhp (int): Returns your maximum amount of hit points.
$mp (int): Returns your current amout of mana points.
$maxmp (int): Returns your maximum amount of mana points.
$cap (int): Returns your remaining capacity.
$stamina (int): Returns the remaining stamina in minutes.
$soul (int): Returns the remaining soul points.
$exp (int): Returns your total amount of experience points.
$level (int): Returns the level of your character.
$hppc (int): Returns the percentage of your character's hp.
$mppc (int): Returns the percentage of your character's mp.
$posx (int): Returns the x position of your character.
$posy (int): Returns the y position of your character.
$posz (int): Returns the z position of your character.

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...