This repository has been archived by the owner on Nov 19, 2022. It is now read-only.
Releases: drakeee/altv-lua-module
Releases · drakeee/altv-lua-module
Release client/1.0.10.50-dev
Client:
- Add toggleGameControls and showCursor functions
- Fixed a problem when passing a string to natives
Release server/1.0.9.50-dev
Server:
- Rename isEntityInStreamingRange to isEntityInStreamRange
- Remove debugging messages from
setPosition
andgetPosition
Client:
- Add
localPlayer
as global variable
Shared:
- Rename WorldObject's position property to pos
- Rename Entity's rotation property to rot
Release client/1.0.9.50-dev
Server:
- Rename isEntityInStreamingRange to isEntityInStreamRange
- Remove debugging messages from
setPosition
andgetPosition
Client:
- Add
localPlayer
as global variable
Shared:
- Rename WorldObject's position property to pos
- Rename Entity's rotation property to rot
Release server/1.0.8-dev
Server:
- Added isEntityInStreamingRange, setClothes, getClothes function to Player class
- Fixed an issue when calling an exported function from another resource
Client:
- Add custom require function to be able to load scripts
Shared:
- Fixed RGBA class broken methods
- You can now pass functions as an argument in exported functions
Release client/1.0.8-dev
Server:
- Added isEntityInStreamingRange, setClothes, getClothes function to Player class
- Fixed an issue when calling an exported function from another resource
Client:
- Add custom require function to be able to load scripts
Shared:
- Fixed RGBA class broken methods
- You can now pass functions as an argument in exported functions
Release server/1.0.4.50-dev
Fix CI #6
Release client/1.0.4.50-dev
Quickly update the SDK version to 50
Release client/1.0.3.49-dev
Fix CI #5
Release release/0.4.5-release
Change version to release.
Release dev/0.4.5-dev
- Refactored class inheritance.
- Vehicles, Blips, VoiceChannels, Colshapes and Checkpoints now are binded to resource, and whenever you stop a resource it will delete binded objects automatically.
- Add capability to hold datas inside userdatas. i.e:
local vehicle = alt.Vehicle(0xB8081009, 0, 0, 72, 0, 0, 0)
vehicle.tableData = {}
vehicle.tableData.testBool = false
vehicle.tableData.testNumber = 100.02478
vehicle.tableData.testString = "Lorem ipsum dolor sit amet"
vehicle.isData = true
vehicle.customVariable = 421.232
print(inspect(vehicle.tableData))
print(vehicle.isData)
print(vehicle.customVariable)
Output:
{
testBool = false,
testNumber = 100.02478,
testString = "Lorem ipsum dolor sit amet"
}
true
421.232