Description
Lua Flats Challenge
###########################
Flats a Mini-game in Lua
###########################
A simple game of shooting tires for $$.
- $100 each tire
- $1000 all four
- Ped must be alive in car for flat to count
- Cars must be on the same street as player, no sniping
- Car will explode if you shoot out all four tires
- Simple UI to ease game play with single key start/stop
- Sound with score tally and payout
- Wanted level still rises so you should be sneaky in your approach
To Play
[F8] To start Flats mini-game
Installation
- Install Script Hook (assumed location)
- Install the LUA script plugin for Scripthook (assumed location)
- Download the flatsMiniGame file
- Put the flatsMiniGame.lua file in your \Grand Theft Auto V\scripts\addins folder.
- Text will appear over the mini-map when installed correctly
Background
This mod is something I created while learning Lua and GTA V modding. This is a work in progress, I welcome your testing and ideas. I am learning a lot by building this and welcome suggestions, code changes and improvements.
A big thanks to ZyDevs for all the help and support providing direction how to start with example code hints.
Known Issues
- There is a known delay of receiving reward after shooting tire. Some of this has to do with cars leaving the radius before being counted.
- Four-wheel drive cars and motor cycles are not counted
- Wanted level still rises, suggested using this with the Trainer to avoid police. will fix this next release.
- Sound sucks
Future features/improvements
- Would like to figure out how to track bullet impacts to improve performance and open new features and game modes.
- Levels and timer
- Remove wanted level and add new abilities
- Better sound and effects. Looking for game sound hash list if anyone has one
Share and learn
I am new to Lua and GTA modding. Any suggestions on performance, or code improvements are welcome.
First Upload: November 12, 2024 Last Updated: November 12, 2024
0 Comments
Join the conversation! Log In or register for an account to be able to comment.