SA-MP Forums Archive
ADD COLOUR AT FIREWORKS? - HOW - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: ADD COLOUR AT FIREWORKS? - HOW (/showthread.php?tid=109733)



ADD COLOUR AT FIREWORKS? - HOW - buonggiorno - 22.11.2009

hi to all, i want to add color at this firework, you know like when rockets flying into sky and paste them is colour.
here is code can somebody tell me what to add and where?

Код:
#include <a_samp>


#pragma tabsize 0

#define FILTERSCRIPT

forward tuzi();
forward tuzi1();
forward tuzi2();
forward tuzi3();
forward tuzi4();
forward tuzi5();
forward tuzi6();
forward tuzi7();
forward tuzi8();
forward tuzi9();
forward tuzi10();
forward tuzi11();
forward tuzi12();
forward tuzi13();
forward tuzi14();
forward tuzi15();
forward tuzi16();
forward tuzi17();
forward tuzi18();
forward tuzi19();
forward tuzi20();
forward tuzi21();
forward tuzi22();
forward tuzi23();
forward tuzi24();
forward tuzi25();
forward tuzi26();
forward tuzi27();
forward tuzi28();
forward tuzi29();
forward tuzi30();
forward tuzi31();
forward tuzi32();
forward tuzi33();
forward tuzi34();
forward tuzi35();
forward tuzi36();
forward tuzi37();

public tuzi()
{
CreateExplosion(1363.2855,-790.5919,137.4595, 7, 20.0);
}

public tuzi2()
{
CreateExplosion(1367.5563,-788.0115,122.3152, 7, 20.0);
}
public tuzi3()
{
CreateExplosion(1370.8998,-785.9908,97.0697, 7, 20.0);
}
public tuzi4()
{
CreateExplosion(1462.0153,-787.9764,114.5773, 7, 20.0);
}
public tuzi5()
{
CreateExplosion(1467.0009,-792.1074,111.3910, 7, 20.0);
}
public tuzi6()
{
CreateExplosion(1465.3090,-799.3114,95.2006, 7, 20.0);
}
public tuzi7()
{
CreateExplosion(1442.0184,-813.7241,83.6477, 7,20.0);
}
public tuzi8()
{
CreateExplosion(1431.9946,-813.8446,85.1592, 7, 20.0);
}
public tuzi9()
{
CreateExplosion(1420.8810,-813.0920,84.1923, 7, 20.0);
}
public tuzi10()
{
CreateExplosion(1406.2203,-811.9258,81.3988, 7, 20.0);
}
public tuzi11()
{
CreateExplosion(1383.6844,-809.8368,79.5186, 7,20.0);
}
public tuzi12()
{
CreateExplosion(1392.2871,-810.6501,79.9748, 7, 20.0);
}


public tuzi13()
{
CreateExplosion(1421.7065,-804.5394,123.5138, 7, 10.0);
}
public tuzi14()
{
CreateExplosion(1397.4841,-800.0271,123.1400, 7, 10.0);
}
public tuzi15()
{
CreateExplosion(1426.8273,-794.9771,114.9513, 7, 10.0);
}
public tuzi16()
{
CreateExplosion(1389.3394,-782.1533,117.6958, 7, 10.0);
}
public tuzi17()
{
CreateExplosion(1423.1411,-786.4985,101.1328, 7, 10.0);
}
public tuzi18()
{
CreateExplosion(1417.2172,-777.8553,111.8196, 7, 10.0);
}
public tuzi19()
{
CreateExplosion(1388.4594,-764.5461,104.7148, 7, 10.0);
}
public tuzi20()
{
CreateExplosion(1413.0508,-753.2166,111.4689, 7, 10.0);
}
public tuzi21()
{
CreateExplosion(1423.1411,-786.4985,101.1328, 7, 10.0);
}
public tuzi22()
{
CreateExplosion(1413.0508,-753.2166,111.4689, 7, 10.0);
}
public tuzi23()
{
CreateExplosion(1432.6279,-770.7103,115.6447, 7, 10.0);
}
public tuzi24()
{
CreateExplosion(1423.1411,-786.4985,101.1328, 7, 10.0);
}
public tuzi25()
{
CreateExplosion(1402.3536,-775.7563,125.6237, 7, 10.0);
}
public tuzi26()
{
CreateExplosion(1422.6130,-779.5954,135.6730, 7, 10.0);
}
public tuzi27()
{
CreateExplosion(1400.8761,-802.6281,112.4918, 7, 10.0);
}
public tuzi28()
{
CreateExplosion(1422.6130,-779.5954,135.6730, 7, 10.0);
}
public tuzi29()
{
CreateExplosion(1398.6595,-794.3367,135.3467, 7, 10.0);
}
public tuzi30()
{
CreateExplosion(1426.3929,-766.0194,118.0334, 7, 10.0);
}
public tuzi31()
{
CreateExplosion(1376.6493,-771.4914,130.0241, 7, 10.0);
}
public tuzi32()
{
CreateExplosion(1393.0521,-749.2629,125.2416, 7, 10.0);
}
public tuzi33()
{
CreateExplosion(1426.3929,-766.0194,118.0334, 7, 10.0);
}
public tuzi34()
{
CreateExplosion(1406.1007,-808.0281,104.7936, 7, 10.0);
}

public tuzi35()
{
CreateExplosion(1416.8287,-791.4678,110.9571, 7, 10.0);
}

public tuzi36()
{
CreateExplosion(1434.6154,-802.3522,94.9703, 7, 10.0);
}

public tuzi37()
{
CreateExplosion(1400.8761,-802.6281,112.4918, 7, 10.0);
CreateExplosion(1426.8273,-794.9771,114.9513, 7, 10.0);
CreateExplosion(1421.7065,-804.5394,123.5138, 7, 10.0);
CreateExplosion(1397.4841,-800.0271,123.1400, 7, 10.0);
CreateExplosion(1389.3394,-782.1533,117.6958, 7, 10.0);
CreateExplosion(1423.1411,-786.4985,101.1328, 7, 10.0);
CreateExplosion(1417.2172,-777.8553,111.8196, 7, 10.0);
CreateExplosion(1388.4594,-764.5461,104.7148, 7, 10.0);
CreateExplosion(1413.0508,-753.2166,111.4689, 7, 10.0);
CreateExplosion(1423.1411,-786.4985,101.1328, 7, 10.0);
CreateExplosion(1413.0508,-753.2166,111.4689, 7, 10.0);
CreateExplosion(1432.6279,-770.7103,115.6447, 7, 10.0);
CreateExplosion(1432.2726,-797.5047,114.2581, 7, 10.0);
CreateExplosion(1402.3536,-775.7563,125.6237, 7, 10.0);
CreateExplosion(1422.6130,-779.5954,135.6730, 7, 10.0);
CreateExplosion(1422.6130,-779.5954,135.6730, 7, 10.0);
CreateExplosion(1398.6595,-794.3367,135.3467, 7, 10.0);
CreateExplosion(1426.3929,-766.0194,118.0334, 7, 10.0);
}


public OnFilterScriptInit()
{
    print("--------------------------------------");
    print("Fireworks Script By Milos      ");
    print("--------------------------------------");
}





public OnPlayerCommandText(playerid, cmdtext[])
{


if(strcmp(cmdtext, "/vatromet", true) ==0) {
SetTimer("tuzi", 1000, false);
SetTimer("tuzi1",2000, false);
SetTimer("tuzi2",3000, false);
SetTimer("tuzi3",4000, false);
SetTimer("tuzi4",5000, false);
SetTimer("tuzi5",6000, false);
SetTimer("tuzi6",7000 , false);
SetTimer("tuzi7",8000, false);
SetTimer("tuzi8",9000, false);
SetTimer("tuzi9",10000, false);
SetTimer("tuzi10",11000, false);
SetTimer("tuzi11",12000, false);
SetTimer("tuzi12",13000, false);
SetTimer("tuzi13",14000, false);
SetTimer("tuzi14",15000, false);
SetTimer("tuzi15",16000, false);
SetTimer("tuzi16",17000, false);
SetTimer("tuzi17",18000, false);
SetTimer("tuzui18",19000, false);
SetTimer("tuzi19",20000, false);
SetTimer("tuzi20",21000, false);
SetTimer("tuzi21",22000, false);
SetTimer("tuzi22",23000, false);
SetTimer("tuzi23",24000, false);
SetTimer("tuzi24",25000, false);
SetTimer("tuzi25",26000, false);
SetTimer("tuzi26",27000, false);
SetTimer("tuzi27",28000, false);
SetTimer("tuzi28",29000, false);
SetTimer("tuzi29",30000, false);
SetTimer("tuzi30",31000, false);
SetTimer("tuzi31",32000, false);
SetTimer("tuzi32",33000 , false);
SetTimer("tuzi33",34000, false);
SetTimer("tuzi34",35000, false);
SetTimer("tuzi35",36000, false);
SetTimer("tuzi36",37000, false);
SetTimer("tuzi37",38000, false);
}

return 0;
}
tnx alot to all


Re: ADD COLOUR AT FIREWORKS? - HOW - theuniq - 14.12.2009

I think you can't change the colors . I think there is lighting items.


Re: ADD COLOUR AT FIREWORKS? - HOW - LarzI - 14.12.2009

No you can't change colors for explosions.