[FilterScript] (0.3z)Simple C4 system with Object And Animation!
#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 - https://sampforum.blast.hk/showthread.php?tid=102865
Zcmd by Zeex - https://sampforum.blast.hk/showthread.php?tid=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.


Reply
#2

Looks good and simple 10/10
Reply
#3

Quote:
Originally Posted by AroseKhanNaizi
View Post
Looks good and simple 10/10
Thank you mate.
Reply
#4

Nice work.
Reply
#5

Good job!
Reply
#6

Quote:
Originally Posted by biker122
View Post
Good job!
Quote:
Originally Posted by phoon
View Post
Nice work.
Thank you.
Reply
#7

Nice. I gonna try it
Reply
#8

Good job!!!!!!
Reply
#9

Updated to v1.1.Enjoy
Reply
#10

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++)
    {

    }
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)