Raised This Month: $ Target: $400
 0% 

[L4D & L4D2] Custom Player Stats v1.4B121


Post New Thread Reply   
 
Thread Tools Display Modes
Author
muukis
Veteran Member
Join Date: Apr 2009
Plugin ID:
1415
Plugin Version:
1.5
Plugin Category:
Statistical
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    117 
    Plugin Description:
    A SourceMod plugin that records both player and server statistics for Left 4 Dead (1 and 2). It has also a web site that allows browsing of the statistics.
    Old 05-02-2012 , 08:36   Re: [L4D & L4D2] Custom Player Stats v1.4B117
    Reply With Quote #1

    Quote:
    Originally Posted by Evkval View Post
    Good day!
    Please tell me how to display the ip address of the player on the page? Thank you! http://kalibr.myarena.ru/
    In player.php file (line 235 where it sets the steam_id)...
    - Add new line:
    PHP Code:
    $stats->set("player_ip"$row['ip']); 
    Then in player.tpl file (line 56 where it sets the steam id)...
    - Add new line:
    PHP Code:
    <tr><td>IP:</td><td><?php echo $player_ip;?></td></tr>
    __________________
    Monster Hunter

    Though certainly not superhuman, the man's prowess inspires an excess of whispered rumors. But those rumors remain in the realm of speculation.
    muukis is offline
    Evkval
    Junior Member
    Join Date: Jul 2010
    Location: Russia
    Old 05-02-2012 , 09:29   Re: [L4D & L4D2] Custom Player Stats v1.4B117
    Reply With Quote #2

    muukis
    thank you!!!
    Evkval 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 12:24.


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