Sprites Show (KRoT@L)

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Sprites Show (KRoT@L)

Post by greenie »

Plugin: Sprites Show (Show funny sprites above players' head)
Version: 1.5
Author: KRoTaL (Based on the original admin show plugin by StuD|MaN)

1.0 Release
1.1 new sprite : camper2
1.2 optimization, works better
1.3 you can now precache and use your own sprites
1.4 bug fix (hopefully)
1.5 sprites stay on player's head until you remove them with amx_unsprite (it can stay a whole map now)
+ sprites_show_players.txt file added (see below for more details)

Commands:

amx_sprite <name|id|@CT|@TERRORIST|*(all)> <name of sprite> - Shows sprite above player's head.
amx_unsprite <name|id|@CT|@TERRORIST|*(all)> - Removes sprite(s).

Default sprites are :

camper
camper2 (bigger sprite)
fag
idiot
sexy
shoot
grass_01
ic4
ihostage
iplayerc4
ledglow
sniper_scope

Author: KRoTaL (Based on the original admin show plugin by StuD|MaN)

This plugin shows sprites on top of player's head. You need to put the sprites in cstrike/sprites. Admin_Slay level required.

Commands:

amx_sprite <name|id|@CT|@TERRORIST|*(all)> <name of sprite> - Turn Sprite Show On.
amx_unsprite <name|id|@CT|@TERRORIST|*(all)> - Turn Sprite Show Off.

Default sprites are :

camper
camper2 (bigger sprite)
fag
idiot
sexy
shoot

You can use your own sprites by simply :

1) writing their names in the "sprites_show.txt" file located in addons/amxx/configs (this file is included in the zip,
with the names of the default sprites inside).
Use this format (names without .spr) :
camper
asskicker
banned
2) putting your sprites in the "sprites" folder of your game (ex: cstrike/sprites), sprites must be named like what you wrote in sprites_show.txt
camper.spr
asskicker.spr
banned.spr


Sprites above players' head may disappear after a few rounds or deaths, if it happens execute the command once again.


Examples :

amx_sprite Player idiot
amx_sprite @CT sexy
amx_sprite @TERRORIST shoot
amx_sprite * fag

amx_unsprite Player
amx_unsprite @CT
amx_unsprite *

If you want to use more than 40 sprites, you must set MAX_SPRITES in the source code to the maximum number of sprites wanted, and then compile the code.

Sprites stay on player's head until you remove them with amx_unsprite (it can stay a whole map now)
+
You can associate a SteamId with a sprite in the "sprites_show_players.txt" file located in addons/amxx/configs.
Each time a player connects, if his steamid is in this file with a valid sprite written after, the sprite will appear
on his head when he enters the game (and the sprite will remain until you amx_unsprite him).
Use this format in the "sprites_show_players.txt" file :
STEAM_0:0:481540,idiot
STEAM_0:1:7412,camper
addons.zip
Post Reply

Return to “Admin Commands”