 |
|
Senior Member
Join Date: Sep 2010
Location: Sweden,Gothenburg
|

10-26-2011
, 10:14
Re: How do i display an HUD message from server
|
#4
|
Quote:
Originally Posted by imrock
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.
|
PHP Code:
set_hudmessage(255, 255, 255, -1.0, 0.26, 0, 6.0, 6.0) show_hudmessage(id, "Sorry for the lag!")
That will be white top center of the screen and time 6 seconds
( 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
__________________
Last edited by MostwantedScript; 10-26-2011 at 10:16.
|
|
|
|