Raised This Month: $32 Target: $400
 8% 

Question regarding CS radar and player dot positions


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Warlord_dd2
Junior Member
Join Date: Oct 2013
Old 06-03-2017 , 07:28   Question regarding CS radar and player dot positions
Reply With Quote #1

Hi,

I would like to ask if it is possible to remove radar dot position of a single player?

Namely, I am using Invisible Spectator plugin which sets an administrator to look like he is in CT or TT team, but he is actually in spec, spectating.
The problem with this is that whenever there is an administrator in invisible spec, radar of CT or TT "teammates" shows some random location for him which irritates players very much, as they expect someone to be there, while no one is.

So all in all, my questions are following:
1 - Is it possible to simply remove radar dot of some player, since that would be the best solution.
2 - If point 1 is not possible, is it possible to somehow move location of that spec player (or his radar dot) together with some of the alive players? For this, it would be important to be well synced with radar displays, since point is for dot to be on the same place, and not lagging behind the player or wasting too much resources with very frequent upgrades.

Thank you in advanced

Last edited by Warlord_dd2; 06-03-2017 at 07:28.
Warlord_dd2 is offline
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 06-08-2017 , 15:31   Re: Question regarding CS radar and player dot positions
Reply With Quote #2

Dot is appeared because it is in your scoreboard (in your teammate list). There are several ways to "hide" it:
1. Move his position to someone of your teammates (as you mentioned).
2. Move him to enemy team.
3. Remove it from the scoreboard at all (that is the best way I think).
__________________
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@
Warlord_dd2
Junior Member
Join Date: Oct 2013
Old 06-08-2017 , 16:37   Re: Question regarding CS radar and player dot positions
Reply With Quote #3

Thanks man

I do have 2 questions regarding points 1 and 3:
1 / Do you have any advice of how to move position in sync with the radar? (some resource saving approach)
3 / Do you know of a good way to remove someone from the scoreboard?
Warlord_dd2 is offline
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 06-08-2017 , 17:34   Re: Question regarding CS radar and player dot positions
Reply With Quote #4

Quote:
Originally Posted by Warlord_dd2 View Post
3 / Do you know of a good way to remove someone from the scoreboard?
Try this:
Code:
#include <amxmodx> #include <fakemeta> enum ClientBool32Members {     ClientMember_SendInfo }; public plugin_init() {     register_forward(FM_ClientUserInfoChanged, "ClientUserInfoChanged", ._post=true); } public ClientUserInfoChanged(player, userInfoPtr) {     engfunc(EngFunc_SetClientKeyValue, player, userInfoPtr, "name", "");     SetClientMemberBool32(player, ClientMember_SendInfo, false); } ClientPointer:GetClientPointer(player) {     new clientUserInfoPointer = engfunc(EngFunc_GetInfoKeyBuffer, player);     new userInfoKeyOffset = is_linux_server() ? 0x4AA0 : 0x4BC0;     return ClientPointer:(clientUserInfoPointer - userInfoKeyOffset); } SetClientMemberBool32(player, ClientBool32Members:member, bool:value) {     new ClientPointer:clientPointer = GetClientPointer(player);         static memberOffset;     switch (member) {         case ClientMember_SendInfo:             memberOffset = is_linux_server() ? 0x4BA0 : 0x4CC0;     }         set_tr2(_:clientPointer + memberOffset, TR_AllSolid, _:value); }
__________________
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@
Warlord_dd2
Junior Member
Join Date: Oct 2013
Old 06-09-2017 , 17:20   Re: Question regarding CS radar and player dot positions
Reply With Quote #5

Thanks
Warlord_dd2 is offline
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 19:14.


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