Jump to content

[REL] Malicious Car-Bomb System


Recommended Posts

(Youtube BB code isn't working at the moment)

Description

Be careful into what car you plan to step into. The Car-Bomb vehicle system allows players with permission to plant car-bombs to detonate vehicles on their own choice, or through vehicle damage (Vehicle damage is optional). This can be useful for roleplay servers.

Features

  • User-Friendly GUI
  • Ability to detonate multiple car-bombs at once
  • Ability to deactivate car-bombs.
  • User Granted Permission system (Set automatically enabled - Check c_gui to disable)
  • Vehicle collision car-bomb trigger system (Can be disabled through settings)

Functions

  • isPlayerBombPermitted( playerElement ) - Returns if the player is allowed to plant a bomb.
  • setPlayerBombPermitted( playerElement, toggle ) - Sets the ability for a player to plant a bomb.
  • setVehicleArmed( vehicleElement, toggle, c ) - Sets the vehicle armed. The c parameter indicates if the item is being toggled off in client mode.
  • isVehicleArmed( vehicleElement ) - Returns if the vehicle currently has a car bomb armed in it.
  • setVehicleBombTriggered( vehicleElement, c ) - Detonates the bomb of an armed car. C parameter is similar to the reason of setVehicleArmed.

Download

Download available here - https://community.multitheftauto.com/ind ... ls&id=6168

Edited by Guest
Link to comment
Can you add "speed-explosion"?

What I mean is that the car will explode when the car reaches a certain speed.

Good work on the script though.

https://community.multitheftauto.com is refusing to allow me to edit my resource's description, and upload another revision. Until I can find a solution to this or this is issue fixed, I cannot upload that copy.

Nice i saw the script in the community good job .

Ask : what kind of compile lua files do you use? china ? :shock:

Huh?

Link to comment
  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...