Does somebody know? [Mapping + Interior]
#1

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
Reply
#2

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

Those objects:

Reply
#4

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.
Reply
#5

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

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

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

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

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

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


Forum Jump:


Users browsing this thread: 2 Guest(s)