[Include] Spawn Protection - No timers #ASP
#1

A little snippet include to protect players from spawn-killing each other with no timers involved. Created this for Scripting Help thread and decided to publish it in a visible place for other kiddos'

Info:
Код:
/* Spawn protection time in seconds */
#define 	ANTI_SPAWN_KILL_TIME	10

/* Maximum serverside health - in case you have 99.9 anticheat */
#define		MAX_HEALTH		100.00

/* Health to set when player spawns
if falling from a high place, player will be killed regardless of this amount */
#define		SPAWN_HEALTH		999.99
Installation
Код:
Save the document from pastebin;
Place it under pawno\includes folder;
Rename it to "asp".inc;
Add to your script "#include <asp>";
Compile your script;
PASTEBIN LINK
Reply


Messages In This Thread
Spawn Protection - No timers #ASP - by Hanger - 26.07.2014, 11:44
AW: Spawn Protection - No timers #ASP - by Mellnik - 26.07.2014, 11:48
Re: Spawn Protection - No timers #ASP - by Hanger - 26.07.2014, 11:56
Re: Spawn Protection - No timers #ASP - by iFarbod - 26.07.2014, 12:08

Forum Jump:


Users browsing this thread: 1 Guest(s)