[FilterScript] [FS] Firework script
#1

[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
Reply
#2

Could we have a pastebin link please?
Reply
#3

very nice
thx
Reply
#4

pastebin added.
Reply
#5

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.
Reply
#6

it's very nice I love it
Reply
#7

There's a script before which is more easier to use and more settings.
But this is a good try
Reply
#8

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!)
Reply
#9

This is a okay script for a starter, alltho as mentioned before, it could be done better, but nice for a start.
Reply
#10

very nice.
Reply
#11

Videos? Pictures?
Reply
#12

hoi that it not sow a Firework that it a "RPG" gun ... And that given that Fire... yes i say God Job!
Reply
#13

could really be done better^^
Reply
#14

Any vids/screenshots ? anyway good job, but yeah I saw a better realise than this one :P
Reply
#15

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.
Reply
#16

Quote:
Originally Posted by [IB
Scorcher ]
Videos? Pictures?
Reply
#17

Add some screens? or video?
Reply
#18

Nice......
Reply
#19

Nice, simply done and looks nice.
Reply
#20

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...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)