Thread: Players List
View Single Post
Author Message
urus
Senior Member
Join Date: Jan 2007
Old 09-18-2007 , 17:11   Players List
Reply With Quote #1

Example:

Code:
# SteamID           IP             Country   Nick
1 STEAM:0:xxxxxxxx  xx.xx.xx.xx    USA       Testplayer1 
2 STEAM:0:xxxxxxxx  xx.xx.xx.xx    CHZ       Testplayer2


Command:
sm_plist - shows players on server with steamid, ip address, country code, name. If sm_plistpub 0 this command works only for admins.

Cvar:
sm_plistpub - enabled/disabled command sm_plist for regular players


It simple remake command sm_who from plugin basecommands.



Version:

0.4
cleanup and optimized code
added three character country code from an IP address

0.3
Fix serious bug in the code - thanks to Anubis

0.2
Cvar sm_usersaylist changed to sm_plistpub
Public chat command /plist changed to console command sm_plist

0.1
Release
Attached Files
File Type: sp Get Plugin or Get Source (sm_playerslist_unml.sp - 2741 views - 2.6 KB)
File Type: smx sm_playerslist_unml.smx (2.9 KB, 1549 views)

Last edited by urus; 07-18-2010 at 13:26. Reason: new version
urus is offline