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.
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.
Put this on onplayerjoin and try:-
CreateMarker( player.UnqiueWorld, player.Pos, 1, RGB(255,0,0), 0 )
player.UniqueWorld doh, of course.
Thanks chaps :-)