mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-01 10:48:52 +00:00
Minor changes
This commit is contained in:
@@ -4,18 +4,17 @@
|
||||
|
||||
### Using [fvm](https://github.com/qlaffont/fvm-installer)
|
||||
```
|
||||
fvm install --save --folder=esx esx-org/skinchanger
|
||||
fvm install --save esx-org/skinchanger
|
||||
```
|
||||
|
||||
### Using Git
|
||||
```
|
||||
cd resources
|
||||
git clone https://github.com/ESX-Org/skinchanger [esx]/skinchanger
|
||||
git clone https://github.com/ESX-Org/skinchanger skinchanger
|
||||
```
|
||||
|
||||
### Manually
|
||||
- Download https://github.com/ESX-Org/skinchanger/archive/master.zip
|
||||
- Put it in the `[esx]` directory
|
||||
|
||||
## Installation
|
||||
- Add this to your `server.cfg`:
|
||||
|
||||
+4
-4
@@ -60,15 +60,15 @@ for i=1, #Components, 1 do
|
||||
Character[Components[i].name] = Components[i].value
|
||||
end
|
||||
|
||||
function LoadDefaultModel(loadMale, cb)
|
||||
function LoadDefaultModel(malePed, cb)
|
||||
|
||||
local playerPed = GetPlayerPed(-1)
|
||||
local characterModel
|
||||
local characterModel
|
||||
|
||||
if loadMale then
|
||||
if malePed then
|
||||
characterModel = GetHashKey('mp_m_freemode_01')
|
||||
else
|
||||
characterModel = GetHashKey('mp_f_freemode_01');
|
||||
characterModel = GetHashKey('mp_f_freemode_01')
|
||||
end
|
||||
|
||||
RequestModel(characterModel)
|
||||
|
||||
Reference in New Issue
Block a user