CreateMarker ??

Started by rulk, Oct 01, 2015, 06:51 PM

Previous topic - Next topic

rulk

Hya chaps,

Is there a way to create a 'per player' marker on the radar. eg, only visible to that player.

CreateMarker, creates a marker, but its visible to  every player, and all the other marker functions in the wiki are the actual 'player blip markers' if I'm not correct ???

does anyone have any suggestions ?

thanks chaps.
We are all god's children.

Stormeus

You can create a marker in the player's unique world (player.UniqueWorld). Any world-specific object made in this world will only be visible to that player.

Scripters are still responsible for cleaning these up when that player leaves, or else it'll just show up for the next player with the same ID.

KAKAN

Put this on onplayerjoin and try:-
CreateMarker( player.UnqiueWorld, player.Pos, 1, RGB(255,0,0), 0 )
oh no

rulk

player.UniqueWorld doh, of course.

Thanks chaps :-)
We are all god's children.