Raised This Month: $ Target: $400
 0% 

Message command?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BRUm
Junior Member
Join Date: May 2005
Location: UK
Old 05-07-2005 , 03:40   Message command?
Reply With Quote #1

I am making a basic plugin, and I've read the documentation, but it hasn't given the straight forward message command. I just need to know the command for the plugin to display a message.

EDIT: I think I found it:

Code:
//This is a function that takes no parameters and returns 1. //When activated, it uses the (non-existant) print function. show() {    print("Teh evil nerd has just cursed you!")    return 1   //End, return 1 } //Activate like this: show()

But that isn't specifically for Amxx is it? I need one that shows a HUD message to all players
__________________
#1 Aim/WC3 server - tab.no-ip.com
#1 Webhosting - xwebhost.co.uk
-----------------------------------------
BRUm is offline
Send a message via MSN to BRUm
NiGHTFiRE
Senior Member
Join Date: Dec 2004
Location: Sweden
Old 05-07-2005 , 05:01  
Reply With Quote #2

Code:
set_hudmessage(255, 0, 255, 0.10, 0.55, 0, 6.0, 6.0, 0.5, 0.15, 3)    show_hudmessage(0, ///)
that's right?? That should show up hud message
NiGHTFiRE is offline
Send a message via AIM to NiGHTFiRE Send a message via MSN to NiGHTFiRE
BRUm
Junior Member
Join Date: May 2005
Location: UK
Old 05-07-2005 , 08:08  
Reply With Quote #3

oh, but where does that command have the text to be displayed?
__________________
#1 Aim/WC3 server - tab.no-ip.com
#1 Webhosting - xwebhost.co.uk
-----------------------------------------
BRUm is offline
Send a message via MSN to BRUm
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 05-07-2005 , 22:12  
Reply With Quote #4

http://amxmodx.org/funcwiki.php?go=func&id=28
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x 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 16:43.


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