SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 28/02/2014, 08:02 AM   #1
_Mohit_
Big Clucker
 
Join Date: Sep 2012
Location: India
Posts: 83
Reputation: 5
Lightbulb (0.3.7)Simple C4 system with Object And Animation!Updated v1.1

C4 System

About This FS
This is a simple C4 FS which uses A Satchel Charge as C4 object.

Commands
/plantc4 - Plant a c4 the current standing location of the player.

How to Use
After planting the C4 press the Walk key Which is Left Alt by default to explode the C4.

Limitations
If you kill someone with C4 explosion,You do not get the kill(This can be solved).

Plugins and includes required
Streamer Plugin And Include By Incognito - http://forum.sa-mp.com/showthread.php?t=102865
Zcmd by Zeex - http://forum.sa-mp.com/showthread.php?t=91354

Screenshots
While Planting


Pic of the object


After pressing Walk Key

Updates
v1.1Now you can plant and explode 10 c4's at a time!

Download
Click Here(Pastebin)

Bugs
Until now i haven't found any bugs.Please report any if you find any.

Inspired By
Lorenc_
[HiC]TheKiller


This is my first release.So Comment your opinions below please.



Last edited by _Mohit_; 27/05/2015 at 06:01 PM. Reason: Updated
_Mohit_ is offline   Reply With Quote
Old 28/02/2014, 10:12 AM   #2
AroseKhanNiazi
High-roller
 
AroseKhanNiazi's Avatar
 
Join Date: Jan 2014
Location: Pakistan
Posts: 1,350
Reputation: 78
Default Re: (0.3z)Simple C4 system with Object And Animation!

Looks good and simple 10/10
AroseKhanNiazi is offline   Reply With Quote
Old 28/02/2014, 12:28 PM   #3
_Mohit_
Big Clucker
 
Join Date: Sep 2012
Location: India
Posts: 83
Reputation: 5
Default Re: (0.3z)Simple C4 system with Object And Animation!

Quote:
Originally Posted by AroseKhanNaizi View Post
Looks good and simple 10/10
Thank you mate.
_Mohit_ is offline   Reply With Quote
Old 28/02/2014, 06:08 PM   #4
phoon
Little Clucker
 
Join Date: Feb 2014
Location: Pakistan, Quetta.
Posts: 37
Reputation: 0
Default Re: (0.3z)Simple C4 system with Object And Animation!

Nice work.
__________________
The hard you work, the best result you get.
phoon is offline   Reply With Quote
Old 28/02/2014, 06:12 PM   #5
biker122
Gangsta
 
Join Date: Feb 2014
Posts: 766
Reputation: 59
Default Re: (0.3z)Simple C4 system with Object And Animation!

Good job!
biker122 is offline   Reply With Quote
Old 02/03/2014, 07:59 AM   #6
_Mohit_
Big Clucker
 
Join Date: Sep 2012
Location: India
Posts: 83
Reputation: 5
Default Re: (0.3z)Simple C4 system with Object And Animation!

Quote:
Originally Posted by biker122 View Post
Good job!
Quote:
Originally Posted by phoon View Post
Nice work.
Thank you.
_Mohit_ is offline   Reply With Quote
Old 03/03/2014, 08:26 PM   #7
Tadas
Big Clucker
 
Join Date: Feb 2014
Location: Lithuania
Posts: 155
Reputation: 1
Default Re: (0.3z)Simple C4 system with Object And Animation!

Nice. I gonna try it
Tadas is offline   Reply With Quote
Old 03/03/2014, 08:29 PM   #8
Walkingfire
Little Clucker
 
Join Date: May 2013
Location: Cairo/Egypt
Posts: 45
Reputation: 7
Default Re: (0.3z)Simple C4 system with Object And Animation!

Good job!!!!!!
Walkingfire is offline   Reply With Quote
Old 26/03/2014, 12:27 PM   #9
_Mohit_
Big Clucker
 
Join Date: Sep 2012
Location: India
Posts: 83
Reputation: 5
Default Re: (0.3z)Simple C4 system with Object And Animation!

Updated to v1.1.Enjoy
_Mohit_ is offline   Reply With Quote
Old 26/03/2014, 12:45 PM   #10
Pottus
High-roller
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 4,893
Reputation: 1321
Default Re: (0.3z)Simple C4 system with Object And Animation!

You fucked up, you need to destroy the dynamic objects when a player disconnects.

Also this is silly.

pawn Code:
for(new i; i < 11;i++)
          {
            if(c4posx[i][playerid] != 9999 && c4posy[i][playerid] != 9999 && c4posz[i][playerid] != 9999)

Your going to loop every time the player presses walk? Not only that make a bunch of silly checks you don't need to do that.

Just do this,
pawn Code:
if(c4[playerid])
{
    for(new i = 0; i < c4[playerid]; i++)
    {

    }
}
Pottus is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] Simple Animation System [20+ Animations] Kilos Filterscripts 15 16/10/2013 12:44 PM
[FilterScript] Simple Briefcase System + A Simple Whisper System by kosa451 kosa451 Filterscripts 4 16/09/2013 09:20 PM
[FilterScript] Simple Animation System [20+ Animations] by kosa451 kosa451 Filterscripts 2 15/09/2013 11:39 PM
simple animation -.- nejc001 Help Archive 5 15/09/2010 06:08 PM


All times are GMT. The time now is 06:54 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.