Skip to Content
Mavix

Golf

Buy a golf kit and hit long drives at the Los Santos Golf Club.

What it is

Buy a golf kit from the golf pro, pick a flag and swing. Your longest drive is saved and shown on the golf leaderboard.

The golf leaderboard: the longest drive of each golfer.
The golf leaderboard: the longest drive of each golfer.

How it works

Buy and open a kit

Third eye on the golf pro → Buy a golf kit ($350). Use the kit in your inventory: you get 10 golf balls and a golf club. Make sure you have room in your inventory.

Pick a flag

Walk to one of the 9 flags and press E Select flag.

Put a ball down and hit

Use a golf ball from your inventory, then press E at the ball. Aim, then hold E for power and let go. Your distance shows when the ball stops.

Keys & commands

Key / commandWhat it doesWho
A / DAimGolfer
RChange club (wood, iron, wedge, putter)Golfer
1 / 2Flag camera / top cameraGolfer
Hold EPower, let go to hitGolfer
GPick the ball back upGolfer
/golftopTop 20 longest drives on your screenEveryone
/golfboard / /golfboard removePlace or remove a wall leaderboardAdmins

Config options

File: mvx_activities/modules/golf/config.lua.

OptionWhat it changesExample
Config.Kit.priceGolf kit price350
Config.Kit.balls.countBalls in one kit10
Config.NeedClubWeaponMust hold the club to playfalse
Config.EnableWindForceWind moves the ballfalse
Config.Host.coordsWhere the golf pro standsvector4(-1348.46, 142.62, 56.44, 133.31)

Admin Quick Test

Setup

  1. Give yourself cash: /giveaccountmoney me money 500. To skip the shop: /giveitem me golf_kit 1, or straight /giveitem me golf 5. No job or licence is needed, and you do not have to hold the club.

Teleport

  1. Go to the golf pro: /tp -1348.46 142.62 56.44 (or Admin tablet HOME → World → Teleport with -1348.46, 142.62, 56.44). You should see him and the "Golf club" blip.

Buy and open the kit

  1. Third eye on the golf pro → Buy a golf kit → Pay cash. $350 leaves your cash and a Golf Kit (golf_kit) is in your inventory.
  2. Use the Golf Kit. It is swapped for 10 Golf ball (golf) and a golf club (WEAPON_GOLFCLUB).

Pick a flag

  1. Go to the nearest flag: /tp -1322.07 158.77 56.69. 3D text shows E Select flag. Press it; the flag gets a bigger blip.

Hit

  1. Walk a little away from the flag and use a golf ball from your inventory. A white ball is placed; 3D text shows E Play ball and G Pick up ball.
  2. Press E. The golf card shows your club and the distance to the flag. A / D aim, R changes club.
  3. Hold E to fill the power bar and let go. The ball flies.

The end

  1. When the ball stops you see the distance; a better drive says "New record". Type /golftop: your drive is on the list (top 20). You used 1 golf ball.

If it doesn't work: "You have no room for the balls and the club" means your inventory is too full to open the kit. Drives over 350 metres are not saved. No Select flag text means you are not close enough to the flag.

On this page