Raised This Month: $ Target: $400
 0% 

How to make HUD permanent?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Aooka
Veteran Member
Join Date: Aug 2011
Location: Villeurbanne
Old 05-15-2012 , 06:30   Re: How to make HUD permanent?
Reply With Quote #8

Code:
// In your plugin_init new iEnt = create_entity( "info_target" ); set_pev( iEnt, pev_classname, "permanent_hud" ); register_think( "permanent_hud", "thinkPermanentHud" ); set_pev( iEnt, pev_nextthink, 30.0 ); // A new function public thinkPermanentHud( iEnt ) {     set_pev( iEnt, pev_nextthink, 30.0 );     // your Hud message }
__________________
Pawn ? Useless

Last edited by Aooka; 05-15-2012 at 06:30.
Aooka is offline
 



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 00:28.


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