Raised This Month: $32 Target: $400
 8% 

[ZPA] Immortal nemesis


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GlobalPlague
Senior Member
Join Date: Feb 2016
Location: Pluto
Old 02-27-2016 , 11:37   [ZPA] Immortal nemesis
Reply With Quote #1

Is it possible ?
I can write big number, but i want the nemesis' health to be without numbers. Something like this:

Health: 1000000
===>

Health: Free
GlobalPlague is offline
Kakarot47
Senior Member
Join Date: May 2015
Location: Pakistan
Old 02-27-2016 , 19:49   Re: [ZPA] Immortal nemesis
Reply With Quote #2

Not possible
__________________



AssasinSniperNightmare ModArmageddon ModApolacyps Mod
Kakarot47 is offline
Send a message via Skype™ to Kakarot47
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 02-28-2016 , 08:23   Re: [ZPA] Immortal nemesis
Reply With Quote #3

Find this in the main plugin sma:
Code:
    // Spectating someone else?     if (id != ID_SHOWHUD)     {         // Show name, health, class, and ammo packs and armor         set_hudmessage(255, 10, 255, HUD_SPECT_X, HUD_SPECT_Y, 1, 6.0, 1.1, 0.0, 0.0, -1)         ShowSyncHudMsg(ID_SHOWHUD, g_MsgSync2, "%L %s^nHP: %d - %L %s - %L %d - %L %d", ID_SHOWHUD, "SPECTATING", g_playername[id],         pev(id, pev_health), ID_SHOWHUD, "CLASS_CLASS", class, ID_SHOWHUD, "AMMO_PACKS1", g_ammopacks[id], ID_SHOWHUD, "ARMOR", pev(id, pev_armorvalue))     }     else     {         // Show health, class and ammo packs and armor         set_hudmessage(red, green, blue, HUD_STATS_X, HUD_STATS_Y, 0, 6.0, 1.1, 0.0, 0.0, -1)         ShowSyncHudMsg(ID_SHOWHUD, g_MsgSync2, "%L: %d - %L %s - %L %d - %L %d", id, "ZOMBIE_ATTRIB1", pev(ID_SHOWHUD, pev_health), ID_SHOWHUD, "CLASS_CLASS",         class, ID_SHOWHUD, "AMMO_PACKS1", g_ammopacks[ID_SHOWHUD], ID_SHOWHUD, "ARMOR", pev(ID_SHOWHUD, pev_armorvalue))     }
and replace with:
Code:
    static szHealth[10];         // Spectating someone else?     if (id != ID_SHOWHUD)     {         if (g_nemesis[id])             szHealth = "∞";         else         {             szHealth[0] = pev(id, pev_health);                         num_to_str(szHealth[0], szHealth, charsmax(szHealth))         }                 // Show name, health, class, and ammo packs and armor         set_hudmessage(255, 10, 255, HUD_SPECT_X, HUD_SPECT_Y, 1, 6.0, 1.1, 0.0, 0.0, -1)         ShowSyncHudMsg(ID_SHOWHUD, g_MsgSync2, "%L %s^n%L: %s - %L %s - %L %d - %L %d", ID_SHOWHUD, "SPECTATING", g_playername[id],         ID_SHOWHUD, "ZOMBIE_ATTRIB1", szHealth, ID_SHOWHUD, "CLASS_CLASS", class, ID_SHOWHUD, "AMMO_PACKS1", g_ammopacks[id], ID_SHOWHUD, "ARMOR", pev(id, pev_armorvalue))     }     else     {         if (g_nemesis[ID_SHOWHUD])         {             set_pev(ID_SHOWHUD, pev_health, 50000)                         szHealth = "∞";         }         else         {             szHealth[0] = pev(ID_SHOWHUD, pev_health);                         num_to_str(szHealth[0], szHealth, charsmax(szHealth))         }                 // Show health, class and ammo packs and armor         set_hudmessage(red, green, blue, HUD_STATS_X, HUD_STATS_Y, 0, 6.0, 1.1, 0.0, 0.0, -1)         ShowSyncHudMsg(ID_SHOWHUD, g_MsgSync2, "%L: %s - %L %s - %L %d - %L %d", ID_SHOWHUD, "ZOMBIE_ATTRIB1", szHealth, ID_SHOWHUD, "CLASS_CLASS",         class, ID_SHOWHUD, "AMMO_PACKS1", g_ammopacks[ID_SHOWHUD], ID_SHOWHUD, "ARMOR", pev(ID_SHOWHUD, pev_armorvalue))     }
Here's the already modified file in case you're using default ZPA 1.6.1:
Attached Files
File Type: sma Get Plugin or Get Source (zombie_plague_advance_v1-6-1.sma - 506 views - 418.5 KB)
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
Kakarot47
Senior Member
Join Date: May 2015
Location: Pakistan
Old 02-28-2016 , 13:22   Re: [ZPA] Immortal nemesis
Reply With Quote #4

GJ +karma
__________________



AssasinSniperNightmare ModArmageddon ModApolacyps Mod
Kakarot47 is offline
Send a message via Skype™ to Kakarot47
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:00.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode