[FS] Firework script -
[BLS]Touchdown - 13.05.2009
[FS] Firework script v0.5
Hey guyz,
You have a party on your server, but you have NOT a firework??
That's a BIG problem?? Where do you get a firework now??
Here's a script which allows you to plant firecrackers!
How to install:
1. Copy firework.pwn and firework.amx and paste it in your filterscripts folder.
2. Copy a_samp.inc, colours.inc and dcmd.inc in your include folder.
3. Place 'firework' in the filterscript line in server.cfg.
4. Place firecrackers and have fun!!!
How to use:
1. Go to the place wherever you want.
2. Type /pbomb.
3. Run away!
Bugs:
There are no bugs now, if you found one, post it here!
Feel free to modificy it, you can define the time between the planting and exploding,
and you can define the define between to explosions.
Also you can define how much explosions the bomb will do.
Here you can download it:
http://www.mediafire.com/file/yw3tm1duonm/firework.rar Mediafire link.
http://pastebin.com/f2e8eeb35 Pastebin link.
Have FUN with this script on your next party on YOUR server.
crash_trackman
Re: [FS] Firework script -
Karlip - 13.05.2009
Could we have a pastebin link please?
Re: [FS] Firework script -
James_Alex - 13.05.2009
very nice
thx
Re: [FS] Firework script -
[BLS]Touchdown - 13.05.2009
pastebin added.
Re: [FS] Firework script -
Andom - 13.05.2009
Ooh my god! i'm sorry but you are really,.... uhm..... not-good at scripting (noob was too hard)
Код:
new string[256], string2[256], string3[256];
format(string, sizeof(string), "---Max Explosions set to: %d explosions---", MAX_EXPLOSIONS);
print(string);
format(string2, sizeof(string2), "---Time between explosions set to: %d milliseconds---", time);
print(string2);
format(string3, sizeof(string3), "---Time to explode set to: %d milliseconds---", timetoexplode);
print(string3);
- You are wasting memory
- You are using 3 strings, but you can use only 1.
- You used format for print, but you can easly use printf.
- You are using OnPlayerRequestClass in a filterscript.
- You have very mutch never-used publics.
- You don't have any identation.
- The timer will only work for playerid 0.
- Only 1 person can do the bomb at the same time.
Re: [FS] Firework script -
Fay-Tony - 13.05.2009
it's very nice

I love it
Re: [FS] Firework script -
hk_shade - 13.05.2009
There's a script before which is more easier to use and more settings.
But this is a good try
Re: [FS] Firework script -
Weirdosport - 13.05.2009
Andom is right, there is alot of stuff in the script that will not work..
And "2. Copy a_samp.inc, colours.inc and dcmd.inc in your include folder."...
What the hell? The .rar has no includes in it, and you didn't use any of them in your script (except a_samp but that's bleedin obvious!)
Re: [FS] Firework script -
shitbird - 13.05.2009
This is a okay script for a starter, alltho as mentioned before, it could be done better, but nice for a start.
Re: [FS] Firework script -
shindo - 13.05.2009
very nice.
Re: [FS] Firework script -
[IB]Scorcher - 13.05.2009
Videos? Pictures?
Re: [FS] Firework script -
FireDragon - 14.05.2009
hoi that it not sow a Firework that it a "RPG" gun ... And that given that Fire... yes i say God Job!
Re: [FS] Firework script -
@TheShadow@ - 14.05.2009
could really be done better^^
Re: [FS] Firework script -
*ToM* - 14.05.2009
Any vids/screenshots ? anyway good job, but yeah I saw a better realise than this one :P
Re: [FS] Firework script -
Backwardsman97 - 15.05.2009
Quote:
Originally Posted by Andom
Ooh my god! i'm sorry but you are really,.... uhm..... not-good at scripting (noob was too hard)
Код:
new string[256], string2[256], string3[256];
format(string, sizeof(string), "---Max Explosions set to: %d explosions---", MAX_EXPLOSIONS);
print(string);
format(string2, sizeof(string2), "---Time between explosions set to: %d milliseconds---", time);
print(string2);
format(string3, sizeof(string3), "---Time to explode set to: %d milliseconds---", timetoexplode);
print(string3);
- You are wasting memory
- You are using 3 strings, but you can use only 1.
- You used format for print, but you can easly use printf.
- You are using OnPlayerRequestClass in a filterscript.
- You have very mutch never-used publics.
- You don't have any identation.
- The timer will only work for playerid 0.
- Only 1 person can do the bomb at the same time.
|
That's kinda mean lol. It's good for a beginner.
Re: [FS] Firework script -
BP13 - 13.12.2009
Quote:
Originally Posted by [IB
Scorcher ]
Videos? Pictures?
|
Re: [FS] Firework script -
Fre$hKidd - 07.07.2010
Add some screens? or video?
Re: [FS] Firework script -
TheDrifter - 07.07.2010
Nice......
Re: [FS] Firework script -
Lorenc_ - 07.07.2010
Nice, simply done and looks nice.
Re: [FS] Firework script -
Dylan_Madigan69 - 07.07.2011
just as a suggestion, its always a good idea to have a video. Many people dont download things without seeing a video, or atleast a pic...