Minor changes

This commit is contained in:
ElPumpo
2018-06-06 19:38:55 +02:00
parent 345091c57a
commit 6820d4cee6
2 changed files with 6 additions and 7 deletions
+4 -4
View File
@@ -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)