Page 1 of 1

Anti Spawn Kill V1.5 (Updated 15/7/2017 )

Posted: Mon Nov 22, 2021 2:04 pm
by greenie
I must say, I was pretty amazed that I couldn't find this type of plugin, so I had to script one.

Cvars:
amx_antisk_enable - Enables the plugin ( Default: 1)
amx_antisk_type - 0 = gives godmode on spawn, 1 = prevents damage from players ( personally used in surf to allow damage to self a.k.a fall damage ( Default: 1)
amx_antisk_timer - For how long will the SK protection be active ( Default: 1)
amx_antisk_shoot - Whether shooting or second attack ( mostly sniper ) will disable SK Protection ( Default: 1)

Changelog:

V1.0:
Created the plugin.

V1.1:
Made it better.

V1.2:
Added a check if the victim is connected in the event of damage.

V1.3:
As Hamlet told me to, added the task in plugin init.

V1.4:
More fixes that Hamlet told me to do.

V1.5
This time a fix by Hamlet himself.

plugin
source