finally solving STEAM_ID_STOP_IGNORING_RETVALS
This commit is contained in:
parent
a0fdbf4244
commit
b3763c4f96
@ -46,7 +46,8 @@ public void Event_RoundEnd(Handle event, const char[] name, bool dontBroadcast)
|
||||
GetCurrentMap(current_map, sizeof(current_map));
|
||||
for (int i = 1; i <= MaxClients; i++)
|
||||
{
|
||||
if (IsValidClient(i) && !IsFakeClient(i) && IsPlayerAlive(i) && GetClientTeam(i) == CS_TEAM_CT)
|
||||
//finally stopping STEAM_ID_STOP_IGNORING_RETVALS
|
||||
if (IsValidClient(i) && !IsFakeClient(i) && IsPlayerAlive(i) && GetClientTeam(i) == CS_TEAM_CT && IsClientAuthorized(i))
|
||||
{
|
||||
write_reward_entry(i, current_map);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user