# Set Player Spray

Grammar — Set Player player’s spray index to spray.
FlagsNative | Action

Sets the mount of the specified player.

# Arguments

  • int — Player
  • int — Index
  • string [ gamelink::Spray ] — Spray

Returns — void

native void PlayerSetSpray(
	int player,
	int index,
	string spray,
);

Category: Player / Player Settings

# Examples

# mods/heroesdata.stormmod

GameLib.galaxy

// L7694
PlayerSetSpray(lv_itPlayer, lv_sprayLink)
// L7926
PlayerSetSpray(lp_choosingPlayer, lv_sprayLink)