13.05.2009, 12:51
Ooh my god! i'm sorry but you are really,.... uhm..... not-good at scripting (noob was too hard)
- 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.
Код:
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 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.