Raised This Month: $ Target: $400
 0% 

[req] simple hud message


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tfk94
Veteran Member
Join Date: Jan 2011
Location: [url=http://www.gametrac
Old 04-07-2012 , 15:14   [req] simple hud message
Reply With Quote #1

i need a hud plugin which sets message on the place of the pic
http://prikachi.com/images/865/4615865U.jpg
tfk94 is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 04-07-2012 , 19:14   Re: [req] simple hud message
Reply With Quote #2

What colour do you want it to be + which text?
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
samer 123
BANNED
Join Date: Aug 2010
Location: palestine
Old 04-08-2012 , 00:38   Re: [req] simple hud message
Reply With Quote #3

yeah me too but i want it show like amx_cflicksay ....... any msg just i want code plz
samer 123 is offline
Send a message via MSN to samer 123 Send a message via Skype™ to samer 123
tfk94
Veteran Member
Join Date: Jan 2011
Location: [url=http://www.gametrac
Old 04-08-2012 , 09:03   Re: [req] simple hud message
Reply With Quote #4

green
SERVER IP - 87.120.215.159:27016 for message
tfk94 is offline
BeeFighter
Member
Join Date: Feb 2012
Old 04-08-2012 , 09:06   Re: [req] simple hud message
Reply With Quote #5

PHP Code:
set_hudmessage(025500.180.006.012.0)
show_hudmessage(id"SERVER IP - 87.120.215.159:27016"
__________________
www.Gstar-Gaming.net

Servers:
Jailbreak
HidenSeek
Knife
Deathrun
Public

Join us now: www.gstar-gaming.net
BeeFighter is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 04-08-2012 , 09:11   Re: [req] simple hud message
Reply With Quote #6

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

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "ShowHudMessage"
#define VERSION "1.0"
#define AUTHOR "NapoleoN#"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
set_task(1.0"ShowMessage")
}

public 
ShowMessage(id) {
    
set_hudmessage(25500, -1.00.006.020.1)
    
show_hudmessage(id"SERVER IP - 87.120.215.159:27016")

    
set_task(20.0"ShowMessage")

untested
__________________

Last edited by Napoleon_be; 04-08-2012 at 18:47.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
tfk94
Veteran Member
Join Date: Jan 2011
Location: [url=http://www.gametrac
Old 04-08-2012 , 09:33   Re: [req] simple hud message
Reply With Quote #7

mhmm not working for me
tfk94 is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 04-08-2012 , 10:28   Re: [req] simple hud message
Reply With Quote #8

editted the code, should work now.
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-08-2012 , 18:36   Re: [req] simple hud message
Reply With Quote #9

Quote:
Originally Posted by Napoleon_be View Post
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "ShowHudMessage"
#define VERSION "1.0"
#define AUTHOR "NapoleoN#"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
set_task(1.0"ShowMessage", .flags "a")
}

public 
ShowMessage(id) {
    
set_hudmessage(25500, -1.00.006.020.1)
    
show_hudmessage(id"SERVER IP - 87.120.215.159:27016")

    
set_task(20.0"ShowMessage"id)

untested
Why are you using 'id' when it is always 0, and specifying flags for 'a' when it is default?
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 04-08-2012 , 18:48   Re: [req] simple hud message
Reply With Quote #10

Quote:
Originally Posted by Exolent[jNr] View Post
Why are you using 'id' when it is always 0, and specifying flags for 'a' when it is default?
fixed.
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
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:22.


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