This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[CS|HL] StatTrak Technology v1.2 (BOT Support, AMXX 1.8 Compatible)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Statistical       
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 03-17-2024 , 17:57   [CS|HL] StatTrak Technology v1.2 (BOT Support, AMXX 1.8 Compatible)
Reply With Quote #1

  • Description
    Records all kills on a counter for each weapon
  • Modules
    1. nVault - database module
    2. JSON - value of key entry (if using amxx 1.9+)
  • Cvars
    1. hud_channel_stattrak (default: -1) channel to use on the client
    2. hud_color_stattrak (default: 255) the higher the brighter text, lower the value to recreate troxler fading
  • Commands
    say stattrak - stats menu
    when spectating will show players' stats
  • Install
    Click `Get Plugin`
  • API
    Code:
    #include <amxmodx> native get_user_stattrak(id, weaponid) public plugin_init()     register_clcmd("say f", "clcmd_f") public clcmd_f(id) {     client_print(id, print_chat, "This: %d", get_user_stattrak(id, get_user_weapon(id)))     client_print(id, print_chat, "Glock 18: %d", get_user_stattrak(id, CSW_GLOCK18)) }
  • Notes
    StatTrak menu will show after you killed at least one person
    StatTrak counter will show after you have killed at least one person with currently carried weapon
    Able to see other players' current weapon kills when spectating
    Supports BOTs by using name as key
    First seen https://forums.alliedmods.net/showthread.php?t=344745

    For Half-Life Deathmatch:
    Removed ability to see other players weapon stats
    Removed ability to save BOTs stats
    Replaced HUD Message with Status Text
  • Image



    Player is a BOT
Attached Files
File Type: sma Get Plugin or Get Source (stattrak.sma - 78 views - 6.9 KB)
File Type: sma Get Plugin or Get Source (stattrak_valve.sma - 44 views - 5.4 KB)
__________________

Last edited by bigdaddy424; 04-09-2024 at 23:26. Reason: Updated to 1.2
bigdaddy424 is offline
 



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:57.


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