AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Message command? (https://forums.alliedmods.net/showthread.php?t=13175)

BRUm 05-07-2005 03:40

Message command?
 
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

NiGHTFiRE 05-07-2005 05:01

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

BRUm 05-07-2005 08:08

oh, but where does that command have the text to be displayed?

v3x 05-07-2005 22:12

http://amxmodx.org/funcwiki.php?go=func&id=28


All times are GMT -4. The time now is 16:43.

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