can someone help me menu

Shout-Out

User Tag List

Results 1 to 3 of 3
  1. #1
    donstrijb999's Avatar Private
    Reputation
    1
    Join Date
    Nov 2009
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    can someone help me

    who can make me arcemu prison command in lua that ports a player to a prison location and put them in a time out

    can someone help me
  2. #2
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Something like this:

    Code:
    local command = "#jail"
    
    local map = 1
    local x = 0
    local y = 0
    local z = 0
    
    function ReloadEngine_ChatHook(event, player, message, type, language)
        if(message == command) then
            if player:IsGm() == true then
            local plr = player:GetTarget()
                if plr == nil then
                player:SendBroadcastMessage("You have no target.")
                player:SendAreaTriggerMessage("You have no target.")
                else
                    plr:SetPlayerLock(1)
                    local name = plr:GetName()
                    local aname = player:GetName()
                    plr:SendBroadcastMessage("You have been jailed by "..aname..".")
                    plr:SendAreaTriggerMessage("You have been jailed by "..aname..".")
                    plr:Teleport(map,x,y,z)
                    player:SendAreaTriggerMessage("Player "..name.." has been jailed.")
                    player:SendBroadcastMessage("Player "..name.." has been jailed.")
                    plr = nil
                    else
                    player:SendAreaTriggerMessage("You do not have permission to use this.")
                    player:SendBroadcastMessage("You do not have permission to use this.")
                    end
                end
            end
        end
    end
    
    RegisterServerHook(16, "ReloadEngine_ChatHook")

  3. #3
    Wethers's Avatar Member
    Reputation
    1
    Join Date
    Jul 2009
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There is no point Putting a time out is pointless cant they just hearth back?

Similar Threads

  1. Can someone help plz
    By sabotage3d in forum World of Warcraft General
    Replies: 0
    Last Post: 03-09-2007, 02:50 PM
  2. can someone help plzz
    By Troys in forum World of Warcraft General
    Replies: 2
    Last Post: 03-05-2007, 11:51 PM
  3. Can someone help me with helm fix?
    By qqqaaazzz in forum WoW ME Questions and Requests
    Replies: 5
    Last Post: 01-29-2007, 01:57 AM
  4. Can someone help me get onto a WoW private server?
    By hyacary in forum Gaming Chat
    Replies: 1
    Last Post: 01-25-2007, 03:14 PM
  5. can someone help a noob?
    By jon31592 in forum World of Warcraft General
    Replies: 2
    Last Post: 01-21-2007, 04:49 PM
All times are GMT -5. The time now is 06:44 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search