SuperSlap

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

SuperSlap

Post by greenie »

Super Slap
v1.3

Description : This is a much more usefull slap,called superslap.
You can slap a player/team/all player multiple time with an interval of 0.1 second... 99 slaps in 10 seconds. The admin can be skiped from slaping if the cvar (bellow) is disabled/set to 0.

Changelog:
[1.3]
- The admin will be skiped from slaping.
- Added cvar for skiping or not the admin.
[1.2]
- Removed multi-lingual.
- Added str_to_float : now you cand slap with interval values smaller than 1.
- Optimizated code.
[1.1]
- Added team option.
- Removed HUD / chat announce cvar.
- Optimizated code.
[1.0]
- First released.

Credits :
- SAMURAI16 for solving a "tag mismatch"
- GHW_Chronic for sugestions
- YamiKaitou & Emp` for sugestions
- Alka - helped me to release version 1.2

Cvar :
superslap_admin 1/0 - enable/disable slaping the admin who uses the command (default 0)

Comand :
amx_superslap <target/ @/@T/@CT> <power> <interval> <times>

EXAMPLES :
amx_superslap SAMURAI 0 1 5
-> it will slap SAMURAI 5 times with 0 dmg and an inteval of 1 second
or
amx_superslap @T 1 1 5
-> slap team T 5 times with 1 dmg and an interval of 1 second
amx_superslap @ 1 0.1 90
-> slap all players 90 times with 1 dmg and an interval of 0.1 second

get plugin
get source
Post Reply

Return to “Admin Commands”