• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.
party leader changes his team's outfite and colour

party leader changes his team's outfite and colour Tfs 1.5

No permission to download

abdala ragab

Veteran OT User
Joined
Aug 18, 2018
Messages
570
Solutions
15
Reaction score
427
Location
gamelaots.online
abdala ragab submitted a new resource:

party leader changes his team's outfite and colour - party leader changes his team's outfite and colour

party leader changes his team's outfite and colour
Explanation of the use of party leader !outfit 143, 94, 86, 79, 77

View attachment 85044
Lua:
--Explanation of the use of party leader !outfit 143, 94, 86, 79, 77
local bannedOutfits = {
    [302] = true, -- Addons: 3, 2, 1 Players cannot use it
    [75] = true,  -- Addons: 3, 2, 1 Players cannot use it
    [264] = true,  -- Addons: 3, 2, 1 Players cannot use it
    [266] = true  -- Addons: 3, 2, 1 Players cannot use it
}...

Read more about this resource...
 
Definitely enjoy
Post automatically merged:

cool script, I will use it :D
The script has been modified
i just add
Lua:
for outfitID = 300, 99999999 do
    bannedOutfits[outfitID] = true
end
So that the player cannot use a costume that is not on the server
 
Last edited:
nice!.. u can use condition outfit, and set it off when leave party.. then the members couldnot change the outfit while in party

Lua:
function createIllusion(creature, outfit, time)
    local condition = Condition(CONDITION_OUTFIT, CONDITIONID_COMBAT)
    condition:setOutfit(outfit)
    condition:setTicks(time)
    creature:addCondition(condition)
end
 local setThisOutfit = { ----in this case use get leader outfit
                lookType = 174,
                lookHead = 120,
                lookBody = 100,
                lookLegs = 120,
                lookFeet = 100
            }

createIllusion(player, setThisOutfit, 999 * 60 * 1000)

player:removeCondition(CONDITION_OUTFIT) --to remove outfit condition
edit: thinking here, could be nice, auto copy leader outfit when join in pt, without commands.
 
Last edited:
Back
Top