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

(Movement)

homarwh

Just a Milan fan.
Joined
Dec 29, 2012
Messages
93
Reaction score
2
Location
Mexico
I need this:

When player enter on teleport this auto-joins a guild and give this a new outfit that doesnt can change

Code:
local outfit = {lookType = 267, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0}

function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
    if(not isPlayer(cid)) then
        return true
    end

    local pos, newPos = getCreaturePosition(cid), {x = EDIT, y = EDIT, z = EDIT}
    doSetCreatureOutfit(cid, outfit, -1)
    doTeleportThing(cid, newPos)
    doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You are now swimming.")
    doSendMagicEffect(newPos, CONST_ME_WATERSPLASH)

    return true
end

Thank you all.
 
Is it working or not? i mean if you enter the tp is it give you the addon? if it is then try to change config.lua
Code:
 allowChangeOutfit = true < Change to FALSE
allowChangeColors = true < Change to FALSE
allowChangeAddons = true < Change to FALSE
 
Back
Top