Raised This Month: $51 Target: $400
 12% 

Subplugin Submission [ZP] Addon: Aim Info


Post New Thread Reply   
 
Thread Tools Display Modes
EDWHARD
Junior Member
Join Date: Jul 2017
Old 07-29-2017 , 04:37   Re: [ZP] Addon: Aim Info
Reply With Quote #31

Plzzzzzz make it work for zp 4.3 ((((((
EDWHARD is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 07-29-2017 , 06:13   Re: [ZP] Addon: Aim Info
Reply With Quote #32

https://forums.alliedmods.net/showthread.php?t=273814
zpnm_gp_aim_info.sma from the first link.
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
undertaker5
Member
Join Date: Sep 2013
Location: Denmark
Old 06-02-2022 , 15:53   Re: [ZP] Addon: Aim Info
Reply With Quote #33

Does anyone know how to add levels in the aim info hud?
undertaker5 is offline
ZaX
Senior Member
Join Date: Jan 2015
Old 06-02-2022 , 21:42   Re: [ZP] Addon: Aim Info
Reply With Quote #34

Quote:
Originally Posted by undertaker5 View Post
Does anyone know how to add levels in the aim info hud?
Which level plugin are you using?
Upload the include file or natives used by the plugin
ZaX is offline
undertaker5
Member
Join Date: Sep 2013
Location: Denmark
Old 06-04-2022 , 15:21   Re: [ZP] Addon: Aim Info
Reply With Quote #35

Quote:
Originally Posted by ZaX View Post
Which level plugin are you using?
Upload the include file or natives used by the plugin
It's the Oxicrom one https://forums.alliedmods.net/showthread.php?t=308540
undertaker5 is offline
ZaX
Senior Member
Join Date: Jan 2015
Old 06-04-2022 , 17:48   Re: [ZP] Addon: Aim Info
Reply With Quote #36

Code:
/*****************************************************\ =============================== || [ZP] Aim Info Plugin v1.0 || =============================== ||DESCRIPTION||     When you aim at your friend, a hud message     appears which shows you the Name, HP,     Armor and Ammo Packs of your friend. ||CREDITS||     - AMX MOD X Team ----> For most of the natives     - MeRcyLeZZ ----> For ZP 4.3     - Sn!ff3r ----> For the Actual Aim info Plugin \*****************************************************/ #include <amxmodx> #include <zombieplague> #include <crxranks> #define PLUGIN "Aim Info Plugin" #define VERSION "1.0" #define AUTHOR "@bdul!+Sn!ff3r" new g_status_sync public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)     register_event("StatusValue", "showStatus", "be", "1=2", "2!0")     register_event("StatusValue", "hideStatus", "be", "1=1", "2=0")         g_status_sync = CreateHudSyncObj() } public showStatus(id) {     if(!is_user_bot(id) && is_user_connected(id))     {         new name[32], pid = read_data(2)         new rankName[35]; crxranks_get_user_rank(pid, rankName, charsmax(rankName));             get_user_name(pid, name, 31)         new color1 = 0, color2 = 0             new team1 = zp_get_user_zombie(id), team2 = zp_get_user_zombie(pid)             if (team2 == 1)             color1 = 255         else             color2 = 255                         if (team1 == team2)    // friend         {             set_hudmessage(color1, 50, color2, -1.0, 0.60, 1, 0.01, 3.0, 0.01, 0.01, -1)             ShowSyncHudMsg(id, g_status_sync, "%s | HP: %d | Armor: %d | Ammo Packs: %d | Level: %s [%i/%i]", name, get_user_health(pid), get_user_armor(pid),                 zp_get_user_ammo_packs(pid), rankName, crxranks_get_user_level(pid), crxranks_get_max_levels() );         }     } } public hideStatus(id) {     ClearSyncHud(id, g_status_sync) }

Last edited by ZaX; 06-04-2022 at 19:06.
ZaX is offline
undertaker5
Member
Join Date: Sep 2013
Location: Denmark
Old 06-04-2022 , 17:52   Re: [ZP] Addon: Aim Info
Reply With Quote #37

Quote:
Originally Posted by ZaX View Post
Code:
/*****************************************************\ =============================== || [ZP] Aim Info Plugin v1.0 || =============================== ||DESCRIPTION||     When you aim at your friend, a hud message     appears which shows you the Name, HP,     Armor and Ammo Packs of your friend. ||CREDITS||     - AMX MOD X Team ----> For most of the natives     - MeRcyLeZZ ----> For ZP 4.3     - Sn!ff3r ----> For the Actual Aim info Plugin \*****************************************************/ #include <amxmodx> #include <zombieplague> #include <crxranks> #define PLUGIN "Aim Info Plugin" #define VERSION "1.0" #define AUTHOR "@bdul!+Sn!ff3r" new g_status_sync public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)     register_event("StatusValue", "showStatus", "be", "1=2", "2!0")     register_event("StatusValue", "hideStatus", "be", "1=1", "2=0")         g_status_sync = CreateHudSyncObj() } public showStatus(id) {     if(!is_user_bot(id) && is_user_connected(id))     {         new name[32], pid = read_data(2)             get_user_name(pid, name, 31)         new color1 = 0, color2 = 0             new team1 = zp_get_user_zombie(id), team2 = zp_get_user_zombie(pid)             if (team2 == 1)             color1 = 255         else             color2 = 255                         if (team1 == team2)    // friend         {             set_hudmessage(color1, 50, color2, -1.0, 0.60, 1, 0.01, 3.0, 0.01, 0.01, -1)             ShowSyncHudMsg(id, g_status_sync, "%s | HP: %d | Armor: %d | Ammo Packs: %d | Level: [%i/%i]", name, get_user_health(pid), get_user_armor(pid),                 zp_get_user_ammo_packs(pid), crxranks_get_user_level(pid), crxranks_get_max_levels() );         }     } } public hideStatus(id) {     ClearSyncHud(id, g_status_sync) }
Thank you very much for this really appreciated but can you add the different level names too?
undertaker5 is offline
ZaX
Senior Member
Join Date: Jan 2015
Old 06-04-2022 , 19:07   Re: [ZP] Addon: Aim Info
Reply With Quote #38

Quote:
Originally Posted by undertaker5 View Post
Thank you very much for this really appreciated but can you add the different level names too?
Edited the post
ZaX is offline
Morgoneth
New Member
Join Date: Mar 2022
Old 06-08-2022 , 00:40   Re: [ZP] Addon: Aim Info
Reply With Quote #39

Quote:
Originally Posted by ZaX View Post
Which level plugin are you using?
Upload the include file or natives used by the plugin

hi, ZaX

I had a similar question myself, so I wanted to ask you
How to add Gunxp's rank to Aim info hud?
Attached Files
File Type: 7z gunxpmod.7z (10.1 KB, 50 views)
Morgoneth is offline
Reply



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 10:04.


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