Raised This Month: $ Target: $400
 0% 

[ H3LP ] Hide specific player from radar


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 06-29-2018 , 17:01   [ H3LP ] Hide specific player from radar
Reply With Quote #1

Hello, how I can hide a certain player from same team to don't be shown in radar to other players, but keep showing to himself?

I've taken a look at Radar message, but is there no target or whatever like. https://wiki.alliedmods.net/Half-Lif...e_Events#Radar
__________________









Last edited by CrazY.; 06-29-2018 at 17:01.
CrazY. is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 06-29-2018 , 17:07   Re: [ H3LP ] Hide specific player from radar
Reply With Quote #2

AFAIK it's not even possible to hide someone from the radar from everyone let alone a more complicated thing like that. I tried to do that for days and I ended up disabling the radar, it's the only choice.
__________________
edon1337 is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 06-29-2018 , 17:12   Re: [ H3LP ] Hide specific player from radar
Reply With Quote #3

I tried this but I'm not sure if will work. With bots it's working

Code:
public messageRadar(iMsgId, iMsgDest, pevEntity) {     if (!is_user_alive(pevEntity))         return PLUGIN_CONTINUE;     new pevPlayer = get_msg_arg_int(1);     if (!is_user_alive(pevPlayer))         return PLUGIN_CONTINUE;     if (avp_get_team(pevEntity) != avp_get_team(pevPlayer))         return PLUGIN_HANDLED;     return PLUGIN_CONTINUE;
__________________









Last edited by CrazY.; 06-29-2018 at 17:26.
CrazY. is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 06-29-2018 , 19:00   Re: [ H3LP ] Hide specific player from radar
Reply With Quote #4

Quote:
Originally Posted by CrazY. View Post
I tried this but I'm not sure if will work. With bots it's working

Code:
public messageRadar(iMsgId, iMsgDest, pevEntity) {     if (!is_user_alive(pevEntity))         return PLUGIN_CONTINUE;     new pevPlayer = get_msg_arg_int(1);     if (!is_user_alive(pevPlayer))         return PLUGIN_CONTINUE;     if (avp_get_team(pevEntity) != avp_get_team(pevPlayer))         return PLUGIN_HANDLED;     return PLUGIN_CONTINUE;
if it worked with bots it should also work with real players.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
E1_531G
Senior Member
Join Date: Dec 2017
Old 06-30-2018 , 08:05   Re: [ H3LP ] Hide specific player from radar
Reply With Quote #5

When i worked with "Radar" message, I noticed that bloking of this message don't hide the dot from radar, but set it on map 0,0,0 coordinates.
__________________
My English is A0
E1_531G is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 06-30-2018 , 09:00   Re: [ H3LP ] Hide specific player from radar
Reply With Quote #6

You can't, I think it picks up players' teams from "TeamInfo" and displays teammates. Your best bet is showing dots at player's own position or at someone else's.
__________________
klippy is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 06-30-2018 , 19:25   Re: [ H3LP ] Hide specific player from radar
Reply With Quote #7

So I will set a invalid origin that can't be seen in the radar. No, this won't will work.

Better hide the radar then...
__________________









Last edited by CrazY.; 06-30-2018 at 19:29.
CrazY. is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:52.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode