[FilterScript] [FS] Firework script
#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


Messages In This Thread
[FS] Firework script - by [BLS]Touchdown - 13.05.2009, 12:36
Re: [FS] Firework script - by Karlip - 13.05.2009, 12:40
Re: [FS] Firework script - by James_Alex - 13.05.2009, 12:49
Re: [FS] Firework script - by [BLS]Touchdown - 13.05.2009, 12:49
Re: [FS] Firework script - by Andom - 13.05.2009, 12:51
Re: [FS] Firework script - by Fay-Tony - 13.05.2009, 13:07
Re: [FS] Firework script - by hk_shade - 13.05.2009, 13:33
Re: [FS] Firework script - by Weirdosport - 13.05.2009, 13:57
Re: [FS] Firework script - by shitbird - 13.05.2009, 14:31
Re: [FS] Firework script - by shindo - 13.05.2009, 14:53
Re: [FS] Firework script - by [IB]Scorcher - 13.05.2009, 15:34
Re: [FS] Firework script - by FireDragon - 14.05.2009, 16:23
Re: [FS] Firework script - by @TheShadow@ - 14.05.2009, 16:43
Re: [FS] Firework script - by *ToM* - 14.05.2009, 23:56
Re: [FS] Firework script - by Backwardsman97 - 15.05.2009, 02:05
Re: [FS] Firework script - by BP13 - 13.12.2009, 02:13
Re: [FS] Firework script - by Fre$hKidd - 07.07.2010, 05:33
Re: [FS] Firework script - by TheDrifter - 07.07.2010, 06:52
Re: [FS] Firework script - by Lorenc_ - 07.07.2010, 07:56
Re: [FS] Firework script - by Dylan_Madigan69 - 07.07.2011, 15:41
Re: [FS] Firework script - by Yair_Mode - 07.07.2011, 18:15
Re: [FS] Firework script - by steve_gibson - 10.07.2011, 00:11

Forum Jump:


Users browsing this thread: 2 Guest(s)