Page 1 of 1

Re: Adding Escapes/Infects to HUD Information

Posted: 24 Jun 2019, 11:17
by czirimbolo

Code: Select all

[pl]
NO_ENOUGH_PLAYERS = !tBrak wystarczjacej liczby graczy!y. !tWymagana liczba graczy!y: !t%i!y.
RUN_NOTICE = Gotowy do ucieczki. Biegnij po %i sekundach !
ZOMBIE_RELEASE = Zombie zostanie wypuszczone za: %i sekund !
READY_TO_RUN = !tGotowy do ucieczki!y? !gPOWODZENIA !y:)
ESCAPE_SUCCESS = Udana ucieczka!
ESCAPE_FAIL = Nieudana ucieczka!
START_GAME = Rozpoczecie gry!
INFECTION_NOTICE = %s zarazil %s !
SCORE_MESSAGE = Zombie VS Ludzie^n %i --------- %i
NO_WINNER = Remis!
RANK_INFO = [Mistrz przetrwania]^n[1st] - %s^n[2nd] - %s^n[3rd] - %s
RANK_INFO_LEADER = [LIDER UCIECZKI]^n%s

COINS_INFO = !tTwoja aktualna ilosc monet!y: !g%i 
ESCAPE_SUCCESS_COINS = !tUdana ucieczka!y: !t+!g%i !tmonet!y!
HUMAN_INFECTED_COINS = !tZarazono czlowieka!y: !t+!g%i !tmonet!y!

ZOMBIE_SPEC = Spectating: %s^nHP: %i^nKlasa: Zombie^nIlosc monet: %i^nInfekcje: %i
ZOMBIE_SPEC_COMMAS = Spectating: %s^nHP: %s^nKlasa: Zombie^nIlosc monet: %i^nInfekcje: %i

HUMAN_SPEC = Ogladanie: %s^nHP: %i^nKlasa: Czlowiek^nIlosc monet: %i^nInfekcje: %i
HUMAN_SPEC_COMMAS = Ogladanie: %s^nHP: %s^nKlasa: Czlowiek^nIlosc monet: %i^nInfekcje: %i

HUMAN_SPEC_LEADER = Ogladanie: %s^nHP: %i^nKlasa: Escape Lider^nIlosc monet: %i^nInfekcje: %i
HUMAN_SPEC_COMMAS_LEADER = Ogladanie: %s^nHP: %s^nKlasa: Escape Lider^nIlosc monet: %i^nInfekcje: %i

ZOMBIE = HP: %i | Klasa: Zombie | Ilosc monet: %i | Infekcje: %i
ZOMBIE_COMMAS = HP: %s | Klasa: Zombie | Ilosc monet: %i | Infekcje: %i

HUMAN_LEADER = HP: %i | Klasa: Escape Lider| Ilosc monet: %i | Infekcje: %i
HUMAN_LEADER_COMMAS = HP: %s | Klasa: Escape Lider | Ilosc monet: %i | Infekcje: %i

HUMAN = HP: %i | Klasa: Czlowiek | Ilosc monet: %i | Infekcje: %i
HUMAN_COMMAS = HP: %s | Class: Human | Escape Coins: %i | Infekcje: %i

BUY_ENABLED = !tYour menu has been re-enabled!y.
RE_ENABLE_MENU = !tsay /enable or press M to enable your buy menu!y.
ALREADY_BOUGHT = !tJuz kupiles bron!y!
DEAD_CANT_BUY_WEAPON = !tNie mozesz kupic broni, kiedy jestes martwy!y.
NO_BUY_ZOMBIE = !tNie mozesz kupic broni, kiedy jestes Zombie!y.
BUY_MENU_TIME_EXPIRED = !tCzas kupowania broni sie skonczyl!y.
MENU_PRIMARY_TITLE = Bron podstawowa
MENU_SECONDARY_TITLE = Bron dodatkowa
MENU_AUTOSELECT = Zapamietac?
SAVE_YES = Tak
SAVE_NO = Nie
NEXT = Nastepny
BACK = Powrot
EXIT = Wyjscie

MAIN_MENU_TITLE = [ZE] Glowne Menu (Main menu)
MENU_EXTRABUY = Kup dodatkowe przedmioty (Extra items)
MENU_WEAPONBUY = Kup bronie (Level weapons)
MENU_WEAPONBUY_RE_ENABLE = Wlacz ponowne kupowanie broni

BUY_EXTRAITEM = Dodatkowe przedmioty
NO_EXTRA_ITEMS = !tAktulanie dodatkowe przedmioty nie sa dostepne!y.

ITEM_LIMIT = \w[\r%i\d|\r%i\w]
ITEM_LEVEL = \w[\rPoziom\d: \r%i\w]
ITEM_VIP = \w(\rVIP\w)

[en]
NO_ENOUGH_PLAYERS = !tNo Enough Players!y. !tRequired!y: !t%i!y.
RUN_NOTICE = Ready for Run. Run After %i Second(s) !
ZOMBIE_RELEASE = Zombie(s) Will Be Released After: %i Second(s) !
READY_TO_RUN = !tAre you Ready to Run!y? !gGood Luck !y:)
ESCAPE_SUCCESS = Escape Success!
ESCAPE_FAIL = Escape Fail!
START_GAME = Game Commencing!
INFECTION_NOTICE = %s has infected %s !
SCORE_MESSAGE = Zombies VS Humans^n %i --------- %i
NO_WINNER = Escape Draw!
RANK_INFO = [MASTER OF SURVIVAL]^n[1st] - %s^n[2nd] - %s^n[3rd] - %s
RANK_INFO_LEADER = [Escape Leader]^n%s

COINS_INFO = !tYour Current Escape Coins!y: !g%i
ESCAPE_SUCCESS_COINS = !tEscape Success!y: !t+!g%i !tEscape Coins!y!
HUMAN_INFECTED_COINS = !tInfected Human!y: !t+!g%i !tEscape Coins!y!

ZOMBIE_SPEC = Spectating: %s^nHP: %i^nClass: Zombie^nEscape Coins: %i^nEscapes: %i^nInfects: %i
ZOMBIE_SPEC_COMMAS = Spectating: %s^nHP: %s^nClass: Zombie^nEscape Coins: %i^nEscapes: %i^nInfects: %i

HUMAN_SPEC = Spectating: %s^nHP: %i^nClass: Human^nEscape Coins: %i^nEscapes: %i^nInfects: %i
HUMAN_SPEC_COMMAS = Spectating: %s^nHP: %s^nClass: Human^nEscape Coins: %i^nEscapes: %i^nInfects: %i

HUMAN_SPEC_LEADER = Spectating: %s^nHP: %i^nClass: Escape Leader^nEscape Coins: %i^nEscapes: %i^nInfects: %i
HUMAN_SPEC_COMMAS_LEADER = Spectating: %s^nHP: %s^nClass: Escape Leader^nEscape Coins: %i^nEscapes: %i^nInfects: %i

ZOMBIE = HP: %i | Class: Zombie | Escape Coins: %i | Escapes: %i | Infects: %i
ZOMBIE_COMMAS = HP: %s | Class: Zombie | Escape Coins: %i | Escapes: %i | Infects: %i

HUMAN_LEADER = HP: %i | Class: Escape Leader | Escape Coins: %i | Escapes: %i | Infects: %i
HUMAN_LEADER_COMMAS = HP: %s | Class: Escape Leader | Escape Coins: %i | Escapes: %i | Infects: %i

HUMAN = HP: %i | Class: Human | Escape Coins: %i | Escapes: %i | Infects: %i
HUMAN_COMMAS = HP: %s | Class: Human | Escape Coins: %i | Escapes: %i | Infects: %i

BUY_ENABLED = !tYour menu has been re-enabled!y.
RE_ENABLE_MENU = !tsay /enable or press M to enable your buy menu!y.
ALREADY_BOUGHT = !tYou already bought Primary and Secondary Weapons!y!
DEAD_CANT_BUY_WEAPON = !tYou can't buy when you're dead!y.
NO_BUY_ZOMBIE = !tYou can't buy when you're Zombie!y.
BUY_MENU_TIME_EXPIRED = !tBuy menu time has expired!y.
MENU_PRIMARY_TITLE = Primary Weapons
MENU_SECONDARY_TITLE = Secondary Weapons
MENU_AUTOSELECT = Remember?
SAVE_YES = Yes
SAVE_NO = No
NEXT = Next
BACK = Back
EXIT = Exit

MAIN_MENU_TITLE = [ZE] Main Menu
MENU_EXTRABUY = Buy Extra Items
MENU_WEAPONBUY = Buy Weapons
MENU_WEAPONBUY_RE_ENABLE = Re-enable Buy Weapons

BUY_EXTRAITEM = Extra Items
NO_EXTRA_ITEMS = !tNo extra items are currently available to you!y.

ITEM_LIMIT = \w[\r%i\d|\r%i\w]
ITEM_LEVEL = \w[\rLevel\d: \r%i\w]
ITEM_VIP = \w(\rVIP\w)

Re: Adding Escapes/Infects to HUD Information

Posted: 24 Jun 2019, 11:58
by Raheem
Change:
    1. HUMAN_COMMAS = HP: %s | Class: Human | Escape Coins: %i | Escapes: %i | Infects: %i
TO: Because in your code, you don't add get user escapes see:
    1. ShowSyncHudMsg(ID_SHOWHUD, g_iMsgSync, "%L", LANG_PLAYER, "HUMAN_COMMAS", szHealth, ze_get_escape_coins(ID_SHOWHUD), ze_get_user_infects(ID_SHOWHUD))
This is the line which throws error.

Re: Adding Escapes/Infects to HUD Information

Posted: 09 Aug 2021, 12:16
by VicKy
both are not increasing when i infect a human or i escape

Re: Adding Escapes/Infects to HUD Information

Posted: 16 Sep 2021, 15:26
by VicKy
VicKy wrote: 2 years ago both are not increasing when i infect a human or i escape
Fixed
I Was Using Nvault ( Thats Why Its Bugged )

Use Mysql ( Recommended )