Raised This Month: $100 Target: $400
 25% 

About me


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Statistical        Approver:   Exolent[jNr] (178)
xer'
Junior Member
Join Date: Apr 2009
Old 04-15-2009 , 14:30   About me
Reply With Quote #1

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!

Attached Files
File Type: sma Get Plugin or Get Source (aboutme.sma - 4298 views - 1.2 KB)
File Type: txt aboutme.txt (1.2 KB, 2154 views)

Last edited by xer'; 08-14-2009 at 15:39. Reason: v1.1
xer' is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 04-15-2009 , 14:38   Re: About me
Reply With Quote #2

Sounds cool
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
Old 04-15-2009, 14:38
fezh
This message has been deleted by fezh. Reason: ._.
minimiller
Veteran Member
Join Date: Aug 2007
Location: United Kingdom
Old 04-15-2009 , 14:41   Re: About me
Reply With Quote #3

or even better:
Code:
set_task(30.0, "msg", _, _, _, "b");
__________________
minimiller is offline
Send a message via MSN to minimiller
Emilioneri
Senior Member
Join Date: Feb 2009
Location: Georgia, Tbilisi
Old 04-15-2009 , 14:52   Re: About me
Reply With Quote #4

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


PHP Code:
Your frags: %dYour deaths: %dYour ping: %
__________________
Emilioneri is offline
Send a message via Skype™ to Emilioneri
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 04-15-2009 , 15:31   Re: About me
Reply With Quote #5

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" );

__________________
xPaw is offline
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 04-15-2009 , 15:35   Re: About me
Reply With Quote #6

n1, what about ML?
KadiR is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 04-15-2009 , 16:33   Re: About me
Reply With Quote #7

Add FPS maybe? And kills/deaths ratio?
__________________
hleV is offline
xer'
Junior Member
Join Date: Apr 2009
Old 04-15-2009 , 17:05   Re: About me
Reply With Quote #8

Quote:
Originally Posted by hleV View Post
Add FPS maybe? And kills/deaths ratio?
At the new version, I try to add what you said.
xer' is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 04-15-2009 , 17:46   Re: About me
Reply With Quote #9

Nice
__________________

Home of the AMX SUPER
Discord
DruGzOG is offline
Send a message via AIM to DruGzOG
tuty
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 04-15-2009 , 19:14   Re: About me
Reply With Quote #10

Quote:
Originally Posted by DruGzOG View Post
Nice
__________________
All my lifetime work is there (includin private big ass plugins and stuff) https://github.com/tutyamxx

tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
Reply


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 05:18.


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