HideComponents stores the value GetHudComponentSize returns and reads back size.x and size.z when restoring, but the meaningful fields are x and y - the hide branch a few lines above tests exactly those. size.z is 0.0, so the components are restored at height zero and stay invisible for the rest of the session. Measured on artifact 25770 after character selection, components 11 and 12: before: x=0.218 y=0.000 (width restored, height lost) after: x=0.218 y=0.389
[ESX] Multi-Character
Discord - Website - Documentation
A Simplistic system, that allows Players to have multiple Characters, which can be customised for all player with Config.Slots or personally set a players character count using setslots, remslots, enablechar and disablechar Commands :)
Notes
- Characters are stored in the users table as
char#:license - Character deletion does not require manual entries for the tables to remove
Kashacters
- This project is forked from the Kashacters resource
- Most of the code has been entirely rewritten
- KASH has given permission for this resource to use his code and the addition of a license
- The license obviously does not apply to previous versions and KASH has stated his resource is free to be used however
Legal Notices |
|
Official Multi-Character system for ESX Legacy
Copyright © 2022-2024 Linden, ESX-Framework and KASH This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses. |
