local config =
{
[0] = {35, 35},
[1] = {130,145},
[2] = {144,133},
[3] = {129,152},
[4] = {131,134}
}
function onLogin(cid)
local outfit = getCreatureOutfit(cid)
if getPlayerSex(cid) == 0 then
outfit.lookType = config[getPlayerVocation(cid)][1]
else
outfit.lookType = config[getPlayerVocation(cid)][2]
end
doCreatureChangeOutfit(cid, outfit)
return true
end
- Once your problem is resolved, please MARK SOLUTION AS "BEST ANSWER".
Read more in the announcement.
no effect..You can use this to change outfit depending on vocation id/gender
What is super saiyan? Do you read your warnings?LUA:local config = { [0] = {35, 35}, [1] = {130,145}, [2] = {144,133}, [3] = {129,152}, [4] = {131,134} } function onLogin(cid) local outfit = getCreatureOutfit(cid) if getPlayerSex(cid) == 0 then outfit.lookType = config[getPlayerVocation(cid)][1] else outfit.lookType = config[getPlayerVocation(cid)][2] end doCreatureChangeOutfit(cid, outfit) return true end
Again read Support board rules before posting a thread.
![]()
Rules for the Support board
Rules for the Support board We ask you follow these rules and policies exactly as presented below. If you want to read the general rules for this forum (OTLand) you can find them here. The purpose of these rules is to keep a certain level of civility and order so that people have an easier...otland.net
and learn to mark your thread as solved when your issue is solved.
11. Marking "Best Answer"

