Code:
public OnPluginStart()
SDKHook(FindEntityByClassname(0, "cs_player_manager"), SDKHook_ThinkPost, CSPM);
public CSPM(Ent)
{
new iSpot = FindSendPropOffs("CCSPlayerResource" , "m_bPlayerSpotted");
for ( new i = 1; i <= MaxClients; i++ )
{
// set spotted state
SetEntData(Ent, iSpot + i, true, 4, true);
}
}
If I use this code, all players radar is modified.
(all enemies can see my teammates / all teammates can see enemies)
How do I change this to only one player effect this?
(if A player call this, only A player's radar is changed)