mtasa-blue
mtasa-blue copied to clipboard
Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
Originally made for #2129. Adds `std::string_view` support to `SFixedString` + a 2 `Assign` functions: - `Assign` - assigns a `string_view` or `const char*` value - `AssignAtMost` - same as above,...
Moved all our custom userdata push stuff from `LuaCommon` to `lua::`. Eventually all `lua_push` should be replaced with `lua::Push` for code consistency reasons. I originally didn't want to do the...
Refactor `CLuaVehicleDefs` server side to use new parser only. (Except `createVehicle`) Also, moved all functions to be static in the source file, instead of being part of the class, this...
### Describe the bug ```lua addEventHandler('onVehicleDamage', root, function(loss) print(loss, source.health) end) ``` Vehicle health sometimes returns the old health not the updated health with the loss. Also, this event behaves...
This PR attempt to implement some additional roped related feature in CObjects: - `0796: GET_ROPE_HEIGHT_FOR_OBJECT` - [Object](https://library.sannybuilder.com/#/sa/classes/Object).GetRopeHeight(self: Object, var height: float) - `0797: SET_ROPE_HEIGHT_FOR_OBJECT` - [Object](https://library.sannybuilder.com/#/sa/classes/Object).SetRopeHeight(self: Object, height: float) working...
### Is your feature request related to a problem? Please describe. So If i createObject with ID: 1382 which there is a working magnet in it, when It hits object...
This closes #2654. Maybe this PR should also block using a value argument larger than ``2147483647``, but we already had overflowing values with this function.
### Is your feature request related to a problem? Please describe. ``setPlayerMoney`` clientside is not capped to an arbitrary value like ``99999999``, it lets you use all the values of...
Adds all the missing model ids and names. ids and names come from .ide files
### Describe the bug Server browser search input sometimes disappear. ### Steps to reproduce ? ### Version _No response_ ### Additional context  Screenshot showing server browser lacking search input....