SA-MP Forums Archive
Does somebody know? [Mapping + Interior] - 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: Does somebody know? [Mapping + Interior] (/showthread.php?tid=402020)



Does somebody know? [Mapping + Interior] - [CG]Milito - 24.12.2012

Hello mates!

It's me again, I was wondering, how could I add those objects that are break-ables to this interior? :

I mean those objects that looks like an army guy aiming to you (The one that is break-able)
Does anybody know the Object ID?
How can I add it to the interior?

Thanks in-advance


Re: Does somebody know? [Mapping + Interior] - Huxley - 25.12.2012

Re-explain pl0x, Emiliowz. What kind of object & the army guy you're talking about? lol


Re: Does somebody know? [Mapping + Interior] - [CG]Milito - 25.12.2012

Those objects:




Re: Does somebody know? [Mapping + Interior] - Faisal_khan - 25.12.2012

You mean an object like someone is aiming at you like in the shooting ranges? If yes, there is an object like this in the gun shop, but I don't know the id of the object. And to break it, check if the player is aiming at the position of the object, then check if he wasted a bullet while he was aiming at the object. Then destroy the object.


Re: Does somebody know? [Mapping + Interior] - Huxley - 25.12.2012

Oh, those. Try using MTA Map editor, then use this keyword "tar" in the search box. You can find it.


Re: Does somebody know? [Mapping + Interior] - [CG]Milito - 25.12.2012

Kay, I'll but how can i add those objects on the interior?


Re: Does somebody know? [Mapping + Interior] - Faisal_khan - 25.12.2012

You will have to use the AttachObjectToObject function.
https://sampwiki.blast.hk/wiki/AttachObjectToObject


Re : Does somebody know? [Mapping + Interior] - Rayan_black - 25.12.2012

or use JernjeL's map editor from here:
https://sampforum.blast.hk/showthread.php?tid=282801
and then add the code to OnGameModeInIt function.


Re : Does somebody know? [Mapping + Interior] - Rayan_black - 25.12.2012

or use JernjeL's map editor from here:
https://sampforum.blast.hk/showthread.php?tid=282801
and then add the code to OnGameModeInIt function.


Re: Does somebody know? [Mapping + Interior] - NicholasA - 25.12.2012

Guys, he's looking to know how to put objects in an INTERIOR! He wants an explenation not some software to add objects.