SA-MP Forums Archive
Minigames Filterscript removing objects - 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)
+--- Thread: Minigames Filterscript removing objects (/showthread.php?tid=581041)



Minigames Filterscript removing objects - karemmahmed22 - 10.07.2015

Hi,i got a filterscript for minigames from here, but when i use it (load) a door appears in LVPD - Area 51
With explode able objects , i wanna remove them how?
Iknow you can just remove a object by removing the line but, no lines in the filterscript
theres the code

http://pastebin.com/qS7Gvi4p


Re: Minigames Filterscript removing objects - Michael B - 10.07.2015

Remove these lines from the filterscript:

PHP код:
CreateObject(975213.72311875.386413.88000.00000.0000180);// area 51 gate for TeamDM
 
            // LVDM zone:
            
CreateObject(975,2237.232,2453.272,11.353,0.0,0.0,90.000);//Gates
            
CreateObject(975,2293.831,2499.356,4.016,0.0,0.0,90.000);
            
CreateObject(975,2335.095,2443.816,6.436,0.0,0.0,56.250);
            
CreateObject(1225,2242.148,2481.337,2.679,0.0,0.0,0.0);//Explosive barrels
            
CreateObject(1225,2249.003,2476.099,2.679,0.0,0.0,0.0);
            
CreateObject(1225,2269.786,2485.744,2.679,0.0,0.0,0.0);
            
CreateObject(1225,2309.837,2472.542,2.679,0.0,0.0,0.0);
            
CreateObject(1225,2296.421,2456.946,2.679,0.0,0.0,0.0);
            
CreateObject(1225,2276.625,2436.773,2.679,0.0,0.0,0.0);
            
CreateObject(1225,2251.733,2443.828,2.679,0.0,0.0,0.0);
            
CreateObject(1225,2335.119,2447.098,5.029,0.0,0.0,0.0);
            
CreateObject(1225,2334.300,2446.371,4.971,0.0,0.0,0.0);
            
CreateObject(1225,2332.263,2444.455,4.774,0.0,0.0,0.0);
            
CreateObject(1225,2333.340,2443.961,5.007,0.0,0.0,0.0);
            
CreateObject(1225,2332.409,2441.871,5.056,0.0,0.0,0.0);
            
CreateObject(1225,2329.335,2443.138,4.298,0.0,0.0,0.0);
            
CreateObject(1225,2328.618,2445.822,4.055,0.0,0.0,0.0);
            
CreateObject(1225,2330.095,2446.103,4.320,0.0,0.0,0.0);
            
CreateObject(1225,2329.184,2444.807,4.575,0.0,0.0,0.0);
            
CreateObject(1556,2294.025,2494.454,3.789,0.0,0.0,-90.000);//Door
 
            
CreateObject(16681,2494.841,-1676.981,7000.000,0.0,0.0,0.0);//Boxing Arena 



Re: Minigames Filterscript removing objects - SoFahim - 10.07.2015

Just convert CreateObject to CreateDynamicObject