20.11.2011, 05:51
Anit Spawn Kill
Description:This is a simple Anti Spawn Kill Script There is Not Much to It.PHP Code:
#include a_samp
public OnPlayerSpawn(playerid)
{
SetPlayerHealth(playerid, 10000.0);
SendClientMessage(playerid, 0xFF0000AA, "[INFO]:You have 5 seconds of Anti-Spawnkill protection");
SetPlayerChatBubble(playerid, "[INFO]:Anti-Spawnkill protected player", 0xFF0000AA, 100.0, 10000);
SetTimerEx("AntiSpawnkill",5000,0,"i",playerid);
return 1;
}
forward AntiSpawnkill(playerid);
public AntiSpawnkill(playerid)
{
SetPlayerHealth(playerid, 100.0);
SendClientMessage(playerid, 0xFF0000AA, "[INFO]:Anti-Spawnkill protection over, you are on your own now");
return 1;
}
Direct: Plz Click Me!
Credits:Well its always a member of Forgotten Kings