GLOBALELITE.PL GLOBALELITE.pl 83 Napisano 3 Lipca 2017 Share Napisano 3 Lipca 2017 SimpleStats Plugin : This plugin track's players info, play time and show everything in a menu.Database : SteamID (SteamID64) Name IP Kills Deaths Shots Hits Headshots Assists SecondsOnServer LastConn This plugin support's only MySQL, so dont try to use it with sqlite.Install : If you want to use this plugin you must use MySQL add a database entry in addons/sourcemod/configs/databases.cfg, call it "simplestats". Code: "Databases"{ "simplestats" { "driver" "mysql" "host" "localhost" "database" "simplestats" "user" "root" "pass" "" }}Copy the .smx file to your plugins (addons/sourcemod/plugins) folderRestart your server.Cvars : Code: // Sets whether or not to record stats// -// Default: "1"sm_ss_enabled "1" Commands : sm_ssreset <target> - Command for flag z to reset player stats. sm_stats - Command for client to open menu with his stats. Credits : Me - Creating the plugin. shavitush - few functions Download : Attached Files Get Plugin or Get Source (SimpleStats.sp - 14.2 KB) SimpleStats.smx (15.1 KB) Pełny artykuł: https://forums.alliedmods.net/showthread.php?t=299110&goto=newpost Odnośnik do odpowiedzi Udostępnij na innych stronach
Rekomendowane odpowiedzi