• 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!

[QUESTION]]DBOROX how i can set outfit for vocation id and etc

legadoss

New Member
Joined
Jun 1, 2014
Messages
142
Reaction score
4
hello, how i can change outfit for vocation id=2 etc?
and how i can active super saiyan etc?
someone have few minutes for answer and help to understand how it work?
 
You can use this to change outfit depending on vocation id/gender
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
What is super saiyan? Do you read your warnings?
Again read Support board rules before posting a thread.

and learn to mark your thread as solved when your issue is solved.
11. Marking "Best Answer"
- Once your problem is resolved, please MARK SOLUTION AS "BEST ANSWER".
Read more in the announcement.
 
You can use this to change outfit depending on vocation id/gender
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
What is super saiyan? Do you read your warnings?
Again read Support board rules before posting a thread.

and learn to mark your thread as solved when your issue is solved.
11. Marking "Best Answer"
no effect..
Screen Shot 09-25-19 at 01.18 PM.PNG
i mean this effect work permamenlty.
and i mean this issue on "Request"
Screen Shot 09-25-19 at 01.19 PM.PNG

effect work only when i say transform, i want it work for xx time when mana >= 5000 or something like this.
so if player have to low mana then this effect is ended.

my english not good so sorry.
 
Back
Top