Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- ______________________________________________________________________
- | _ _ ________ |
- | ( \ ( \ ( _____ \ |
- | | | | | ______ | | \ \ |
- | | |____| | ( ___\ | | \ \ |
- | | ____ | \ \ (_) | | ) ) |
- | | | | | _ \ \ | | / / |
- | | ) | ) ( )__\ \ | |_____/ / |
- | |_/ |_/ \_______/ |_________/ |
- | |
- | [HSD] High Speed Drivers |
- | |
- | [HSD] Company Clan of Programmers, Scripters, and Mappers |
- |______________________________________________________________________|
- http://forum.sa-mp.com/member.php?u=211939
- Updated Date: 10/18/2013 (MM/DD/YYYY)
- Visit Me on SA-MP Forum for More Updates
- Let the Credits !
- • Super Fast System
- • [1] Command(s)
- • Fast Commands to Enable or Disable System
- • http://forum.sa-mp.com/member.php?u=211939 | Visit Me on SA-MP Forum |.
- ~ Do: ~
- - Must have Permission if you want to Share this on another Website.
- - etc.
- ~ Do Not: ~
- - Remove Credits.
- - Change Author Name / Information.
- - Stealing Filterscript.
- - No Permission but Sharing on another Website.
- - etc.
- [ Information ] :-
- Author: SAMProductions
- FilterScript Name: Simple Bomb System v1.0
- Updated Date: 10/18/2013 - (MM/DD/YYYY)
- Thanks To:
- SA-MP Team - a_samp
- ZeeX - zcmd
- You - For Supporting and Downloading
- and to Whoever i forgot to Mention
- -: [ End Information ]
- • Do not Remove the Credits.
- • Do not Change the Author Name / Information.
- • Do not Steal the Filterscript.
- • Disrespecting Any of These, You will Die.
- • Disrespecting Any of These, I'll Rape You.
- • Disrespecting Any of These, I'll Report You.
- • Thanks For Using, Enjoy :)
- //----------------------------------------------------------------------------// */
- #include <a_samp> // Credits: SA-MP Team
- #include <zcmd> // Credits: ZeeX
- new BombObject;
- new Float:x, Float:y, Float:z, Float:ang;
- public OnFilterScriptInit()
- {
- print("<|------------------------[Loaded]------------------------|>");
- print(" | Simple Bomb System (/plantc4) Made By: SAMProductions |");
- print("<|------------------------[Loaded]------------------------|>");
- return 1;
- }
- public OnFilterScriptExit()
- {
- print("<|-----------------------[UnLoaded]-----------------------|>");
- print(" | Simple Bomb System (/plantc4) Made By: SAMProductions |");
- print("<|-----------------------[UnLoaded]-----------------------|>");
- return 1;
- }
- CMD:plantc4(playerid, params[]) // COMMAND: plantc4(playerid, params[])
- {
- ClearAnimations(playerid);
- ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0); // Bomb Plant Animation
- GetPlayerPos(playerid, x, y, z);
- GetPlayerFacingAngle(playerid, ang);
- BombObject = CreateObject(3052, x, y, z - 0.9, 0, 0, ang, 500); // Bomb Object [3052]
- SetTimer("BombTimer", 15000, false); // 15000 = 15 Seconds (Change it if you want).
- SendClientMessage(playerid, -1, "{FF0000}<!> {EEEEEE}You've Planted a C4 ({FF0000}Exploding in: 15 Seconds{EEEEEE}), Go Far Away into the C4.");
- return 1;
- }
- forward BombTimer();
- public BombTimer() // Bomb Timer [15 Seconds] = Explode !
- {
- CreateExplosion(x, y, z, 6, 10);
- DestroyObject(BombObject);
- }
Advertisement
Add Comment
Please, Sign In to add comment