18.03.2011, 18:29
How I can do this:
When I type lol appear the objects = Done
After 30 seconds = Disable the objects (ALL OF IT)
When I type lol appear the objects = Done
After 30 seconds = Disable the objects (ALL OF IT)
pawn Код:
if (strcmp("/lol", cmdtext, true, 10) == 0)
{
CreateObject(3666,-510.40856934,965.98443604,34.14291763,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (1)
CreateObject(3666,-510.93872070,964.32263184,36.46486664,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (2)
CreateObject(3666,-511.47897339,962.93511963,38.52323532,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (3)
CreateObject(3666,-512.39575195,961.09729004,41.58478928,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (4)
CreateObject(3666,-513.41937256,959.14483643,44.51112366,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (5)
CreateObject(3666,-512.76635742,957.30017090,41.95617676,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (6)
CreateObject(3666,-512.18902588,955.86834717,39.44334412,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (7)
CreateObject(3666,-511.81042480,954.46759033,37.38775635,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (8)
CreateObject(3666,-511.32583618,952.46533203,34.18540192,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (9)
CreateObject(3666,-511.38845825,961.15643311,37.90164566,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (10)
CreateObject(3666,-511.58892822,957.84521484,37.84634399,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (11)
CreateObject(3666,-514.79895020,950.02136230,45.39509583,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (12)
CreateObject(3666,-513.96319580,949.35668945,42.46944046,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (13)
CreateObject(3666,-513.27331543,948.94305420,39.86474991,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (14)
CreateObject(3666,-512.71173096,948.55810547,37.48286057,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (15)
CreateObject(3666,-512.16741943,947.94616699,34.70437622,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (16)
CreateObject(3666,-512.37145996,946.09582520,33.98105240,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (17)
CreateObject(3666,-513.06604004,943.25183105,34.28899002,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (18)
CreateObject(3666,-513.81433105,941.89001465,36.09999847,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (19)
CreateObject(3666,-514.56817627,942.00646973,39.14968109,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (20)
CreateObject(3666,-515.32165527,942.34576416,42.03632355,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (21)
CreateObject(3666,-515.88067627,942.96282959,44.26155853,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (22)
CreateObject(3666,-516.52648926,943.26306152,46.34239960,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (23)
CreateObject(3666,-509.12933350,963.80291748,26.57212830,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (24)
CreateObject(3666,-508.78704834,963.52105713,23.59615326,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (25)
CreateObject(3666,-508.49978638,963.31353760,20.13093948,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (26)
CreateObject(3666,-508.35076904,963.13946533,17.17937279,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (27)
CreateObject(3666,-509.20736694,961.99157715,26.76406860,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (28)
CreateObject(3666,-509.29678345,960.25823975,26.82457352,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (29)
CreateObject(3666,-509.40881348,958.40081787,26.75878525,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (30)
CreateObject(3666,-508.60620117,961.95751953,21.02521896,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (31)
CreateObject(3666,-508.70141602,960.03137207,21.06351852,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (32)
CreateObject(3666,-509.87216187,953.05120850,26.14044571,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (33)
CreateObject(3666,-509.65267944,952.39202881,23.47658157,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (34)
CreateObject(3666,-509.45269775,952.27905273,21.06242752,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (35)
CreateObject(3666,-509.30895996,952.05487061,18.28149605,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (36)
CreateObject(3666,-509.60256958,955.13543701,25.96357918,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (37)
CreateObject(3666,-510.20593262,950.62780762,26.06346512,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (38)
CreateObject(3666,-510.70852661,947.44445801,25.73293495,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (39)
CreateObject(3666,-510.69219971,946.18109131,23.43593597,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (40)
CreateObject(3666,-510.82577515,944.74218750,21.65200615,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (41)
CreateObject(3666,-510.96157837,943.29095459,18.97254181,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (42)
CreateObject(3666,-511.39239502,941.98107910,20.77098274,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (43)
CreateObject(3666,-511.70983887,940.14031982,18.34438705,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (44)
CreateObject(3666,-512.12054443,939.49847412,21.80956268,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (45)
CreateObject(3666,-512.58679199,938.85992432,24.65010071,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (46)
CreateObject(3666,-513.03808594,938.20788574,26.72150040,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (47)
return 1;
}
return 0;
}