SA-MP Forums Archive
Random object in map (needs to be removed) - 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: Random object in map (needs to be removed) (/showthread.php?tid=584089)



Random object in map (needs to be removed) - Sellize - 02.08.2015

So in a script I've downloaded there are a LOT of objects and theres one in particular that I really don't like and I'd like to remove it. Any idea how to easily find which CreateObject it is?
I thought I could simply find out the object model ID and scan the script for it but the script uses this model alot.

Image: http://i.imgur.com/m5X80zo.png?1


Re: Random object in map (needs to be removed) - StuartD - 02.08.2015

You could go to the map editor, put in the mappings, find the object and then search the script for the coordinates of that object, that'd probably be the quickest.


Re: Random object in map (needs to be removed) - Lofti - 02.08.2015

Use /save near the gate to save your coordinates then check those coordinates if they're associated with an object in the script.


Re: Random object in map (needs to be removed) - IndependentGaming - 02.08.2015

Are you sure the gate is placed in the script and not ingame ?
use if you have the command /gnear /gatenear or /neargate