Raised This Month: $ Target: $400
 0% 

[HELP] Weapons Hud Info !


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 12-19-2015 , 14:42   Re: [HELP] Weapons Hud Info !
Reply With Quote #10

addons zz
thx you get me idea

PHP Code:
#include <AmxModx>
#include <HamSandwich>

new weapons[][] = 

//"weapon_tripmine"
"weapon_357"
"weapon_crossbow"
"weapon_gauss"
"weapon_hornetgun"
"weapon_rpg"
"weapon_snark"
"weapon_hornetgun"
"weapon_rpg"
"weapon_snark"
"weapon_9mmAR"
"weapon_crowbar"
"weapon_glock"
"weapon_mp5"
"weapon_handgrenade"
"weapon_egon"
"weapon_shotgun"
"weapon_9mmhandgun" 
}

public 
plugin_init() {

RegisterHam(Ham_Item_Deploy"weapon_tripmine""draw_hud"1)

for(new 
0szcmd[20]; sizeof(weapons); i++)
{
formatex(szcmdcharsmax(szcmd), "%s"weapons[i][0])
register_clcmd(szcmd"hide_HUD")
}
}

public 
hide_HUD(id)
{
set_hudmessage(025500.750.8306.010.0)
show_hudmessage(id"")
}
public 
draw_hud(const tripmineid)
{
    
set_hudmessage(025500.750.8306.010.0)
show_hudmessage(id"Weapon Tripmine ...bla bla bla !")


__________________
abdobiskra is offline
Send a message via Skype™ to abdobiskra
 



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 17:57.


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