# Get Num Mineral Spots

Grammar — Get the number of mineral locations in town town for player player
FlagsNative | Function

Returns number of mineral locations in a town for a player.

# Arguments

  • int — Player
  • int — Town

Returns — int

native int AIGetMineralNumSpots(int player, int town);

Category: AI Advanced / Towns / Functions

# Examples

— None found —