Respawning barrels
#1

Hi, how i can do respawning barrels ? (ID : 1225)
Reply
#2

Try setting a respawn time maybe? I'm just guessing because I am a beginner here, but in other amx server games, you can set respawn times on objects!
Reply
#3

Quote:
Originally Posted by ******
Посмотреть сообщение
CreateObject
Isn't that what he probably did?
Reply
#4

I using Streamer, I donґt know, how do this
Reply
#5

This is what I have in my script that uses streamer. Put it under:
Quote:

public OnGameModeInit()

Just ignore the objects, I did copy+paste from my edit of the fallout script xD:
Код:
stock LoadStreamedObjects()
{


//Megaton
CreateObject(4122,102.69999695,2515.30004883,34.50000000,3.50958252,303.84005737,252.85879517); //object(ctyhllblk2land_lan) (1)
CreateObject(4122,159.60000610,2512.80004883,30.70000076,3.50463867,303.83789062,270.85583496); //object(ctyhllblk2land_lan) (2)
CreateObject(4122,224.50000000,2507.50000000,34.50000000,3.50463867,303.83239746,258.85144043); //object(ctyhllblk2land_lan) (3)
CreateObject(4122,243.39999390,2464.69995117,34.50000000,2.94161987,297.84936523,163.18579102); //object(ctyhllblk2land_lan) (4)
CreateObject(4122,192.19999695,2419.10009766,34.50000000,2.93884277,297.84484863,109.18536377); //object(ctyhllblk2land_lan) (5)
CreateObject(4122,128.19999695,2425.50000000,34.50000000,2.93334961,297.83935547,75.18212891); //object(ctyhllblk2land_lan) (6)
CreateObject(4122,78.90000153,2463.80004883,34.50000000,2.92785645,297.83935547,27.17944336); //object(ctyhllblk2land_lan) (7)
CreateObject(4122,135.39999390,2472.10009766,67.80000305,6.14294434,349.92166138,346.75024414); //object(ctyhllblk2land_lan) (8)
CreateObject(4122,183.60000610,2480.50000000,67.80000305,6.14218140,10.03668213,40.57058716); //object(ctyhllblk2land_lan) (9)
CreateObject(3271,62.09999847,2534.80004883,23.79999924,0.00000000,97.99804688,297.98767090); //object(bonyrd_block3_) (7)
CreateObject(3271,64.09999847,2527.19995117,33.29999924,0.00000000,117.99993896,291.98760986); //object(bonyrd_block3_) (8)
CreateObject(3271,64.50000000,2520.50000000,41.79999924,303.55590820,42.66537476,29.51025391); //object(bonyrd_block3_) (9)
CreateObject(3271,81.50000000,2516.30004883,41.79999924,54.95211792,40.70751953,110.82788086); //object(bonyrd_block3_) (10)
CreateObject(3271,95.90000153,2511.89990234,41.79999924,49.86999512,309.11727905,237.21536255); //object(bonyrd_block3_) (11)
CreateObject(3271,117.90000153,2508.50000000,41.79999924,294.10095215,175.09729004,339.61404419); //object(bonyrd_block3_) (12)
CreateObject(3271,123.59999847,2492.19995117,56.09999847,356.14770508,309.84512329,277.46539307); //object(bonyrd_block3_) (13)
CreateObject(3271,148.10000610,2490.19995117,56.09999847,35.98059082,182.47523499,4.61837769); //object(bonyrd_block3_) (14)
CreateObject(3269,158.39999390,2503.10009766,44.20000076,0.00000000,0.00000000,358.00000000); //object(bonyrd_block1_) (1)
CreateObject(3269,173.80000305,2499.89990234,68.09999847,305.53134155,59.35766602,85.94763184); //object(bonyrd_block1_) (2)
CreateObject(4122,67.40000153,2491.89990234,34.50000000,2.92236328,297.83935547,15.17465210); //object(ctyhllblk2land_lan) (10)
CreateObject(975,55.40000153,2498.60009766,17.20000076,0.00000000,2.00000000,291.99996948); //object(columbiangate) (1)
CreateObject(975,55.40000153,2498.60009766,20.00000000,0.00000000,1.99951172,291.99462891); //object(columbiangate) (2)
CreateObject(975,55.40000153,2498.60009766,22.79999924,0.00000000,1.99951172,291.99462891); //object(columbiangate) (3)
CreateObject(975,55.40000153,2498.60009766,25.50000000,0.00000000,1.99951172,291.99462891); //object(columbiangate) (4)
CreateObject(975,55.40000153,2498.60009766,28.50000000,0.00000000,1.99951172,291.99462891); //object(columbiangate) (5)
CreateObject(975,59.40000153,2506.80004883,28.50000000,0.00000000,1.99951172,291.99462891); //object(columbiangate) (6)
CreateObject(975,59.40000153,2506.80004883,25.29999924,0.00000000,1.99951172,291.99462891); //object(columbiangate) (7)
CreateObject(975,59.40000153,2506.80004883,21.29999924,0.00000000,1.99951172,291.99462891); //object(columbiangate) (8)
CreateObject(975,58.20000076,2506.60009766,24.79999924,0.00000000,1.99951172,291.99462891); //object(columbiangate) (9)
CreateObject(975,57.00000000,2506.39990234,21.29999924,0.00000000,1.99951172,291.99462891); //object(columbiangate) (10)
CreateObject(975,54.79999924,2506.00000000,21.29999924,0.00000000,1.99951172,291.99462891); //object(columbiangate) (11)
CreateObject(975,55.79999924,2506.19995117,18.29999924,0.00000000,1.99951172,291.99462891); //object(columbiangate) (12)
CreateObject(975,57.50000000,2506.50000000,14.80000019,0.00000000,1.99951172,291.99462891); //object(columbiangate) (13)
CreateObject(975,53.59999847,2505.60009766,17.29999924,0.00000000,1.99951172,291.99462891); //object(columbiangate) (14)
CreateObject(16182,413.50000000,2552.69995117,99999.00000000,0.00000000,0.00000000,0.00000000); //object(ne_bit_12) (2)
CreateObject(4122,209.80000305,2486.69995117,19.00000000,0.00000000,260.00000000,0.00000000); //object(ctyhllblk2land_lan) (18)
CreateObject(4122,162.69999695,2516.50000000,19.00000000,0.00000000,259.99694824,78.00000000); //object(ctyhllblk2land_lan) (19)
CreateObject(4122,188.30000305,2431.10009766,19.00000000,0.00000000,259.99694824,281.99996948); //object(ctyhllblk2land_lan) (20)
CreateObject(4122,137.00000000,2441.89990234,19.00000000,0.00000000,274.00000000,211.99707031); //object(ctyhllblk2land_lan) (21)
CreateObject(4122,126.09999847,2481.80004883,19.00000000,0.00000000,273.99902344,149.99218750); //object(ctyhllblk2land_lan) (22)
CreateObject(975,130.39999390,2490.00000000,17.20000076,0.00000000,2.00000000,62.00000000); //object(columbiangate) (16)
CreateObject(16767,151.39999390,2511.39990234,21.50000000,0.00000000,0.00000000,269.99996948); //object(cluckinbell1_cn2) (1)
CreateObject(16108,186.60000610,2486.69995117,19.89999962,0.00000000,0.00000000,0.00000000); //object(des_snakefarm_) (1)
CreateObject(3246,157.80000305,2450.30004883,15.00000000,0.00000000,0.00000000,208.00012207); //object(des_westrn7_) (1)
CreateObject(3250,165.39999390,2464.60009766,15.50000000,0.00000000,0.00000000,0.00000000); //object(des_westrn9_) (1)
CreateObject(3253,147.30000305,2463.60009766,15.50000000,0.00000000,0.00000000,186.00000000); //object(des_westrn11_) (1)
CreateObject(3253,138.39999390,2462.19995117,15.50000000,0.00000000,0.00000000,163.99853516); //object(des_westrn11_) (2)
//Megaton END

CreateObject(7947, -202.85, 2554.13, 30.00,   0.00, 0.00, 85.00);
CreateObject(14877, -195.10, 2540.10, 33.50,   0.00, 0.00, 86.00);
CreateObject(11444, -75.83, 2482.47, 19.40,   90.00, 0.00, 0.00);
CreateObject(11444, -71.14, 2482.48, 19.40,   90.00, 0.00, 0.00);
CreateObject(11444, -75.83, 2482.47, 27.40,   270.00, 0.00, 0.00);
CreateObject(11444, -71.22, 2482.42, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -75.83, 2482.47, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -71.22, 2482.42, 27.40,   270.00, 0.00, 0.00);
CreateObject(11444, -71.14, 2482.48, 27.40,   90.00, 0.00, 0.00);
CreateObject(11444, -75.83, 2482.47, 27.40,   90.00, 0.00, 0.00);
CreateObject(11444, -66.71, 2482.51, 19.40,   90.00, 0.00, 0.00);
CreateObject(11444, -62.05, 2482.51, 19.40,   90.00, 0.00, 0.00);
CreateObject(11444, -57.43, 2482.50, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -57.43, 2482.50, 19.40,   90.00, 0.00, 0.00);
CreateObject(11444, -66.71, 2482.51, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -62.05, 2482.51, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -52.87, 2482.51, 19.40,   90.00, 0.00, 0.00);
CreateObject(11444, -52.87, 2482.51, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -48.22, 2482.52, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -43.64, 2482.50, 19.40,   90.00, 0.00, 0.00);
CreateObject(11444, -43.64, 2482.50, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -48.22, 2482.52, 19.40,   90.00, 0.00, 0.00);
CreateObject(11444, -43.64, 2482.50, 27.40,   90.00, 0.00, 0.00);
CreateObject(11444, -48.22, 2482.52, 27.40,   90.00, 0.00, 0.00);
CreateObject(11444, -48.22, 2482.52, 27.40,   270.00, 0.00, 0.00);
CreateObject(11444, -43.64, 2482.50, 27.40,   270.00, 0.00, 0.00);
CreateObject(11444, -45.75, 2487.99, 19.40,   270.00, 90.00, 0.00);
CreateObject(11444, -45.75, 2487.99, 19.40,   270.00, 270.00, 0.00);
CreateObject(11444, -45.76, 2492.61, 19.40,   270.00, 90.00, 0.00);
CreateObject(11444, -45.76, 2511.07, 19.40,   270.00, 90.00, 0.00);
CreateObject(11444, -45.76, 2515.67, 19.40,   270.00, 90.00, 0.00);
CreateObject(11444, -43.50, 2521.24, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -48.28, 2521.21, 27.40,   270.00, 0.00, 0.00);
CreateObject(11444, -45.75, 2492.61, 19.40,   270.00, 270.00, 0.00);
CreateObject(11444, -45.76, 2511.07, 19.40,   270.00, 270.00, 0.00);
CreateObject(11444, -45.76, 2515.67, 19.40,   270.00, 270.00, 0.00);
CreateObject(11444, -48.28, 2521.21, 27.40,   270.00, 179.99, 0.00);
CreateObject(11444, -43.50, 2521.24, 19.40,   270.00, 179.99, 0.00);
CreateObject(11444, -43.50, 2521.24, 27.40,   270.00, 179.99, 0.00);
CreateObject(11444, -43.50, 2521.24, 27.40,   270.00, 0.00, 0.00);
CreateObject(11444, -48.28, 2521.21, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -48.28, 2521.21, 19.40,   270.00, 179.99, 0.00);
CreateObject(8613, -24.81, 2489.85, 20.00,   0.00, 0.00, 180.00);
CreateObject(11444, -45.72, 2489.55, 21.00,   0.00, 0.00, 0.00);
CreateObject(11444, -73.79, 2501.58, 23.60,   0.00, 0.00, 0.00);
CreateObject(11444, -45.78, 2514.08, 21.00,   0.00, 0.00, 0.00);
CreateObject(11444, -54.31, 2482.52, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, -61.96, 2482.47, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, -69.39, 2482.46, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, -49.39, 2518.11, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, -73.51, 2482.50, 29.00,   0.00, 0.00, 90.00);
CreateObject(11444, -45.88, 2482.44, 29.00,   0.00, 0.00, 90.00);
CreateObject(11444, -73.54, 2487.93, 19.40,   270.00, 270.00, 0.00);
CreateObject(11444, -73.55, 2492.55, 19.40,   270.00, 270.00, 0.00);
CreateObject(11444, -73.55, 2511.13, 19.40,   270.00, 270.00, 0.00);
CreateObject(11444, -73.55, 2515.75, 19.40,   270.00, 270.00, 0.00);
CreateObject(11444, -73.54, 2487.93, 19.40,   270.00, 90.00, 0.00);
CreateObject(11444, -73.55, 2492.55, 19.40,   270.00, 90.00, 0.00);
CreateObject(11444, -73.54, 2511.13, 19.40,   270.00, 90.00, 0.00);
CreateObject(11444, -73.55, 2515.75, 19.40,   270.00, 90.00, 0.00);
CreateObject(11444, -75.84, 2521.24, 19.40,   270.00, 179.99, 0.00);
CreateObject(11444, -71.23, 2521.25, 19.40,   270.00, 179.99, 0.00);
CreateObject(11444, -71.23, 2521.25, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -75.84, 2521.24, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -71.23, 2521.25, 27.40,   270.00, 179.99, 0.00);
CreateObject(11444, -75.84, 2521.24, 27.40,   270.00, 179.99, 0.00);
CreateObject(11444, -71.23, 2521.25, 27.40,   270.00, 0.00, 0.00);
CreateObject(11444, -75.84, 2521.24, 27.40,   270.00, 0.00, 0.00);
CreateObject(11444, -66.61, 2521.24, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -61.99, 2521.24, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, -57.37, 2521.23, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, -52.62, 2521.22, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, -66.61, 2521.24, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, -61.99, 2521.24, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -57.37, 2521.23, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -52.62, 2521.21, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -73.49, 2521.20, 29.00,   0.00, 0.00, 90.00);
CreateObject(11444, -54.75, 2521.35, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, -62.50, 2521.30, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, -68.75, 2521.28, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, -73.65, 2489.54, 21.00,   0.00, 0.00, 0.00);
CreateObject(11444, -73.69, 2494.78, 22.40,   20.00, 0.00, 0.00);
CreateObject(11444, -73.61, 2508.41, 22.40,   340.00, 0.00, 0.00);
CreateObject(11444, -73.64, 2514.37, 21.00,   0.00, 0.00, 0.00);
CreateObject(11444, -38.88, 2521.23, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, -34.26, 2521.23, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -29.65, 2521.24, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -25.01, 2521.24, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -20.38, 2521.24, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -15.76, 2521.25, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -11.13, 2521.26, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -6.50, 2521.27, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -1.89, 2521.28, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, 2.72, 2521.29, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, 7.35, 2521.28, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, 11.95, 2521.29, 27.40,   270.00, 0.00, 0.00);
CreateObject(11444, 16.55, 2521.28, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -38.88, 2521.23, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -34.26, 2521.23, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, -29.65, 2521.24, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, -25.01, 2521.24, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, -20.38, 2521.24, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, -15.76, 2521.25, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, -11.13, 2521.26, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, -6.50, 2521.27, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, -1.89, 2521.28, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, 2.72, 2521.29, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, 7.34, 2521.28, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, 11.95, 2521.29, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, 16.55, 2521.28, 27.40,   270.00, 180.00, 0.00);
CreateObject(11444, 16.55, 2521.28, 27.40,   270.00, 0.00, 0.00);
CreateObject(11444, 11.95, 2521.29, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, 11.95, 2521.29, 27.40,   270.00, 179.99, 0.00);
CreateObject(11444, 16.55, 2521.28, 19.40,   270.00, 179.99, 0.00);
CreateObject(11444, 14.23, 2515.83, 19.40,   270.00, 90.00, 0.00);
CreateObject(11444, 14.23, 2511.20, 19.40,   270.00, 90.00, 0.00);
CreateObject(11444, 14.20, 2506.56, 19.40,   270.00, 90.00, 0.00);
CreateObject(11444, 14.20, 2501.93, 19.40,   270.00, 90.00, 0.00);
CreateObject(11444, 14.20, 2497.33, 19.40,   270.00, 90.00, 0.00);
CreateObject(11444, 14.20, 2492.73, 19.40,   270.00, 90.00, 0.00);
CreateObject(11444, 14.20, 2488.10, 19.40,   270.00, 90.00, 0.00);
CreateObject(11444, 14.23, 2515.83, 19.40,   270.00, 270.00, 0.00);
CreateObject(11444, 14.23, 2511.20, 19.40,   270.00, 270.00, 0.00);
CreateObject(11444, 14.20, 2506.55, 19.40,   270.00, 270.00, 0.00);
CreateObject(11444, 14.20, 2501.93, 19.40,   270.00, 270.00, 0.00);
CreateObject(11444, 14.20, 2497.33, 19.40,   270.00, 270.00, 0.00);
CreateObject(11444, 14.20, 2492.73, 19.40,   270.00, 270.00, 0.00);
CreateObject(11444, 14.20, 2488.10, 19.40,   270.00, 270.00, 0.00);
CreateObject(11444, 16.56, 2482.60, 27.40,   270.00, 0.00, 0.00);
CreateObject(11444, 11.87, 2482.62, 27.40,   270.00, 0.00, 0.00);
CreateObject(11444, 11.87, 2482.62, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, 16.56, 2482.60, 27.40,   270.00, 180.00, 0.00);
CreateObject(11444, 11.87, 2482.62, 27.40,   270.00, 179.99, 0.00);
CreateObject(11444, 16.56, 2482.60, 19.40,   270.00, 179.99, 0.00);
CreateObject(11444, 11.87, 2482.62, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, 16.56, 2482.60, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, 7.28, 2482.63, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, 2.68, 2482.62, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -1.95, 2482.61, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -6.58, 2482.59, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -11.18, 2482.57, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -15.78, 2482.58, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -20.43, 2482.58, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -25.08, 2482.59, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -29.70, 2482.57, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -34.30, 2482.57, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -38.93, 2482.55, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, -38.93, 2482.55, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -34.30, 2482.57, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, -29.70, 2482.57, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, -25.08, 2482.59, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, -20.43, 2482.58, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, -15.78, 2482.58, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, -11.17, 2482.57, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, -6.58, 2482.59, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, -1.95, 2482.61, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, 2.68, 2482.62, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, 7.28, 2482.63, 19.40,   270.00, 180.00, 0.00);
CreateObject(11444, 14.19, 2489.75, 21.00,   0.00, 0.00, 0.00);
CreateObject(11444, 14.21, 2498.05, 21.00,   0.00, 0.00, 0.00);
CreateObject(11444, 14.23, 2506.36, 21.00,   0.00, 0.00, 0.00);
CreateObject(11444, 14.21, 2514.54, 21.00,   0.00, 0.00, 0.00);
CreateObject(11444, -37.05, 2521.20, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, -28.79, 2521.21, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, -20.47, 2521.21, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, -12.29, 2521.21, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, -4.04, 2521.21, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, 4.26, 2521.24, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, 10.26, 2521.24, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, -36.97, 2482.54, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, -28.67, 2482.55, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, -20.29, 2482.54, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, -12.01, 2482.53, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, -3.71, 2482.54, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, 4.57, 2482.53, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, 9.87, 2482.55, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, 14.18, 2521.21, 29.00,   0.00, 0.00, 90.00);
CreateObject(11444, 14.22, 2482.58, 29.00,   0.00, 0.00, 90.00);
CreateObject(11444, -45.73, 2494.51, 22.40,   20.00, 0.00, 0.00);
CreateObject(11444, -45.89, 2508.08, 22.40,   340.00, 0.00, 0.00);
CreateObject(11444, -45.97, 2501.29, 23.60,   0.00, 0.00, 0.00);
CreateObject(11444, -42.70, 2518.42, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, 10.91, 2518.23, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, 11.17, 2485.90, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, -43.05, 2485.12, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, -48.32, 2485.16, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, -70.83, 2485.30, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, -71.13, 2517.98, 21.00,   0.00, 0.00, 90.00);
CreateObject(11444, 9.08, 2485.42, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -40.94, 2485.05, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -50.50, 2485.27, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -68.76, 2485.34, 19.40,   270.00, 0.00, 0.00);
CreateObject(11444, -69.11, 2518.08, 19.40,   270.00, 179.99, 0.00);
CreateObject(11444, -51.58, 2518.25, 19.40,   270.00, 179.99, 0.00);
CreateObject(11444, -40.74, 2518.41, 19.40,   270.00, 179.99, 0.00);
CreateObject(11444, 8.48, 2518.38, 19.40,   270.00, 179.99, 0.00);
CreateObject(8613, -24.93, 2514.01, 20.00,   0.00, 0.00, 0.00);
CreateObject(11425, -16.10, 2492.67, 17.31,   0.00, 0.00, 0.00);
CreateObject(11427, -1.58, 2507.75, 22.67,   0.00, 0.00, 27.79);
CreateObject(11440, -17.25, 2505.59, 15.48,   0.00, 0.00, 18.86);
CreateObject(11442, -61.05, 2509.54, 15.49,   0.00, 0.00, 302.21);
CreateObject(11443, -58.09, 2494.15, 15.48,   0.00, 0.00, 270.32);
CreateObject(11444, -45.80, 2521.19, 29.00,   0.00, 0.00, 90.00);
CreateObject(2096, -21.91, 2507.00, 15.49,   0.00, 0.00, 347.08);
CreateObject(2096, -31.63, 2496.54, 15.49,   0.00, 0.00, 50.59);
CreateObject(2096, -31.42, 2495.13, 15.49,   0.00, 0.00, 124.31);
CreateObject(1280, -2.27, 2503.01, 15.89,   0.00, 0.00, 29.91);
CreateObject(1280, -5.79, 2509.66, 15.89,   0.00, 0.00, 29.90);
CreateObject(1810, -8.96, 2491.71, 15.48,   0.00, 0.00, 229.31);
CreateObject(1810, -10.33, 2491.90, 15.48,   0.00, 0.00, 152.40);
CreateObject(651, -26.34, 2502.18, 15.48,   0.00, 0.00, 0.00);
CreateObject(651, -65.91, 2497.54, 15.48,   0.00, 0.00, 0.00);
CreateObject(651, -61.43, 2505.69, 15.48,   0.00, 0.00, 250.33);
CreateObject(651, -51.94, 2496.19, 15.48,   0.00, 0.00, 290.21);
CreateObject(651, -53.98, 2512.09, 15.48,   0.00, 0.00, 250.32);
CreateObject(651, -40.05, 2511.78, 15.48,   0.00, 0.00, 250.32);
CreateObject(651, -5.03, 2489.04, 15.48,   0.00, 0.00, 266.20);
CreateObject(19315, -77.84, 2496.75, 15.79,   0.00, 0.00, 67.62);

}
Reply
#6

If barrel explode, i want to respawn it
Reply
#7

Quote:
Originally Posted by ******
Посмотреть сообщение
Depending on the streamer the function will thus be something like:

CreateDynamicObject

Of course, it depends on what you mean by "respawn".
I think he means that he wants it to delete itself and spawn again after a set period of time. Probably will be CreateDynamicObject with an if statement saying that if it isn't there, spawn it again, meaning he probably needs a new.
Reply
#8

Please, can you help me ? (
Reply
#9

And have someone ID of breakalbe glass wall ?
Reply
#10

for glas objects, look here: https://sampforum.blast.hk/showthread.php?tid=306682
if you set the view distance to a few units only (not 300, but 20 units maybe), then the barrel gets respawned automatically by the streamer. when the player is supposed to drive or walk away to destroy the next barrel(s), then iam sure this method can work - despite the barrels are visible in that small (20) range only ><
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)