Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #define COR 0x9F9F9FAA
- // FORWARD
- forward AntiSpawnKill(playerid);
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" [FS] - Anti-Spawn Kill By Eduardo");
- print(" Não retire os créditos");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- print("\n--------------------------------------");
- print(" [FS] - Anti-Spawn Kill By Eduardo");
- print(" Não retire os créditos");
- print("--------------------------------------\n");
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- SetPlayerHealth(playerid, 999999);
- SetTimer("AntiSpawnKill", 5000, false);
- SendClientMessage(playerid,COR,"O Anti-Spawn kill está ativando dentro de 5 segundos!");
- return 1;
- }
- public AntiSpawnKill(playerid)
- {
- SetPlayerHealth(playerid, 100);
- SendClientMessage(playerid,COR,"O Anti-Spawn kill acabou o tempo!");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement