This Blip class member returns a pointer to the owner of this blip, or null if the blip is visible for everyone.
- Player Blip.Owner
This example function will return the name of the blip owner (or "Unknown" if the blip is a global blip) when called.
- // This is a custom function
- function GetBlipOwnerName( blip )
- if ( blip.Owner ) return blip.Owner.Name;
- return "Unknown";
The function Player.Name was used in in this example. More info about it in the corresponding page.
Note that this function is a completely custom function, you'll have to call it using your own script.