Uladzislau Nikalayevich

Results 19 issues of 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...

enhancement

**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...

enhancement

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:...

enhancement

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]) ```

enhancement

`lua_strlen` looks unnecessary. `lua_tolstring` returns string length in third argument. `lua_tostring` is macro `lua_tolstring(L, (i), NULL)`

bugfix

After #3274 removeAllGameBuildings frees the building pool completely. This allows creating 13000 buildings without SA world. ```lua bool removeAllGameBuildings() bool restoreAllGameBuildings() ```

enhancement

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...

enhancement
feedback

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)

enhancement

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.

bugfix

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) ```