Jump to content

MTA Bomber Script please help very IMPORTANT


Xwad

Recommended Posts

Hi i do my own MTA server and i need a script that makes it possible to drop bombs from planes. I searched on the internet and i found the following:

https://forum.mtasa.com/viewtopic.php?f=91&t=22648

This is what i need! The only problem is that it does not work:(

I put the script in the rescources folder but it dosen't work in the game:( Whats should i do???

I would be very greatfull if someone could help me..

Link to comment

Next time read carefully the resource instructions !(if there is ) :

1) Copy archive to resource folder and include resource in your script.

2) Register markers using one of the following export functions.

2a) Register all markers as bomb reloading spots

call(getResourceFromName("bomber"), "regBombMarkers", getElementsByType("marker", getRootElement()))

2b) Register marker as bomb reloading spot

call(getResourceFromName("bomber"), "regBombMarker", marker)

2c) Unregister marker as bomb reloading spot *

call(getResourceFromName("bomber"), "unregBombMarker", marker)

2d) Unregister all markers as bomb reloading spots *

call(getResourceFromName("bomber"), "unregBombMarkers", getElementsByType("marker", getRootElement()))

3) Play!

Settings:

Setting names **:

- andromada

- at400

- beagle

- cargobob

- cropduster

- dodo

- hunter

- hydra

- leviathan

- maverick

- nevada

- newschopper

- policemaverick

- raindance

- rustler

- seasparrow

- shamal

- skimmer

- sparrow

- stuntplane

- coastguard

- dinghy

- jetmax

- launch

- marquis

- predator

- reefer

- speeder

- squalo

- tropic

- fbirancher

- patriot

- policecar

- policeranger

- rhino

Link to comment

I dont understand this instalation:( Can you tell it me easyer pls:D? When i run the server it says of all vehicles that its registered so i dont no whats the problem:((

Copy archive to resource folder and include resource in your script.

2) Register markers using one of the following export functions.

2a) Register all markers as bomb reloading spots

call(getResourceFromName("bomber"), "regBombMarkers", getElementsByType("marker", getRootElement()))

2b) Register marker as bomb reloading spot

call(getResourceFromName("bomber"), "regBombMarker", marker)

2c) Unregister marker as bomb reloading spot *

call(getResourceFromName("bomber"), "unregBombMarker", marker)

2d) Unregister all markers as bomb reloading spots *

call(getResourceFromName("bomber"), "unregBombMarkers", getElementsByType("marker", getRootElement()))

3) Play!

Settings:

Setting names **:

- andromada

- at400

- beagle

- cargobob

- cropduster

- dodo

- hunter

- hydra

- leviathan

- maverick

- nevada

- newschopper

- policemaverick

- raindance

- rustler

- seasparrow

- shamal

- skimmer

- sparrow

- stuntplane

- coastguard

- dinghy

- jetmax

- launch

- marquis

- predator

- reefer

- speeder

- squalo

- tropic

- fbirancher

- patriot

- policecar

- policeranger

- rhino

Link to comment

I started my server perssed p and i went to rescources and there i searched the script named bomber then i click it once and then i wrote the command call(getResourceFromName("bomber"), "regBombMarkers", getElementsByType("marker", getRootElement())) in execute command but then i cant press client: Whats sould i do? sorry for my bad english

Link to comment

i download the 2 files i create 2 folders :bmarkers and bomber then i put the files in the 2 folder and put it the folders in rescources then i start the server then i pressed p went to rescources there i searched bmarkers and bombers and start it but it does not work!:( Should i write the folder names in mta server config?

Link to comment
  • 1 month 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...