Raised This Month: $ Target: $400
 0% 

[req]Need Frags n deaths n rank in HUD


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ClubaFKSales
New Member
Join Date: May 2012
Old 05-13-2012 , 13:35   Re: [req]Need Frags n deaths n rank in HUD
Reply With Quote #1

Heya Danidude compiled the plugin fr u

Last edited by Exolent[jNr]; 05-13-2012 at 15:31. Reason: Removed .amxx file.
ClubaFKSales is offline
Send a message via Skype™ to ClubaFKSales
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-13-2012 , 15:31   Re: [req]Need Frags n deaths n rank in HUD
Reply With Quote #2

Quote:
Originally Posted by ClubaFKSales View Post
Heya Danidude compiled the plugin fr u
You are not allowed to post .amxx files.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Danidude
Junior Member
Join Date: Apr 2012
Old 05-17-2012 , 01:27   Re: [req]Need Frags n deaths n rank in HUD
Reply With Quote #3

yup only scripting is allowed here
Danidude is offline
Send a message via Skype™ to Danidude
mFsethh
Senior Member
Join Date: Jun 2014
Old 08-04-2014 , 21:39   Re: [req]Need Frags n deaths n rank in HUD
Reply With Quote #4

hhh

PHP Code:
#include < amxmodx > 
#include < csx > 

#define PLUGIN  "Frags and Deaths"  
#define VERSION "1.0"  
#define AUTHOR  "fLaXXiE"  

const Float:REFRESH_RATE 1.0
new 
maxplayers 

public plugin_init()  
{  
    
register_pluginPLUGINVERSIONAUTHOR 
    
maxplayers get_maxplayers() 
    
set_task(1.0,"ShowHud",0,"",0,"b"
    
register_plugin"HUD Rank""0.0.1""Exolent" ); 
    
set_taskREFRESH_RATE"TaskShowRank", .flags "b" ); 


public 
ShowHud() 

    for(new 
<= maxplayers i++) 
    { 
        new 
Frags get_user_frags(i
        new 
Deaths get_user_deaths(i
        
set_hudmessage(255,255,255,0.02,0.2,01.01.00.10.21
        
show_hudmessage(i,"Frags : %d ^nDeaths : %d",Frags,Deaths
    } 


public 
TaskShowRank( ) 

    new 
iPlayers32 ], iNum
    
get_playersiPlayersiNum"ch" ); 
     
    new 
iPlayeriStats]; 
    new 
iTotalStats get_statsnum( ); 
     
    for( new 
0iNumi++ ) 
    { 
        
iPlayer iPlayers]; 
         
        
set_hudmessage02550, -0.01, -0.2, .holdtime = ( REFRESH_RATE 0.2 ), .fadeintime 0.1, .fadeouttime 0.1, .channel ); 
        
show_hudmessageiPlayer"Rank: %d / %d"get_user_statsiPlayeriStatsiStats ), iTotalStats ); 
    } 

PHP Code:
#define AUTHOR  "fLaXXiE" 
PHP Code:
register_plugin"HUD Rank""0.0.1""Exolent" ); 
mFsethh is offline
Send a message via Yahoo to mFsethh Send a message via Skype™ to mFsethh
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 20:45.


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