Uladzislau Nikalayevich
Uladzislau Nikalayevich
Fixes #2427 ```lua -- Get all allocated models table getAllocatedModels([string modelType]) -- Get free id's list table getFreeModels() -- Allocate model bool allocateModelFromParent(number parentId) -- Unload model, works for custom...
**API:** ```lua bool engineSetModelFlags( int modelID, int flags [, bool bIdeFlags] ) int engineGetModelFlags( int modelID ) bool engineResetModelFlags( int modelID ) bool engineGetModelFlag( int modelID, string flagName ) bool...
Effekseer is a particle effect editing tool. It can be added to have rich effects in MTA. Effekseer includes material editor and effect editor. Demo with free samples: https://youtu.be/Qk2xIfkzEfw Pros:...
Fixes #450, #2755, #1921 API: ``` element-building createBuilding(number modelId, float x, float, y, float z, float rx, float ry, float rz [, number interior = 0]) ```
`lua_strlen` looks unnecessary. `lua_tolstring` returns string length in third argument. `lua_tostring` is macro `lua_tolstring(L, (i), NULL)`
After #3274 removeAllGameBuildings frees the building pool completely. This allows creating 13000 buildings without SA world. ```lua bool removeAllGameBuildings() bool restoreAllGameBuildings() ```
Hi, everybody. It's a old feature, that provide vehicle audio settings interface. ```lua -- All functions are clinet-side setVehicleModelAudioSetting( number modelID, eVehicleSoundSetting parameter, var value ) getVehicleModelAudioSetting( number modelID, eVehicleSoundSetting...
Added LOD support for buildings. Updated functions: * [getLowLODElement](https://wiki.multitheftauto.com/wiki/GetLowLODElement) * [setLowLODElement](https://wiki.multitheftauto.com/wiki/SetLowLODElement) * [isElementLowLOD](https://wiki.multitheftauto.com/wiki/IsElementLowLOD)
Fixes #3062 Old behavior: IMG file remains locked for two frames after img:destroy(). New behavior: IMG file removes lock after img:detroy call imedeatly.
After #3330 and #3275 The set function is implemented for building pool only. ``` number engineGetPoolCapacity(enum pool) number engineGetPoolDefaultCapacity(enum pool) number engineGetPoolUsedCapacity(enum pool) boolean engineSetPoolCapacity('building', number newSize) ```