PDA

View Full Version : [FilterScript] [FS] Martok's Fireworks


Martok
30/12/2007, 02:22 PM
Martok's Fireworks
Inspired by http://forum.sa-mp.com/index.php?topic=35903.0 :roll:

Download: http://www.martoks-place.de/files/samp/fireworks.zip

Based on Boylett's funny xFireworks Include, I created a filterscript which lets admins create firework batteries which can then be fired.
You need to be either RCON admin or authenticaded admin-scrpit-admin (see below) to access the commands!
Command help is available via /fwhelp.
Oh, and if you want to save... two things: first, it overwrites existing files... second: saving after a firework has been fired is useless 'cause the batteries are removed after they are empty. So you might save an empty map...

Admin script integration: I built the script to cooperate with mabakos admin script we use at the GermanFunserver. In OnPlayerCommandText, you will find the check for either RCON admin or Ingame-Admin. Our script allows to get a player's level via a CallRemoteFunction-Call. If you have another method, you can simply put it in this line. If not, ignore it, it will do no harm if there is no such function in your script.

Compiling yourself: If you want to compile this for yourself, you need the sscanf code which can be found on the wiki (NOTE: I had to fix a bug in there, so you might need to update your version if you already have one.).
Also, for some special effects, I modified xFireworks.inc so there are random white and red rockets.
The versions I compiled with are included in the zip archive.

Files: The script can save the current setup to a file located in the scriptfiles folder. 2 are shipped with the script: vinewood.firework creates a nice firework on the vinewood sign, firewall creates a wall of fireworks near the entrance of LS airfield. Don't you try to fly through with a helicopter :lol:

Have fun, we do have it ;)
Suggestions are welcome, of course.


FAQ:
All of these have been answered in this thread, but as nobody seems to even try to search...

The download doesn't work
It does, just not now. The server doesn't have 100% uptime... none ever has.

Compile error on line 200
If you have this error: error 001: expected token: ";", but found "else"
Put a ";" on the end of the line 200. That's because I have used a newer version of the compiler than normally packaged.

Where should the files go?
Read the manual again... ;)

Why does nothing happen when I type commands?
Define nothing: if it says "unknown command" and you are sure the script is loaded, then you are not logged in as RCON admin.
If there is really nothing happening at all, some other script is buggy.
Alternatively, somthing went wrong loading the script, try reloading.


Known problems
As BLACKMAMBA_007 pointed out: it's incompatible with the Bus_interior FS.

Still doesnt work...
Okay, if you are sure it is not a problem with your server and you have searched here if it may have been discussed before.. feel free to ask. This thread is full of ppl asking the exact same questions...


History:
2007-12-30: initial release
2009-11-23: added FAQ

NEW: demo video!
Watch it here! (http://www.myvideo.de/watch/3053067)

Recycler
30/12/2007, 02:29 PM
Sounds interesting :)

MfG
Recycler

pspleo
30/12/2007, 02:48 PM
Looks nice, im gonna try this :mrgreen:

Alejandro
30/12/2007, 02:53 PM
will be trying.

SinisterCrime-
30/12/2007, 03:02 PM
Need a Mirror?

Martok
30/12/2007, 03:59 PM
Torque- ]Need a Mirror?
Currently not, thank you ;)

I forgot to say one thing: I you have additional colorful glowing objects which I could use as rockets, please post their ids. Sadly, most 2dfx stuff is not attached to objects...
EDIT: Oh, and maybe some sweeping sounds for the rockets ;)


@Recycler: Sounds interesting
MfG <--
Schön Sprache mittendrin gewechselt^^

Gehaktbal
30/12/2007, 04:24 PM
Ah Really nice!!

Here are 2 movies about it, so people know what this really is:

http://fusion9.nl/movies/firewall.avi
http://fusion9.nl/movies/vinewood.avi

and ps: I forgot to enable the sound XD

Cya later!

snipe69
30/12/2007, 05:50 PM
Ah Really nice!!

Here are 2 movies about it, so people know what this really is:

http://fusion9.nl/movies/firewall.avi
http://fusion9.nl/movies/vinewood.avi

and ps: I forgot to enable the sound XD

Cya later!


i saw videos looks really awesome,im going to try

Martok
30/12/2007, 05:59 PM
MPlayer plays without problems :P

Hm, I think I will upload a small video... filmed by myself, I dont have the codecs either :roll:

BeckzyBoi
30/12/2007, 06:09 PM
I forgot to say one thing: I you have additional colorful glowing objects which I could use as rockets, please post their ids.

You could use the hydra flare, model = 354.

Martok
30/12/2007, 06:37 PM
I already have hydra flare and some runway marker (3666)...

The video is done, containing pretty much the same as Gehaktbal's did. Hosted at MyVideo, link is in the first post. Just wait a few minutes til it is approved...

EDIT: ok, it is up and running. But their encoding quality has been better...

ak40seven
30/12/2007, 08:40 PM
thats cool, nice!

miokie
30/12/2007, 09:01 PM
Very Nice! Looks good,

cmg4life
31/12/2007, 07:47 AM
2976 = green gloop

raptor2003
31/12/2007, 08:39 AM
I love that

It's very very very nice :P :P

Maikel
31/12/2007, 09:22 AM
Nicee. and happy new year!

kr0tchy
31/12/2007, 11:50 AM
C:\Program Files\Rockstar Games\GTA San Andreas\new\filterscripts\fireworks.pwn(201) : error 001: expected token: ";", but found "else"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.


help

Martok
31/12/2007, 12:13 PM
2976 = green gloop

Ah, thanks, will add it in next version.
EDIT: well, maybe not. Does not seem to have a glow effect...


C:\Program Files\Rockstar Games\GTA San Andreas\new\filterscripts\fireworks.pwn(201) : error 001: expected token: ";", but found "else"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
help

Really, nothing more clear. But someone should make clear to me why this line does not throw an error when i compile it. Works just fine for me...

raptor2003
31/12/2007, 12:58 PM
C:\Program Files\Rockstar Games\GTA San Andreas\new\filterscripts\fireworks.pwn(201) : error 001: expected token: ";", but found "else"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.


help


Add a ; at the end of the line 201

cmg4life
31/12/2007, 04:33 PM
ahh didn t kno... :D i tought it has a green gloo glow effect :mrgreen: :roll:

R@f
31/12/2007, 06:05 PM
nice nice nice !!! i will use it for new year and my team members birthsday on my server :D

Karlip
11/01/2008, 07:00 PM
Am i doing something wrong?
I mean,it shows the /fwhelp but when i spawn a firework it doesnt launch with /fwfire 0.
I tried loading the Firewall and Vinewood,they did not launch too.
:idea: :arrow:

El0vric
12/01/2008, 12:47 PM
Seems that link doesn't work anymore. :arrow: Link (http://www.martoks-place.de/files/samp/fireworks.zip)

Martok
12/01/2008, 02:12 PM
Yep, the server is being moved to a bigger machine.

I'll post when it is back up.

Richi_Makaveli
12/01/2008, 05:39 PM
Really nice

Avatar
12/01/2008, 06:16 PM
Link is down :(
I really want this! It rocks :mrgreen:

Freestyler
12/01/2008, 06:35 PM
THE LINK IS DOWN, PLZ POST IT AGAIN, I WANT IT :(( :( :'(

SaW_[VrTx]
12/01/2008, 09:30 PM
Please repair link!!! Link dont work

El0vric
12/01/2008, 10:33 PM
Can't you people read?


Yep, the server is being moved to a bigger machine.

I'll post when it is back up.

cmg4life
13/01/2008, 12:00 AM
this FS is great i just saw it on FreeStyler server, its awsome

Avatar
13/01/2008, 10:52 AM
can't you upload it somewhere else temporrarly? :mrgreen:

tmdevil
13/01/2008, 07:54 PM
plz update link

Backwardsman97
13/01/2008, 08:28 PM
Man i want this whens link gonna be back up? or when are you moving to bigger machine?

[18SG]SmokeY
13/01/2008, 08:43 PM
i need this too, plz new link or mirror

Puffmac
13/01/2008, 09:11 PM
stop crying and wait for the man to re upload it ffs people have no patience nowadays... :(

tmdevil
14/01/2008, 04:44 PM
C:\Documents and Settings\DemonS\Pulpit\fireworks.pwn(201) : error 001: expected token: ";", but found "else"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

mihai_naidn
21/02/2008, 10:00 AM
Ihave some questions :
1.fireworks [pwn amx] i must to copy in filterscripts ok ?
2.sscanf.inc , xFireworks.inc in includes in pawno ok?
3.xFireworks(firewall.firework) , vinewood.firework !! this i must to copy it in scriptfileS???????

Numhaken
21/02/2008, 12:07 PM
NIce script man, you want a mirror?

mihai_naidn
21/02/2008, 07:07 PM
yes!!!

howard12
24/02/2008, 03:28 AM
not workin for me? where do the .inc files go?

El0vric
24/02/2008, 09:43 AM
not workin for me? where do the .inc files go?


Into the pawno\include folder.

howard12
24/02/2008, 08:32 PM
yea i figured that out. but i have all the files in the right places and it wont load ;/

mihai_naidn
25/02/2008, 07:09 AM
hmmm strange at me not work commands!!!! and where give me error i put ;else !!! is good??? apper one warning but is not important

omfg
02/03/2008, 01:05 AM
i get crash when i make sth with fireworks?

LuxurioN™
02/03/2008, 02:09 AM
Nice!

PinkFloydLover
02/03/2008, 05:49 AM
this is amazing

RaZZoR
02/03/2008, 11:31 AM
Nice Work!I love that filterscript

mihai_naidn
14/03/2008, 07:27 AM
thx martok and razzor!! i make it!! i know you must be logged in rcon!!!! thx a lot and good script

Donvalley
14/03/2008, 08:34 AM
GREATEST SCRIPT EVER!!!!!!!!!!

Martok
14/03/2008, 11:24 AM
Erm... wtf?

I got no post notification for all of your posts... Just came back here because of mihai_naidn's PM. Something must be wrong here.
The notification list in my profile shows me that nearly all of my subscribed topics have replies... But I got NO mail. Damnit.

EDIT: There are mostly no new posts. But obviously this stopped the thing from sending any messages...

cosmy
14/03/2008, 12:43 PM
other colors???

Iguana
14/03/2008, 11:58 PM
Great!!!! Fantastic!!!!! Plz more colors :mrgreen: :mrgreen: :mrgreen:

_KING_
18/03/2008, 02:48 PM
hey, how to use the fireworks?, i tryed them but they explode under ground.
Other thing, How can i change the explosions that fireworks use?
This is because i want to make them explode like a car.
Here is the reason.
I have installed a mod called New Great Effects 1.3 (http://gta-worldmods.planet-multiplayer.de/phpkit/start/include.php?path=content/download.php&contentid=3194) and the explosions looks like in this video:
http://www.youtube.com/watch?v=k7-EmxUr_lo
The first explosions you can see in that video are the satchel's explosions, but the seccond one is the car explosion. I tesed your fireworks and they looks very well with this seccond explosion (this is caused by debris), but thay uses all explosions, i want to change them to use only the car explosion.
Thanks.

mave_man
18/03/2008, 03:02 PM
nice :P

Zh3r0
18/03/2008, 05:14 PM
hmmm strange at me not work commands!!!! and where give me error i put ;else !!! is good??? apper one warning but is not important
[color=red][size=11pt]Well you had to login as admin |[color=navy]/rcon login [Password]|[color=green] ;)try again naidin

mihai_naidn
18/03/2008, 07:52 PM
i know :D

funny_guy
27/04/2008, 01:42 PM
not working!

mihai_naidn
27/04/2008, 03:27 PM
not working!

strange at me work :D

DearAlex
27/04/2008, 04:34 PM
I'v tested right now, It's all works, thanks man)

funny_guy
27/04/2008, 04:38 PM
not working!

strange at me work :D
come on my server and help me i will tell u rcon pass ip server 24.78.62.73:4321
add me at msn fk1@walla.com
we will see time we can go on it

FKTeam
02/05/2008, 08:23 PM
If you have this error :

error 001: expected token: ";", but found "else"

Put a ";" on the end of the line 200. ;)

funny_guy
03/05/2008, 01:15 AM
If you have this error :

error 001: expected token: ";", but found "else"

Put a ";" on the end of the line 200. ;)
NO ERRORS it just i do the coammd to start and it wont start

[4X4]Marco
03/05/2008, 11:27 AM
PLEASE HELP!!!!!

I JUST INSTALLED IT I MEAN YEH INSTALLED......


IM IN THE GAME I TYPE /FWSPAWN IT SAYS SERVER:UNKNOWN COMMAND


>>>>>>>>>>>>>>>>>>>>WHY<<<<<<<<<<<<<<

[4X4]Marco
03/05/2008, 12:20 PM
Guy no nid to reply me i just readed :D to put a ; in 201 :D



ANYWAYS thanks Martok's..... Aswome and easy to use :D

:D anyway thank u...... :lol:

BTW can u create /NUKE Filterscript like bombing a city..?

;)

Zh3r0
18/06/2008, 06:55 AM
Marco ]
PLEASE HELP!!!!!

I JUST INSTALLED IT I MEAN YEH INSTALLED......


IM IN THE GAME I TYPE /FWSPAWN IT SAYS SERVER:UNKNOWN COMMAND


>>>>>>>>>>>>>>>>>>>>WHY<<<<<<<<<<<<<<

You have t login as an ADMIN to use the commands.[color=red]/Rcon login [Password].

Martok
18/06/2008, 07:29 AM
This same question has been asked and answered like 4 times in a row.... do you even *read* the thread?

Anyway, made it a little clearer in the first post.

Yaheli_Faro
18/06/2008, 08:22 AM
Amazing! ;) Using this for sure!

MiX
29/07/2008, 07:19 PM
СOOOOOOOOOOOL NICE :D :D :D

Angelhj
31/07/2008, 11:36 PM
YSI2 vercion?

Solarplexus
03/08/2008, 07:02 AM
Its very very Nice and works very good.

I have a Question; I have to log RCON LOGIN order to use it. How can I change it, according to the 1337 Admin use it?

Thanks for help! ;)

Ro_Laurentziu
03/08/2008, 09:48 AM
Duuuuuuuuuuuuuuuuuuuuuuuuuuude! is work :d :lol:

Redgie
13/08/2008, 07:25 AM
Its very very Nice and works very good.

I have a Question; I have to log RCON LOGIN order to use it. How can I change it, according to the 1337 Admin use it?

Thanks for help! ;)

Are you using PEN1LS?

[Jay]
13/08/2008, 12:30 PM
Very interesting, ill have to take a look into this ;) Great work :mrgreen:

asmens25
13/08/2008, 01:35 PM
doesnt work for me :s

Bogdan Cirstea
13/08/2008, 02:24 PM
Good thing mate when celebrating some thing..no?

peugeot
30/08/2008, 12:25 PM
Argh this is making me crazy :|
I want to fire a firebattery or spawn one and it doesn't work the cmds do but nothing happens
I tried to load the vinewood one and the firewall one and they don't start to fire neither
Please help us!

gijsmin
26/09/2008, 03:26 PM
ok help
where must the firewall.firework

in what map

thanks man you are great

Danut
13/10/2008, 06:56 PM
:)))) you're the man =)) works :mrgreen: :mrgreen: :mrgreen: :mrgreen: :lol: :lol: >:D >:D

Berry
13/10/2008, 09:34 PM
ok help
where must the firewall.firework

in what map

thanks man you are great

you look like noob that cant read
so learn to read
Files: The script can save the current setup to a file located in the scriptfiles folder. 2 are shipped with the script: vinewood.firework creates a nice firework on the vinewood sign, firewall creates a wall of fireworks near the entrance of LS airfield. Don't you try to fly through with a helicopter

gijsmin
14/10/2008, 11:45 AM
he say load
but how to start

Danut
14/10/2008, 06:01 PM
hey :D it's works very very good and "nice" ...but ...i want like those commands to can be used for All Admins...not just for RCON Admin(s) :x

gijsmin
14/10/2008, 06:33 PM
i have /rcon login **************
but what must i say

Danut
14/10/2008, 06:45 PM
/rcon login *********
--------------------------
/fwhelp

Dragonoir
17/10/2008, 01:13 PM
what Hvar means :-[

Edit: Cant i make explosions bigger =/ PLease Reply me
Edit2: I Already How To Do It Now my problem is changing the comands for like Fwfireall2 can some1 help me ???--' Pleasee!!!!

Stay Cool

mmmaxi
31/10/2008, 11:30 PM
I need the Firework on the Chillad Mountain (the highest mountain near SF)

skada
04/11/2008, 02:18 PM
uHmmm.
I am having a problem with it,when i put that files and got ot server.cfg type them in the filterscript,i go into the game when it tells me to log in i get freezed and im not able to login,either,i think i did it worng,

Could you just have an explain about how to use,or maybe an way that i add it to my GM without putting it in filterscript,like createobject's,etc

[MXS]CharlieXD
16/11/2008, 09:10 PM
hey can u make another one put put these objects in fire 3525 light 1262

Happy
25/11/2008, 05:45 PM
Looks good :)

Streetplaya
26/11/2008, 03:18 PM
I'm gonna use this for this sylvester :D

nikofin
24/01/2009, 12:22 PM
This is so cool, thank you :)

darkrider366
26/01/2009, 07:55 PM
i love this script

50% because of the whole thing and
other
50% because it was released on my birthday lol

kokkie20
07/02/2009, 03:49 PM
hmm ain't working for me tough.
i fixed the ; in the script
i logged in as rcon admin
and still ain't working.
help please?

cheetah
12/02/2009, 03:19 PM
that so funny and so cool thx :D

Nexxt
02/03/2009, 01:50 PM
Anything to do against the crashes?

IVuljak
02/03/2009, 04:57 PM
oh man! i like this script :mrgreen: :mrgreen:
thanks so much :D

Dark_BasS
02/03/2009, 07:18 PM
Sounds great..Good work man :!:

remix
03/03/2009, 02:28 PM
I read all the answers but i can't fix my problem:

There is no error in fireworks.pwn
I logged in as rcon admnin
I type /fwhelp

BUT NOTHING HAPPENS!!!

WHAT TO DO PLEASE HELP!!!

stalion603
03/03/2009, 08:32 PM
oh nice ill try it

IVuljak
04/03/2009, 01:17 PM
I read all the answers but i can't fix my problem:

There is no error in fireworks.pwn
I logged in as rcon admnin
I type /fwhelp

BUT NOTHING HAPPENS!!!

WHAT TO DO PLEASE HELP!!!

hmmm...it works good for me
http://img244.imageshack.us/my.php?image=samp328.png

remix
04/03/2009, 06:49 PM
AHH READ IMPORTANT!!


To fix your problem!!

1. in server.cfg you must add firework at the first or second position
2. /rcon login xxxxx before you spawn!!
3. Then type /fwhelp and have fun!!!

Bay

GMusicOn
11/03/2009, 06:02 PM
Anyone knows how to make it like this:

Player Connects fireworks start?
So when he comes in the class selection he can see the fireworks?

_ReloadeD_
17/03/2009, 07:29 AM
what the id of the lights that do the fireworks?

SG_Brian
29/07/2009, 08:39 AM
how do i change the explosion to this 1:
GTA San Andreas Firework Script (http://www.youtube.com/watch?v=th-YyVekfJc&feature=related#lq-hq)
? because thats more realistic firework(its cleo)

Serediucr
29/07/2009, 08:59 AM
how do i change the explosion to this 1:
GTA San Andreas Firework Script (http://www.youtube.com/watch?v=th-YyVekfJc&feature=related#lq-hq)
? because thats more realistic firework(its cleo)

cleo supports new textures , models ; samp not

Nee
29/07/2009, 11:52 AM
Good job i go to try it!

SG_Brian
01/08/2009, 02:47 PM
damn because thats a great explosion....

_ASUS_
02/08/2009, 07:16 PM
Hey when i die i crash? Any help?

MaykoX
05/08/2009, 09:41 AM
Nice

RayPoda
05/08/2009, 09:05 PM
This is pure awesomeness. +1 bro.

Having much fun with this.

Cracker
27/08/2009, 09:31 AM
Found error.
C:\Users\Cracker\Desktop\Server\filterscripts\fire works.pwn(201) : error 001: expected token: ";", but found "else"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

error gamed from line 200. Now u just have to replace it with old line 200:
if (!fexist(tmp)) SendClientMessage(playerid, 0xFFFFFFFF, "File not found!");


But otherways its the best fireworks script ;) GJ

kokkie20
27/08/2009, 09:50 AM
its also fun when u do the fwspawn command, then u do about 30 blasts, high at 5.0 and the rest random
then u will be running like a mad man :D

Cracker
20/09/2009, 03:23 PM
Hello. can some 1 help me,i cant download this link!:S but i neet it fast!!!

ÄitisOnHuora
20/09/2009, 04:59 PM
Fix the link please :-[

Martok
20/09/2009, 10:27 PM
Never seen a server being down?
Oh, the impatient youth of today ;)

Server's already back for some hours now.

SanMarinoRP
20/09/2009, 10:49 PM
nice man really good job on that one!

saiberfun
21/09/2009, 05:51 AM
nice :)
really^^
Grüsse
-Saiberfun

lpfthings
21/09/2009, 02:09 PM
I have been looking through the scripts, is there a way to change the firesworks from fire extinguishers to domething else? It'd be pretty funny if you could have other objects flying into the air and exploding. Is it in the include somewhere?

Nevermind, found it. You can just edit these object ID's in the fireworks.inc file:
new colortypes[] = {354, 1209}; //3666 original

Nice script :)

EDIT: 1297 lights up yellow. Only downside, there's a pole attached :P :P :P :P :mrgreen:

Currently I have a fireworks show AND a metal shower! :mrgreen: :mrgreen:
http://dl.getdropbox.com/u/203420/sa-mp-004.png

This was done by changing the explosion type to invisible, and the model to a over street traffic light ...

wert
23/09/2009, 07:46 PM
i cannot get it work when i press /fwfire and my own pattery it dont start. whats the problem? :(

Peanut
29/10/2009, 12:55 AM
AWESOME FS man.... if it wasnt for you my server wouldnt have became so awesome!


I have read all posts but this is crazy

danyelzo
29/10/2009, 07:26 PM
nice

Mechscape
29/10/2009, 08:08 PM
new link please.

Stunt_Guy_Drift_Guy
30/10/2009, 12:35 AM
Amazing [FS] Great Job!! :mrgreen:

munnsie
30/10/2009, 07:10 PM
Morro ]
i cannot get it work when i press /fwfire and my own pattery it dont start. whats the problem? :(


try /fwfireall

Mechscape
31/10/2009, 06:35 PM
new link please.

.....

RoamPT
31/10/2009, 10:47 PM
http://rapidshare.com/files/300662599/fireworks.zip.html

[DDC]Delight
02/11/2009, 12:11 PM
Very nice..

Could use it for couple of special events in the server :D

buonggiorno
21/11/2009, 03:53 PM
script dont work on my server. i copy/paste files in filescript, compile it to be shoure that there is no error, run server, go there tupe some of cmds and nothing hapend...what is problem, how to fix?

PRANK
21/11/2009, 06:21 PM
Nice job =)

buonggiorno
21/11/2009, 06:58 PM
sometimes i realy dont understand this forum...when we open topic where we need help with this FS you told us that we write here for help. when we write here for help, HELP IS NOWHERE!!!!!:@@@@

TOLD ME WHERE I CAN GET HELP WHEN I CANT HERE OR IN NEW TOPIC!!!!!!

Martok
21/11/2009, 10:16 PM
Gnarr... sometimes I really don't understand this forum... (*)

Why can't ppl just RTFM? 80% of questions are related to not being admin. 10% is the server being down for some maintenance and impatient users and the rest equally splits to some compiler issues and ppl not placing the files where they should go.

When I get EMail-notifications about any of these, they are ignored.

I have to say that I haven't tested this under 0.3 (mainly since my last contact to SAMP is about 1 year ago...), but in general it should work. Recent posts somehow suggest that this is actually the case.

(*) Actually, this is something I noticed from the very beginning... there seems to be nobody actually doing any research before posting.

buonggiorno
21/11/2009, 10:48 PM
1. i said ON MY SERVER - that means that i am HEAD ADMIN OR 1338
2. I AM NOT FIRST WITH PROBLEM THAT THIS SCRIPT DIDNT WORK
3. I HAVE MANY SCRIPT WHERE NEED TO BE ADMIN AND EVERYONE WORK
4. YOU NEED TO HELP AS NOT TO IGNORE, WE DONT HAVE MAGIC TO SEE WHAT THIS FS NEED :@

Martok
22/11/2009, 06:28 AM
Stop frakin' shouting at me.


Given that there are loads of people who got it working, there may be a problem on your side. Oh wait, no. That's impossible.

I asked my crystal ball... no message at all, not even "unknown command" tells me that there is some other FS not returning 0 in OnPlayerCommandText.

You may want to try /fwhelp. This should always produce some output, either unknown command if you are not admin, or the actual list of commands if you are.

BTW. You noticed the part about RCON admin, right?


4. YOU NEED TO HELP AS NOT TO IGNORE, WE DONT HAVE MAGIC TO SEE WHAT THIS FS NEED :@

Actually, I don't have to do anything. Secondly, you have some "magic": it's called code reading and considered essential ability.

WanTED_TRe
23/11/2009, 09:28 AM
Martok's Fireworks
Inspired by http://forum.sa-mp.com/index.php?topic=35903.0 :roll:

Download: http://www.martoks-place.de/files/samp/fireworks.zip

Based on Boylett's funny xFireworks Include, I created a filterscript which lets admins create firework batteries which can then be fired.
You need to be either RCON admin or authenticaded admin-scrpit-admin (see below) to access the commands!
Command help is available via /fwhelp.
Oh, and if you want to save... two things: first, it overwrites existing files... second: saving after a firework has been fired is useless 'cause the batteries are removed after they are empty. So you might save an empty map...

Admin script integration: I built the script to cooperate with mabakos admin script we use at the GermanFunserver. In OnPlayerCommandText, you will find the check for either RCON admin or Ingame-Admin. Our script allows to get a player's level via a CallRemoteFunction-Call. If you have another method, you can simply put it in this line. If not, ignore it, it will do no harm if there is no such function in your script.

Compiling yourself: If you want to compile this for yourself, you need the sscanf code which can be found on the wiki (NOTE: I had to fix a bug in there, so you might need to update your version if you already have one.).
Also, for some special effects, I modified xFireworks.inc so there are random white and red rockets.
The versions I compiled with are included in the zip archive.

Files: The script can save the current setup to a file located in the scriptfiles folder. 2 are shipped with the script: vinewood.firework creates a nice firework on the vinewood sign, firewall creates a wall of fireworks near the entrance of LS airfield. Don't you try to fly through with a helicopter :lol:

Have fun, we do have it ;)
Suggestions are welcome, of course.

History:
2007-12-30: initial release

NEW: demo video!
Watch it here! (http://www.myvideo.de/watch/3053067)





please help me

C:\Documents and Settings\Администратор\Рабочий стол\filterscripts\fireworks.pwn(201) : error 001: expected token: ";", but found "else"

Martok
23/11/2009, 12:08 PM
buonggiorno, see what I was talking about? Searching seems to be incredibly hard for ppl here.

WanTED_TRe: stand by for a FAQ coming in the first post. Writing that right now... done.

112lolzz
16/12/2009, 06:39 PM
Sorry if I'm being dumb or anything, but the manuel isn't included in the .zip I just downloaded. I might be overlooking this, but it would be really helpfull if someone could explain me how to instal.

- Thanks

arjunaryas
20/12/2009, 09:39 AM
Nice mod, It worked awesome for me but now I got problems :arrow: When I place more than 16 batteries the batteries don't appear after 16th and when I use the command /fwfireall , some of the batteries are not exploding .I don't understand why some of the batteries are not exploding and the visuals are not good as before they were exploding.
Another problem :arrow: Sometimes, all the batteries don't explode.
Such things were not happening to me before yesterday but now its all messed up.WHY?
I try restarting the server and loads the fireworks ,It works for first time but on second time onwards it starts creating me the random problems as I mentioned above.I did all the things what i could(deleting the old files and replacing the new files) but still get errors.
I use the following commands to explode:-
/fwspawn 1000 70 20 30 0.2
/fwfireall
/fwkillall
If, I am making any mistake then correct me please
Should I use some more commands also to avoid these errors

Help me please :'( :'( :'(

Martok
20/12/2009, 03:36 PM
I try restarting the server and loads the fireworks ,It works for first time but on second time onwards it starts creating me the random problems as I mentioned above.
That's how I like error reports ;)

I'll have a look at that later this evening, but I fear it's something with my code :roll:
... I just noticed that I don't even have a SAMP server setup on that machine here anymore. So that's plain ol' code reading for me.

Okay. Setup a test server, using default "grandlarceny" mode and nothing special but this FS... and it works. I'm afraid I can't reproduce anything you posted here....
If this was 0.2.*, I'd say something about too many objects, but 0.3 raised these limits quite a bit... I'm not sure what could be causing that now.

Does anyone else have similar problems? Maybe this FS doesnt work well together with some other FS?

arjunaryas
20/12/2009, 05:22 PM
Martok. help me please! I really love this firework. Please reply me as soon as possible with a solution. :-[

arjunaryas
20/12/2009, 05:51 PM
I am running about 13 filterscripts on my server. Please tell me if one of my filterscript is messing with your mod.

The filterscripts are as follows:-
perfect_aiming
bus_interior
Ambulance_interior
bus_job
notime's firework
sit in hydra as passenger
parachute jumping from androm
seif's animation
shamal_interior
skinchange mod (command /51 to anynumber)
strip_party(4 bots dancing in pin pen)
Taxi_job
&
YOUR MOD

arjunaryas
20/12/2009, 07:06 PM
Martok, I got the solution. You know one of my filterscript was messing with your mod and that mod is Bus_interior(author I forgot). I tested every filterscript with your script by adding and removing them one by one and finally I got my solution.Now its working as before as coooooool.

You did the great job from your side but I messed it myself. Sorry,man I disturbed you but its a good error that let peoples know what mistakes what I did and what happened.
(Martok's firework + Bus_interior :arrow: MESS UP)

Martok I have a request to you,Can you insert some more colours such as blue & green.

8) THANKS MAN FOR YOUR GREAT JOB 8)

Martok
20/12/2009, 07:13 PM
Sorry,man I disturbed you but its a good error that let peoples know what mistakes what I did and what happened.
(Martok's firework + Bus_interior :arrow: MESS UP)
Good to hear you found it. I'll add a small note to the FAQs, although "once" isn't excactly "frequently" :mrgreen:


Martok I have a request to you,Can you insert some more colours such as blue & green.
I'd love to, but sadly I need the 2dfx lighting to be bound to an object. These few in here are the only ones I found....

roar
21/12/2009, 04:57 AM
This filterscript is nice when we having a party

alecanalla
25/12/2009, 06:26 AM
links no found :S

Darkly_Face
19/02/2010, 09:19 AM
please can you add commands list?

Thomas_Ahmey
19/02/2010, 10:42 AM
OOOOOO Damm dope.looks better than the one i made for my server.I am using them11!!!!

thecutkiller
19/02/2010, 12:14 PM
Very well made!

proG(r)a(m)mer
23/02/2010, 09:05 AM
great script

Darkly_Face
23/02/2010, 08:36 PM
I http://t3.gstatic.com/images?q=tbn:nVC_hmCNq8bonM:http://www.pixeljoint.com/files/icons/hart_coin.gif this FS! :)

Landon
05/03/2010, 09:56 PM
Eeh, when I typ /fwspawn and then the example coordinates, it spawn a firework object thingy D:

XRVX
05/03/2010, 11:03 PM
wow looks awesome

aircombat
06/03/2010, 12:02 AM
wow very nice , keep up the good work :)
________
DIGITAL VAPORIZER (http://digitalvaporizers.info)

psychodave
23/05/2010, 02:14 PM
Hi. How did you add so much Red rockets?

Stefan_Toretto
10/09/2010, 04:35 PM
please can you add commands list?
try /fwhelp when you are logged in as an RCON admin ;)

royal_king
10/09/2010, 04:45 PM
wow!!! really nice man i will use this :)

ExeC
25/11/2010, 11:07 AM
Nice i like it :)

Goodlike
10/12/2010, 12:01 PM
pls add a new download link the old download doesn't works ;(

bRL
10/12/2010, 01:35 PM
Yes, i need an Download too...

soranaki
19/12/2010, 12:43 PM
Nice Work!!

Thank you very much

Mean
19/12/2010, 02:55 PM
You could use the hydra flare, model = 354.
To me this is better.


Good work, loved it, now i'll spam this OnPlayerSpawn :D

Daniel June
28/12/2010, 07:29 PM
http://www.youtube.com/watch?v=UW4RoCIPV8M

GaGlets(R)
28/12/2010, 07:36 PM
Edit and compile it by yourself i have made excellent fireworks from this..

p.s. There are alot of new lights in sa-mp.. (edit include xFireworks)

SA_Claude
21/08/2011, 04:20 AM
Unable to load filter script 'firework.amx'.


HELP:(

mubashir
23/07/2013, 10:17 AM
hey how to place firework and lauch em on a random self set location?

Bunny007
02/08/2013, 09:40 PM
This is really beautiful :D

zero_cool
03/08/2013, 11:58 PM
Very Nice :D