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

GlobalEvent Outfit Lock?

-.Savage.-

New Member
Joined
Jul 2, 2008
Messages
32
Reaction score
2
well I didn't know what to name it lol
but i have a rpg server and i need a script
so when u enter the teleport it changes your
outfit to all black and doesnt let you change it until
you leave the exit teleport and so if your outfit
is the same color as another player you cant attack them.

iduno if this is globalevents or but i drank alot of coffe
and now i want this script really bad so please SOMEONE
help me or help me lol
 
ops! forget a thing..

Lua:
local config = 
{
pos = {x=283, y=214, z=10}, 
outfit = {lookType = 266, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0} 
}


function onStepIn(cid, item, position, fromPosition)
    if isPlayer == TRUE then
	doTeleportThing(cid, config.pos)
	doCreatureChangeOutfit(cid, config.outfit)
    else 
        doTeleportThing(cid, fromPosition)
    end
   return TRUE
end
here you've the script that change your outfit to black, i'll make them all after, 'cause i can't make them now.

=P
 
Last edited:
Back
Top