This plugin allows an admin with the ADMIN_LEVEL_A flag to add a sprite above the heads of a specified player, a team or all players. You can also remove this sprite from their heads.
By default, there are twelve sprites available, which are:
camper, camper2, fag, grass_01, idiot, ic4, ihostage, iplayerc4, ledglow, sexy, shoot, sniper_scope.
Each sprite you want to use must be added to the "sprite_show.txt".
You can add your own sprites then also add a sprite to a specified SteamID/IP to the "sprite_show_players.txt" file.
.: Commands :.
amx_sprite <name|#userid|authid|@TEAM|*(all)> <sprite> - adds a sprite above player's head
amx_unsprite <name|#userid|authid|@TEAM|*(all)> - removes the sprite above player's head
.: Available languages :.
English, French.
.: Requirements :.
AMX Mod 2010.1 or higher.
Compatible mods: All.
.: Notes :.
You can enable the AMX logs by uncommenting the #defineUSE_LOGS.
You can increase/decrease the maximum number of sprites you can precache (in file) by editing the #defineMAX_SPRITES.
.: Changelog :.
Code:
1.9 o code improvements and added NoSteam support (CS 1.6 with dproto or CS 1.5 under WON)
1.8 o improved version (quickly)
- added supreme admin support
- added colored admin activity support
- added #define USE_LOGS to enable/disable AMX logging
- added "*" argument to the command (to make the action to all players)
- added multimod support
- improved and cleaning up for all codes
- added multilingual support
1.7 o fixed folder path
1.6 o rewritten
1.5 o new changes
- sprites stay on players's heads until you remove them with amx_unsprite (it can stay a whole map now)
- added sprites_show_players.txt file (see above for more details)
1.4 o fixed a bug
1.3 o added possibility to precache and use your own sprites
1.2 o added optimizations
1.1 o added sprite "camper2"
1.0 o first release