Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // This is a comment
- // uncomment the line below if you want to write a filterscript
- //#define FILTERSCRIPT
- #include <a_samp>
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Fire Commands ");
- print(" By Calzo_Smith ");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #endif
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/fire1", cmdtext, true, 10) == 0)
- {
- CreateExplosion(-1596.40, -2709.49, 48.45, 2, 10.0);
- CreateExplosion(-1607.10, -2716.97, 48.45, 2, 10.0);
- CreateExplosion(-1600.18, -2719.50, 48.45, 2, 10.0);
- CreateExplosion(-1604.11, -2712.24, 48.45, 2, 10.0);
- CreateExplosion(-1611.37, -2710.72, 48.45, 2, 10.0);
- CreateExplosion(-1610.14, -2717.87, 48.45, 2, 10.0);
- CreateExplosion(-1606.20, -2713.61, 48.45, 2, 10.0);
- CreateExplosion(-1603.22, -2709.85, 48.45, 2, 10.0);
- CreateExplosion(-1609.51, -2706.58, 48.45, 2, 10.0);
- CreateExplosion(-1599.32, -2714.41, 48.45, 2, 10.0);
- CreateExplosion(-1603.50, -2721.97, 48.45, 2, 10.0);
- CreateExplosion(-1606.66, -2724.32, 48.45, 2, 10.0);
- CreateExplosion(-1612.13, -2723.29, 48.45, 2, 10.0);
- CreateExplosion(-1615.54, -2717.63, 48.45, 2, 10.0);
- CreateExplosion(-1616.28, -2712.61, 48.45, 2, 10.0);
- CreateExplosion(-1617.21, -2705.76, 48.45, 2, 10.0);
- CreateExplosion(-1613.81, -2701.66, 48.45, 2, 10.0);
- CreateExplosion(-1607.54, -2699.86, 48.45, 2, 10.0);
- SendClientMessage(playerid, 0xFFFF0096, "[INFO]Fire has been created!");
- return 1;
- }
- if (strcmp("/fire2", cmdtext, true, 10) == 0)
- {
- CreateExplosion(-1932.87, -2598.39, 60.67, 2, 10.0);
- CreateExplosion(-1932.86, -2594.30, 60.67, 2, 10.0);
- CreateExplosion(-1929.63, -2595.23, 60.67, 2, 10.0);
- CreateExplosion(-1929.79, -2589.70, 60.67, 2, 10.0);
- CreateExplosion(-1923.26, -2591.96, 60.67, 2, 10.0);
- CreateExplosion(-1922.56, -2587.69, 60.67, 2, 10.0);
- CreateExplosion(-1925.23, -2595.17, 60.67, 2, 10.0);
- CreateExplosion(-1937.16, -2592.35, 60.67, 2, 10.0);
- CreateExplosion(-1937.12, -2597.60, 60.67, 2, 10.0);
- SendClientMessage(playerid, 0xFFFF0096, "[INFO]Fire has been created!");
- return 1;
- }
- if (strcmp("/fire3", cmdtext, true, 10) == 0)
- {
- CreateExplosion(-2153.60, -2468.14, 30.13, 2, 10.0);
- CreateExplosion(-2153.71, -2464.36, 30.13, 2, 10.0);
- CreateExplosion(-2151.78, -2463.13, 30.13, 2, 10.0);
- CreateExplosion(-2153.96, -2460.83, 30.13, 2, 10.0);
- CreateExplosion(-2156.30, -2464.56, 30.13, 2, 10.0);
- CreateExplosion(-2159.53, -2460.24, 30.13, 2, 10.0);
- CreateExplosion(-2165.18, -2456.00, 30.13, 2, 10.0);
- CreateExplosion(-2167.96, -2459.79, 30.13, 2, 10.0);
- CreateExplosion(-2163.30, -2460.63, 30.13, 2, 10.0);
- CreateExplosion(-2160.32, -2464.98, 30.13, 2, 10.0);
- CreateExplosion(-2156.35, -2469.89, 30.13, 2, 10.0);
- SendClientMessage(playerid, 0xFFFF0096, "[INFO]Fire has been created!");
- return 1;
- }
- if (strcmp("/fire4", cmdtext, true, 10) == 0)
- {
- CreateExplosion(-2160.94, -2398.06, 30.11, 2, 10.0);
- CreateExplosion(-2161.92, -2387.79, 30.11, 2, 10.0);
- CreateExplosion(-2166.44, -2382.38, 30.11, 2, 10.0);
- CreateExplosion(-2165.32, -2386.42, 30.11, 2, 10.0);
- CreateExplosion(-2158.21, -2389.46, 30.11, 2, 10.0);
- CreateExplosion(-2160.09, -2391.46, 30.11, 2, 10.0);
- CreateExplosion(-2163.43, -2392.98, 30.11, 2, 10.0);
- CreateExplosion(-2170.12, -2389.79, 30.11, 2, 10.0);
- CreateExplosion(-2168.29, -2395.68, 30.11, 2, 10.0);
- CreateExplosion(-2175.24, -2389.37, 30.11, 2, 10.0);
- CreateExplosion(-2174.20, -2383.92, 30.11, 2, 10.0);
- SendClientMessage(playerid, 0xFFFF0096, "[INFO]Fire has been created!");
- return 1;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment