Raised This Month: $ Target: $400
 0% 

[REQ] Hud Msg for alive players


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
MAJESTIC_SZ
Senior Member
Join Date: Mar 2020
Location: Portugal
Old 04-30-2023 , 07:25   Re: [REQ] Hud Msg for alive players
Reply With Quote #8

Quote:
Originally Posted by Jhob94 View Post
Pai sapo?
Btw, the code seems ok. It should work perfectly if you use default amxmodx. Since you running rehlds and other stuff i have no idea what kind of impact it can have on plugin’s performance.

Edit:
Try with get_players, flags ae, will instantly give you the count per team. Maybe this way it works
Thank you for your answer!
I don't really know how to code, i can edit somethings only...
Where do i edit that? Here?
PHP Code:
set_task(0.5"GetPlayer"TASK_GETPLAYER__"b"
to:
PHP Code:
set_task(0.5"GetPlayers"TASK_GETPLAYERS__"ae"
?

Another thing i noticed is the hud info is not permanently shown on screen. It fades away and then comes back, this happens randomly, but since the purpose is to help alive players, it should be permanent.

Last edited by MAJESTIC_SZ; 04-30-2023 at 07:39.
MAJESTIC_SZ is offline
 


Thread Tools
Display Modes

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 10:23.


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