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

Infohud API


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 03-26-2020 , 15:19   Infohud API
Reply With Quote #1

Infohud API

A call center where all hud-messages come together,
currently people are using 17 different plugins with hudmessages all over the places.
Using this it's all nicely shown under the radar, combined with a few functions.

The idea, hud is seperated in 3 parts:
PHP Code:
         Deathrun neonDragon.net            SERVER INFO
deathrun_simple  
- [15 32] - 15:31

Respawn active 
for 7seconds                GLOBAL MSGS
Freerun is active

Speedtimer at 1min 30secs                CUSTOM MSGS 


-

The header is changeable with the cvar hudinfo_header " #Alliedmodders/n#MAP - [#PL / #MAXPL] - #TIMELEFT"
There Hashtags are the ones available, and can be removed. You can choose what you use and show.

-

I've added a simple (and fast) example plugin of ways to use the Infohud API,
containing killstreak, deathstreak, time alive, spawn protection and best player of the round.

All the rest is in the code to see and use.
Attached Files
File Type: sma Get Plugin or Get Source (infohud_api.sma - 297 views - 9.7 KB)
File Type: sma Get Plugin or Get Source (infohud_example.sma - 298 views - 5.1 KB)
__________________
Retired.
Xalus 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 13:53.


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