Raised This Month: $32 Target: $400
 8% 

Add milliseconds


Post New Thread Reply   
 
Thread Tools Display Modes
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 10-22-2020 , 15:54   Re: Add milliseconds
Reply With Quote #11

You can create an entity and show the hud message in the think.
__________________








CrazY. is offline
HowToRuski
Senior Member
Join Date: Feb 2019
Location: Hungary
Old 10-23-2020 , 06:57   Re: Add milliseconds
Reply With Quote #12

Quote:
Originally Posted by CrazY. View Post
You can create an entity and show the hud message in the think.
How do i do that?
HowToRuski is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 10-23-2020 , 07:35   Re: Add milliseconds
Reply With Quote #13

Code:
#include <amxmodx> #include <engine> new gEntity public plugin_init() {     gEntity = create_entity("info_target")     entity_set_string(gEntity, EV_SZ_classname, "hud_update")     entity_set_float(gEntity, EV_FL_nextthink, 0.01) // update rate     register_think("hud_update", "ThinkHandler") } public ThinkHandler(index) {     // Show hud here     // .............     entity_set_float(index, EV_FL_nextthink, 0.01) // update rate }
__________________








CrazY. 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 11:36.


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