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

[INC] Director Hud Message


Post New Thread Reply   
 
Thread Tools Display Modes
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-02-2012 , 13:45   Re: [INC] Director Hud Message
Reply With Quote #131

Well, if you mean easy way, you can't. Such message hud is not meant to be "removed" manually because it should be used for static messages. You can see my answer for this matter after I've searched, and there is just no proper way and the possible solutions should not even considered. Try to play with the hold time instead.
__________________
Arkshine is offline
seek__
Junior Member
Join Date: Mar 2012
Old 08-08-2012 , 10:46   Re: [INC] Director Hud Message
Reply With Quote #132

Hello, how to bold inscription ?

Last edited by seek__; 08-08-2012 at 10:46.
seek__ is offline
rak
Veteran Member
Join Date: Oct 2011
Location: banned country
Old 09-03-2012 , 02:40   Re: [INC] Director Hud Message
Reply With Quote #133

nice thanks!

I make a video showing the dhud



http://youtu.be/Rrrdwe1RtVE
__________________

www.amxmodx-es.com

Steam: Luchokoldo
rak is offline
Send a message via MSN to rak Send a message via Skype™ to rak
matsi
Thinkosaur
Join Date: Sep 2006
Old 09-06-2012 , 14:34   Re: [INC] Director Hud Message
Reply With Quote #134

Quote:
Originally Posted by rak View Post
nice thanks!

I make a video showing the dhud



http://youtu.be/Rrrdwe1RtVE
I was waiting for something awesome.....
__________________

Accepting all kinds of requests via private message.
matsi is offline
aganfitra
Junior Member
Join Date: Nov 2011
Old 10-18-2012 , 11:25   Re: [INC] Director Hud Message
Reply With Quote #135

can u add chanel pliss,, i want to make show hud clip n ammo with large size
aganfitra is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-18-2012 , 11:40   Re: [INC] Director Hud Message
Reply With Quote #136

That's not possible. It has not been designed like that.
__________________

Last edited by Arkshine; 10-18-2012 at 11:41.
Arkshine is offline
aganfitra
Junior Member
Join Date: Nov 2011
Old 10-18-2012 , 11:49   Re: [INC] Director Hud Message
Reply With Quote #137

this is my code,, can you help me to make large size??

Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Show Clip & Ammo"
#define VERSION "1.0"
#define AUTHOR "Forcas aka. aganfitra"

new clip
new ammo

public plugin_init() 
{
    register_plugin(PLUGIN, VERSION, AUTHOR)
    
    register_event("CurWeapon", "showclip", "b", "1=1")
    register_event("AmmoX", "showammo", "b", "1<15")
    register_event("CurWeapon", "Event_CurWeapon", "b", "1=1")

}

public showclip(id)
{
    clip = read_data(3)
}

public showammo(id)
{
    if(get_user_weapon( id, clip, ammo ))
    {
        ammo = read_data(2)
    }
}

public Event_CurWeapon(id)
{
    switch(get_user_weapon( id, clip, ammo ))
    {
        case CSW_KNIFE: set_hudmessage(255, 255, 255, -1.0, 0.15, _,_, 1.0,_,_, 4) && show_hudmessage(0, "", clip, ammo)
        case CSW_HEGRENADE: set_hudmessage(255, 255, 255, -1.0, 0.15, _,_, 1.0,_,_, 4) && show_hudmessage(0, "", clip, ammo)
        case CSW_SMOKEGRENADE: set_hudmessage(255, 255, 255, -1.0, 0.15, _,_, 1.0,_,_, 4) && show_hudmessage(0, "", clip, ammo)
        case CSW_FLASHBANG: set_hudmessage(255, 255, 255, -1.0, 0.15, _,_, 1.0,_,_, 4) && show_hudmessage(0, "", clip, ammo)
        case CSW_GLOCK18: set_hudmessage(255, 255, 255, -1.0, 0.15, _,_, 1000.0,_,_, 4) && show_hudmessage(0, "%3d/%3d", clip, ammo)
        case CSW_SG552: set_hudmessage(255, 255, 255, -1.0, 0.15, _,_, 1000.0,_,_, 4) && show_hudmessage(0, "%3d/%3d", clip, ammo)
    }
}

Last edited by aganfitra; 10-18-2012 at 11:51.
aganfitra is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-18-2012 , 12:24   Re: [INC] Director Hud Message
Reply With Quote #138

Same answer, that's not possible.
__________________
Arkshine is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-19-2012 , 00:56   Re: [INC] Director Hud Message
Reply With Quote #139

Quote:
Originally Posted by aganfitra View Post
this is my code,, can you help me to make large size??

Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Show Clip & Ammo"
#define VERSION "1.0"
#define AUTHOR "Forcas aka. aganfitra"

new clip
new ammo

public plugin_init() 
{
    register_plugin(PLUGIN, VERSION, AUTHOR)
    
    register_event("CurWeapon", "showclip", "b", "1=1")
    register_event("AmmoX", "showammo", "b", "1<15")
    register_event("CurWeapon", "Event_CurWeapon", "b", "1=1")

}

public showclip(id)
{
    clip = read_data(3)
}

public showammo(id)
{
    if(get_user_weapon( id, clip, ammo ))
    {
        ammo = read_data(2)
    }
}

public Event_CurWeapon(id)
{
    switch(get_user_weapon( id, clip, ammo ))
    {
        case CSW_KNIFE: set_hudmessage(255, 255, 255, -1.0, 0.15, _,_, 1.0,_,_, 4) && show_hudmessage(0, "", clip, ammo)
        case CSW_HEGRENADE: set_hudmessage(255, 255, 255, -1.0, 0.15, _,_, 1.0,_,_, 4) && show_hudmessage(0, "", clip, ammo)
        case CSW_SMOKEGRENADE: set_hudmessage(255, 255, 255, -1.0, 0.15, _,_, 1.0,_,_, 4) && show_hudmessage(0, "", clip, ammo)
        case CSW_FLASHBANG: set_hudmessage(255, 255, 255, -1.0, 0.15, _,_, 1.0,_,_, 4) && show_hudmessage(0, "", clip, ammo)
        case CSW_GLOCK18: set_hudmessage(255, 255, 255, -1.0, 0.15, _,_, 1000.0,_,_, 4) && show_hudmessage(0, "%3d/%3d", clip, ammo)
        case CSW_SG552: set_hudmessage(255, 255, 255, -1.0, 0.15, _,_, 1000.0,_,_, 4) && show_hudmessage(0, "%3d/%3d", clip, ammo)
    }
}
I think you shoud give up coding, no offense, but it is clear that you don't understand anything on basic stuff.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
aganfitra
Junior Member
Join Date: Nov 2011
Old 10-19-2012 , 08:13   Re: [INC] Director Hud Message
Reply With Quote #140

but my code work fine,, maybe i need to reset message position.. and i dont understand about
"1=1" and "1<15" / const cond

but i'll never stop to learn coding

Last edited by aganfitra; 10-19-2012 at 08:40.
aganfitra 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 18:33.


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