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

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

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

Post 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
Post Reply

Return to “Gameplay”