Steam Announce
A simple plugin that prints the player name and steam id only to chat for all to see. It is useful for cheaters (getting their Steam ID before they start name changing) and/or rule breakers (who leave).
This is similar to Connect Annouce and the like except this is stripped right down for just the player name and their steam id.
This is my first self coded plugin and am new to sourcepawn, so will take any advice and criticisms. I thought with the influx of cheaters lately that use name changers etc., a lightweight plugin liek this could come in handy.
Installation
steamannounce.sp -> addons/sourcemod/scripting
steamannounce.smx -> addons/sourcemod/plugins
Requires no restart, just type in to console
rcon sm plugins load steamannounce
CVars
Just one;
sm_steam_announce_version
This will just show the version, 1.0.
Example
[CON] Rizla : STEAM_0:1:23866547 (for when I connect)
[DC] Rizla : STEAM_0:1:23866547 (for when I disconnect)
I doubt this will ever need updating for bug fixes etc. (unless ive made an error), but i will try to provide any support required.
Tested in Counter-Strike Source, don't see any reason it wouldn't work in other source based games (correct me if im wrong)
More than welcome to use the code, edit it and so on and so forth.
Attached Files steamannounce.smx (2.9 KB) Get Plugin or Get Source (steamannounce.sp - 1.4 KB)
Wyświetl pełny artykuł
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse
[forums.alliedmods.net] Steam Announce
Temat rozp.
Adminek AMXX.PL
, 06.02.2012 17:39
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych