Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #define COLOR_BLUE 0x0000BBAA
- #define COLOR_ORANGE 0xFF9900AA
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" [FS] - Anti-Spawn Kill");
- print(" LK1NGP7");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- print("\n--------------------------------------");
- print(" [FS] - Anti-Spawn Kill");
- print(" LK1NGP7");
- print("--------------------------------------\n");
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- SetPlayerHealth(playerid, 10000.0);
- SendClientMessage(playerid, 0x0000BBAA, "[AVISO]:Tu só tens 20 segundos de AntiSpawnKill. Aguarda que acabe.");
- SetPlayerChatBubble(playerid, "[AVISO]:AntiSpawnKill está a proteger o player.", 0xFF9900AA, 100.0, 10000);
- SetTimerEx("AntiSpawnkill",20000,0,"i",playerid);
- return 1;
- }
- forward AntiSpawnkill(playerid);
- public AntiSpawnkill(playerid)
- {
- SetPlayerHealth(playerid, 100.0);
- SendClientMessage(playerid, 0xFF0000AA, "[AVISO]:O AntiSpawnKill acabou. Agora vai-te a eles.");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment