Raised This Month: $51 Target: $400
 12% 

Solved Help with turn on / off hud


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
nades
BANNED
Join Date: Oct 2020
Location: Usa
Old 11-04-2020 , 02:36   Help with turn on / off hud
Reply With Quote #1

Code:
#include <amxmodx>


public plugin_init() {
    set_task(1.0, "show_hud",_,_,_, "b")
}

public show_hud() {
    
    new ip [ 60 ], hostname[ 64 ]
    get_user_ip ( 0, ip, sizeof ( ip ) - 1 )
    get_cvar_string("hostname", hostname, 63) 
    set_hudmessage(6, 70, 199, 0.0, 0.21, 0, 6.0, 1.1)
    show_hudmessage(0, "Server: %s^nIP: %s", hostname, ip);
}
I want a cmd /hud for on/off hud message.

Last edited by nades; 11-05-2020 at 02:46.
nades is offline
Send a message via ICQ to nades Send a message via AIM to nades Send a message via Yahoo to nades Send a message via Skype™ to nades
 



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 11:08.


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