Raised This Month: $12 Target: $400
 3% 

[Tutorial][CSS] Radar spot edit!


Post New Thread Reply   
 
Thread Tools Display Modes
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 06-20-2012 , 12:05   Re: [Tutorial][CSS] Radar spot edit!
Reply With Quote #41

Hello,

As would have to be for that only X persons can view all enemies in radar? for example only admins can view all enemies in radar

I tried several ways but I have not achieved this

someone would know how?
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
Mitchell
~lick~
Join Date: Mar 2010
Old 06-20-2012 , 15:30   Re: [Tutorial][CSS] Radar spot edit!
Reply With Quote #42

Quote:
Originally Posted by Franc1sco View Post
Hello,

As would have to be for that only X persons can view all enemies in radar? for example only admins can view all enemies in radar

I tried several ways but I have not achieved this

someone would know how?
Just edit the loop and make it check if the target is a admin, thr only hard part is finding out if the target is the player recieving the enemy's locations, or if the 'client' is the one recieving, you have to test it out more.
Mitchell is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 06-20-2012 , 15:31   Re: [Tutorial][CSS] Radar spot edit!
Reply With Quote #43

Quote:
Originally Posted by Franc1sco View Post
Hello,

As would have to be for that only X persons can view all enemies in radar? for example only admins can view all enemies in radar

I tried several ways but I have not achieved this

someone would know how?
Can't do.
m_bPlayerSpotted is boolean and tells which client index is true, then all enemies see him in radar.


- If want show all enemies to X person, then you need hide all enemies from teammates. Can't do even that.
- Or you can hide that X person from all enemies.

Last edited by Bacardi; 06-20-2012 at 15:32.
Bacardi is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 08-12-2012 , 17:21   Re: [Tutorial][CSS] Radar spot edit!
Reply With Quote #44

Quote:
Originally Posted by Bacardi View Post
Can't do.
m_bPlayerSpotted is boolean and tells which client index is true, then all enemies see him in radar.


- If want show all enemies to X person, then you need hide all enemies from teammates. Can't do even that.
- Or you can hide that X person from all enemies.
I've done some testing and found that If change the "m_iTeamNum" with the enemy team (with sendproxy), the enemies will be show in the radar
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.


Last edited by Franc1sco; 08-12-2012 at 21:05.
Franc1sco is offline
Send a message via MSN to Franc1sco
Reply



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 20:00.


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