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

Outfits on Players

Magictibiaman

New Member
Joined
May 25, 2009
Messages
371
Reaction score
0
how do i make it so a player had an outfit in an event and can't change his outfit until the event is over or etc...
 
requires tfs 0.3.5
function onOutfit

LUA:
local storage = 4444 --storage that verifies if the player is at the event or not (1 = is in event, 0 = isn't in event)

function onOutfit(cid, old, current)
        if getPlayerStorageValue(cid, storage) ==1 and current.lookType ~= old.lookType then 
            return 1
        end
return true
end
 
Last edited:
Back
Top