# Set Objective Players

Grammar — Set objective players to players
FlagsNative | Action

Makes the specified objective visible to the specified player group and only the specified player group. If the objective was previously visible to a player that is outside this group, it will now become hidden for that player.

# Arguments

  • int<objective> — Objective
  • playergroup — Players

Returns — void

native void ObjectiveSetPlayerGroup(
	int inObjective,
	playergroup inPlayers,
);

Category: Objective / Advanced

# Examples

— None found —