Page 1 of 1

Quickslap me

Posted: Tue Nov 23, 2021 8:31 am
by greenie
Quickslap me - v0.1
(based on xeroblood's old, yet simple plugin, on my server) :p

Description:
Well, it slaps you :)

Commands:
Bind a key to qslapme (preferably MWHEELUP)

Cvars:
qslap_active <0:off|1:on> - Default: ON
qslap_mode <1:forward|2:random> - Default: 1
qslap_dmg <#> - Default: 0

To make it so everyone can use the command, change this line:
Code:
register_clcmd("qslapme","quick_slap",ADMIN_KICK,"- Slap yourself")
to
Code:
register_clcmd("qslapme","quick_slap",0,"- Slap yourself")

(Note: untested)

plugin