HookEvent("player_team", Reset_Points); public Action:Reset_Points(Handle:event, String:event_name[], bool:dontBroadcast) { new client = GetClientOfUserId(GetEventInt(event, "userid")); points[client] = 0; }