Attaching a marker to objects
#1

Hello, is there any function to attach markers to certain object IDs?
Reply
#2

There are two things you can attach to an object: Objects and Cameras.

You are free to obtain an object position using the function GetObjectPos, and then create something like a MapIcon in the same pos.
Reply
#3

Can you be more specific what you mean with a marker?
You mean a checkpoint, pickup, or what?

Anyways, you could use a 1 sec or such repeating timer that uses GetObjectPos, and sets the position of that "marker" to the object repeadetly.
Reply
#4

He refers to the red markers you see in game for checkpoints, not pick-ups. It's impossible, as far as I know.
Reply
#5

if you want the red marker only, nothing else, then I have a solution:

There is an object that's the red marker, you could use it and attach the object to another object using https://sampwiki.blast.hk/wiki/AttachObjectToObject
Reply
#6

Thanks, I'll look what I can do.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)