local STORAGE = 130301
local ACTIVATION_VALUE = 1
local femaleOutfits = {136, 137}
local maleOutfits = {128, 129}
function onLogin(cid)
if getPlayerStorageValue(cid, STORAGE) == ACTIVATION_VALUE then
if getPlayerSex(cid) == 0 then
for i,_ in ipairs(femaleOutfits) do
doPlayerAddOutfit(cid, i, 3)
end
elseif getPlayerSex(cid) == 1 then
for i,_ in ipairs(maleOutfits) do
doPlayerAddOutfit(cid, i, 3)
end
else
return FALSE
end
doSetPlayerStorageValue(cid, STORAGE, ACTIVATION_VALUE + 1)
end
return TRUE
end