How do i display an HUD message from server
I am new to AMX. In other words, i am a noob.
Can anyone tell me how to display HUD messages on server after regular intervals? Like the server should display automatically, "Sorry for the Lag!" in an HUD message. |
Re: How do i display an HUD message from server
Search. Try the Tutorials Section.
|
Re: How do i display an HUD message from server
In order to create a hudmessage you have to use set_hudmessage(...) and show_hudmessage(...).
set_hudmessage: http://www.amxmodx.org/funcwiki.php?go=func&id=28 show_hudmessage: http://www.amxmodx.org/funcwiki.php?go=func&id=29 For displaying the message after regular intervals you'll have to use set_task(...). set_task: http://www.amxmodx.org/funcwiki.php?go=func&id=253 |
Re: How do i display an HUD message from server
Quote:
PHP Code:
(255, 255, 255=Colors, -1.0, 0.26, 0, 6.0=Location, 6.0=Time it will show) show_hudmessage(id, This will show to one player only show_hudmessage(0, This will show for all players |
| All times are GMT -4. The time now is 14:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.