problem with the HUD, HP, Class, AP, Armor Jan 28, 2015 13:50:49 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by nikolay on Jan 28, 2015 13:50:49 GMT I have problem with the hud message of HP, Class, AP, ArmorWhen i *SPEC* shows that all the players have only 1 HP and 5 AP - prikachi.com/images.php?images/371/7881371i.jpgWhen i Live is normal - prikachi.com/images.php?images/374/7881374A.jpgPlease help, i use zpa
problem with the HUD, HP, Class, AP, Armor Jan 28, 2015 15:56:04 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by tousif on Jan 28, 2015 15:56:04 GMT Give ur Source
problem with the HUD, HP, Class, AP, Armor Jan 28, 2015 18:11:42 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by nikolay on Jan 28, 2015 18:11:42 GMT ok ---> www.mediafire.com/download/rwwc8jubwx3r9d9/zombie_plague_advance_v1-6-1.sma
problem with the HUD, HP, Class, AP, Armor Jan 29, 2015 10:38:47 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by zmd94 on Jan 29, 2015 10:38:47 GMT Just open your .sma file. Then, change this:// Show HUD Taskpublic ShowHUD(taskid){ static id id = ID_SHOWHUD; // Player died? if (!g_isalive[id]) { // Get spectating target id = pev(id, PEV_SPEC_TARGET) // Target not alive if (!g_isalive[id]) return; } // Format classname static class[32], red, green, blue if (g_zombie[id]) // zombies { red = 255 green = 254 blue = 251 if (g_nemesis[id]) formatex(class, charsmax(class), "%L", ID_SHOWHUD, "CLASS_NEMESIS") else if (g_assassin[id]) formatex(class, charsmax(class), "%L", ID_SHOWHUD, "CLASS_ASSASSIN") else copy(class, charsmax(class), g_zombie_classname[id]) } else // humans { red = 0 green = 255 blue = 0 if (g_survivor[id]) formatex(class, charsmax(class), "%L", ID_SHOWHUD, "CLASS_SURVIVOR") else if (g_sniper[id]) formatex(class, charsmax(class), "%L", ID_SHOWHUD, "CLASS_SNIPER") else formatex(class, charsmax(class), "%L", ID_SHOWHUD, "CLASS_HUMAN") } // Spectating someone else? if (id != ID_SHOWHUD) { // Show name, 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)) } 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) 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, "<<[HP: %d]|[Class: %s]|[AP: %d]|[Armor: %d]>>", pev(ID_SHOWHUD, pev_health), class, g_ammopacks[ID_SHOWHUD], pev(ID_SHOWHUD, pev_armorvalue)) }}-->// Show HUD Taskpublic ShowHUD(taskid){ static id id = ID_SHOWHUD; // Player died? if (!g_isalive[id]) { // Get spectating target id = pev(id, PEV_SPEC_TARGET) // Target not alive if (!g_isalive[id]) return; } // Format classname static class[32], red, green, blue if (g_zombie[id]) // zombies { red = 255 green = 254 blue = 251 if (g_nemesis[id]) formatex(class, charsmax(class), "%L", ID_SHOWHUD, "CLASS_NEMESIS") else if (g_assassin[id]) formatex(class, charsmax(class), "%L", ID_SHOWHUD, "CLASS_ASSASSIN") else copy(class, charsmax(class), g_zombie_classname[id]) } else // humans { red = 0 green = 255 blue = 0 if (g_survivor[id]) formatex(class, charsmax(class), "%L", ID_SHOWHUD, "CLASS_SURVIVOR") else if (g_sniper[id]) formatex(class, charsmax(class), "%L", ID_SHOWHUD, "CLASS_SNIPER") else formatex(class, charsmax(class), "%L", ID_SHOWHUD, "CLASS_HUMAN") } // Spectating someone else? if (id != ID_SHOWHUD) { // Show name, 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 %i - %L %d", id, "ZOMBIE_ATTRIB1", get_user_health(ID_SHOWHUD), ID_SHOWHUD, "CLASS_CLASS", class, ID_SHOWHUD, "AMMO_PACKS1", g_ammopacks[ID_SHOWHUD], ID_SHOWHUD, "ARMOR", pev(ID_SHOWHUD, 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) 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, "<<[HP: %d]|[Class: %s]|[AP: %d]|[Armor: %d]>>", pev(ID_SHOWHUD, pev_health), class, g_ammopacks[ID_SHOWHUD], pev(ID_SHOWHUD, pev_armorvalue)) }}
problem with the HUD, HP, Class, AP, Armor Jan 29, 2015 11:28:22 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by nikolay on Jan 29, 2015 11:28:22 GMT it would be better for you to do it
problem with the HUD, HP, Class, AP, Armor Jan 30, 2015 1:54:57 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by zmd94 on Jan 30, 2015 1:54:57 GMT Sorry, what do you mean?
problem with the HUD, HP, Class, AP, Armor Jan 30, 2015 10:03:28 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by nikolay on Jan 30, 2015 10:03:28 GMT When I put it gives an errorcode itself can not be copied properly
problem with the HUD, HP, Class, AP, Armor Jan 31, 2015 15:47:23 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by zmd94 on Jan 31, 2015 15:47:23 GMT What errors do you get?