Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ////////////////////////////////////////////////////Made From Scratsh////////////////////
- //INCLUDES
- #include <a_samp>
- ///Defining
- #define COLOR_RED 0xAA3333AA
- #define COLOR_GREEN 0x33AA33AA
- forward SpawnProtection(playerid);
- /////////////7
- public OnFilterScriptInit()
- {
- SetTimerEx("SpawnProtection", 10000, 0, "i");//////Anti Spawn Kill for 10 seconds
- return 1;
- }
- ////////////
- public OnPlayerConnect(playerid)
- {
- SendClientMessage(playerid, COLOR_GREEN, "AntiSpawn Kill made by Naruto_Emilio!.");
- return 1;
- }
- //////////////
- public OnPlayerSpawn(playerid)
- {
- SetPlayerHealth(playerid, 99999.0);
- SetTimerEx("SpawnProtection", 10000, false, "i", playerid);
- return 1;
- }
- public SpawnProtection(playerid)
- {
- SetPlayerHealth(playerid, 100.0);
- return 1;
- }
- //////// www.mlservers.boilinghost.com ////////
- ////////Spawn Protect System Created By Naruto_Emilio////////
Advertisement
Add Comment
Please, Sign In to add comment