AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   About me (https://forums.alliedmods.net/showthread.php?t=90232)

xer' 04-15-2009 13:30

About me
 
2 Attachment(s)
ABOUT ME v1.0
by xer'

Description:
The players can see live data of their nick, ip, authid, hp, armor, frags, deaths and ping.

Commands:
say /aboutme

New: added ml!

PHP Code:

Translators:
[
en] - xer'
[ro] - xer'
[nl] - crazyeffect
[lt] - dypz
[cz] - jab
[sv] - Wiggen94 

i forgot to say! the translators will receive +k from me!


crazyeffect 04-15-2009 13:38

Re: About me
 
Sounds cool

minimiller 04-15-2009 13:41

Re: About me
 
or even better:
Code:

set_task(30.0, "msg", _, _, _, "b");

Emilioneri 04-15-2009 13:52

Re: About me
 
PHP Code:

Your number of frags are: %dYour number of deads are: %dYour number of ping is: %

:arrow:

PHP Code:

Your frags: %dYour deaths: %dYour ping: %


xPaw 04-15-2009 14:31

Re: About me
 
If player is dead, ofcourse his health & armor is 0, you should add alive check :)

PHP Code:

#include <amxmodx>

#define PLUGIN    "Aboutme"
#define VERSION    "1.0"
#define AUTHOR    "xer'"

public plugin_init() {
    
register_pluginPLUGINVERSIONAUTHOR );
       
register_clcmd("say /aboutme""cmdAboutMe");
       
register_clcmd("say_team /aboutme""cmdAboutMe");
    
set_task30.0"fnInformation"___"b" );
}

public 
cmdAboutMeid ) {
    new 
szName32 ], szIp16 ], szSteamID32 ], iPingiLoss;
    
get_user_nameidszName31 );
    
get_user_ipidszIp31);
    
get_user_authididszSteamID31 );
    
get_user_pingidiPingiLoss );
    
    
client_printidprint_chat"* Your name is %s. Your ip is: %s. Your steamid is: %s"szNameszIpszSteamID );
    
    if( 
is_user_aliveid ) )
        
client_printidprint_chat"* Your Health: %d. Your armor: %d. Your Frags: %d. Your deaths: %d. Your ping: %d"get_user_healthid ), get_user_armorid ), get_user_fragsid ), get_user_deathsid ), iPing );
    else
        
client_printidprint_chat"* Your Frags: %d. Your deaths: %d. Your ping: %d"get_user_fragsid ), get_user_deathsid ), iPing );
    
    return 
PLUGIN_HANDLED;
}

public 
fnInformation() {
    
client_print0print_chat"To see live data about you, type in chat /aboutme" );



KadiR 04-15-2009 14:35

Re: About me
 
n1, what about ML?

hleV 04-15-2009 15:33

Re: About me
 
Add FPS maybe? And kills/deaths ratio?

xer' 04-15-2009 16:05

Re: About me
 
Quote:

Originally Posted by hleV (Post 806238)
Add FPS maybe? And kills/deaths ratio?

At the new version, I try to add what you said.

DruGzOG 04-15-2009 16:46

Re: About me
 
Nice

tuty 04-15-2009 18:14

Re: About me
 
Quote:

Originally Posted by DruGzOG (Post 806304)
Nice



All times are GMT -4. The time now is 11:17.

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