Nevalopo
Demigod
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?
????????????lol just edit the samples in your db if you are using gesior
what now? i know gesior has nothing to do with db but he knows what i mean
edit the php script ;S
At database go to your samples and change1=male and 2=female I thinkCode:sex=1
rep me++
Change their outfit with a GM
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
At database go to your samples and change1=male and 2=female I thinkCode:sex=1
rep me++
<event type="login" name="Outfit" script="sampleoutfit.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
Fail !![]()
![]()
![]()
1 male 2 female
![]()
![]()
![]()
At database go to your samples and change1=male and 2=female I thinkCode:sex=1
rep me++
:ninja:retards?Why fail? It's corrrect lol..
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 perfectlyCan't rep you yet tho... Need to spread some around
Will rep as soon as i can. Thanks agian
![]()