• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Start Outfit for female? Gesior

Nevalopo

Demigod
Joined
Jul 21, 2008
Messages
5,165
Reaction score
68
Location
Sweden, Landskrona
Hello. I wonder how to change the start outfit for females. The male i just change outfit on the samples but when they make female the spawn as normal green model. Anyone way to change female starter colours?
 
what now? i know gesior has nothing to do with db but he knows what i mean

Edit the samples?... The samples are male... And i already edited the colours for male -.- If i change them to female then the males will be fucked up.. Any other ideas?

edit the php script ;S

What file? I can't seem to find it... It seems to read from the samples but they are male so i donnu.. lol
 
lol haha,

Go php admin shiti

youre database

Players;Knight Sampel ((change outfit in the colum)

and then the others paladin, druid, sorcs, knights

rep++
rachaw
 
LUA:
<event type="login" name="Outfit" script="sampleoutfit.lua"/>

sampleoutfit.lua
LUA:
local outfits = {
        [0] = {lookType = 266, lookHead = 114 , lookBody = 18, lookLegs = 94, lookFeet = 0, lookTypeEx = 0, lookAddons = 0},
        [1] = {lookType = 75, lookHead = 114 , lookBody = 18, lookLegs = 94, lookFeet = 0, lookTypeEx = 0, lookAddons = 0}
}

function onLogin(cid)
       local STORAGE = 18292
       if getPlayerStorageValue(cid, STORAGE) ~= 1 then
            doCreatureChangeOutfit(cid, outfits[getPlayerSex(cid)])
            setPlayerStorageValue(cid, STORAGE, 1)
       end
       return true
end

edit it how u like it

rep++
 
LUA:
<event type="login" name="Outfit" script="sampleoutfit.lua"/>

sampleoutfit.lua
LUA:
local outfits = {
        [0] = {lookType = 266, lookHead = 114 , lookBody = 18, lookLegs = 94, lookFeet = 0, lookTypeEx = 0, lookAddons = 0},
        [1] = {lookType = 75, lookHead = 114 , lookBody = 18, lookLegs = 94, lookFeet = 0, lookTypeEx = 0, lookAddons = 0}
}

function onLogin(cid)
       local STORAGE = 18292
       if getPlayerStorageValue(cid, STORAGE) ~= 1 then
            doCreatureChangeOutfit(cid, outfits[getPlayerSex(cid)])
            setPlayerStorageValue(cid, STORAGE, 1)
       end
       return true
end

edit it how u like it

rep++

Works perfectly :D Can't rep you yet tho... Need to spread some around :) Will rep as soon as i can. Thanks agian :D
 
Back
Top