How to add Markers for players

Started by Alpays, Mar 30, 2020, 03:08 PM

Previous topic - Next topic

Alpays

Can someone help me when i search Marker for Players they say use playerUniqueWorld what is this? Can someone give me  an example code?

DizzasTeR

A player's unique world is a special world for that player where only he will see the stuff.

Lets say you set a marker's world to player.UniqueWorld, then only THAT player will see the marker, and nobody else would.

Alpays

Quote from: Doom_Kill3R on Mar 30, 2020, 03:29 PMA player's unique world is a special world for that player where only he will see the stuff.

Lets say you set a marker's world to player.UniqueWorld, then only THAT player will see the marker, and nobody else would.

Thanks but how can i use playeruniqueworld

CreateMarker(1, player.UniqueWorld( -597.398, 670.632, 11.3937  ), 5,RGB(255, 255, 0),11);
i tried this and didnt work

Alpays

Quote from: Alpays on Mar 30, 2020, 03:34 PM
Quote from: Doom_Kill3R on Mar 30, 2020, 03:29 PMA player's unique world is a special world for that player where only he will see the stuff.

Lets say you set a marker's world to player.UniqueWorld, then only THAT player will see the marker, and nobody else would.

Thanks but how can i use playeruniqueworld

CreateMarker(1, player.UniqueWorld( -597.398, 670.632, 11.3937  ), 5,RGB(255, 255, 0),11);
i tried this and didnt work

I fixed my mistake  CreateMarker(player.UniqueWorld,Vector( x,y,z  ),