CLEO HELP Is Player visible on radar

Skyfer

Member
Joined
Feb 4, 2022
Messages
18
Reaction score
1
Location
North Korea
Hello guys there is any way if i can check if a player is visible on radar with blip
why i need this check is because the opcode
0B2F: samp get_streamed_out_player_pos 4@ to 28@ 29@ 30@
gives the coordinates of players from different virtual world like example if your in freeroam you will get the player's position who is in dm,
its the last position of that player in freeroam before he joining DM

using defined players is also not a good solution because samp only defines players within 800 or 1000 meters range

so i need to a check to know if the player is visible on radar or not that way i can know that the player is on another virtual world or not
and filter out players that are on diffrent virtual world

sorry for my bad english
 

_Safa

Well-known member
Joined
Sep 22, 2019
Messages
295
Reaction score
97
Location
UGBASE
If another players virtual world isn't matched with yours, his radar blip won't get streamed for you... which means if their radar blip isn't on your radar, they are in another world.
 

Skyfer

Member
Joined
Feb 4, 2022
Messages
18
Reaction score
1
Location
North Korea
If another players virtual world isn't matched with yours, his radar blip won't get streamed for you... which means if their radar blip isn't on your radar, they are in another world.
Exactly but how I can i let the script know they are in another world,,,so I can print a info that the player is on another virtual world
 

Skyfer

Member
Joined
Feb 4, 2022
Messages
18
Reaction score
1
Location
North Korea
If player defined = your world, else virtual world.
not actualy player defined function has distance limit thats the problem im talking about
even if the player is on same world as me, if he is far from me in map like 1000 or 2000 meters it will show the player as Undefined
samp only defines player within 1000 meters if a player is far than 1000 meters his skin will get destroyed and will be undefined

but the player radar blip is shows always if player in same world no mater how far the distance
thats why im telling its there any way to check the player visible in radar or not
 
Top