Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Anti-SpawnKill V-0.1 |
- //Made by: Zayan |
- //Also wanted to show TWS guys this.
- #include "a_samp"
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Anti-SpawnKill Filterscript by Zayan");
- print("--------------------------------------\n");
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- SendClientMessage(playerid, 0xFFFFF55, "This server is using Anti Spawn Kill FS. Made by Zayan.");
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- SetPlayerHealth(playerid, 9999);
- SendClientMessage(playerid, 0xFFFFF55, "[Anti-SpawnKill]: Your health has been set to god for 10 seconds.");
- SetTimer("SKP", 10000, false);
- return 1;
- }
- forward SKP(playerid);
- public SKP(playerid)
- {
- SetPlayerHealth(playerid, 100.0);
- SendClientMessage(playerid, 0xFFFFF55, "[Anti-SpawnKill]: Time Over.");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment