BonSay~^ Posted February 11, 2015 Share Posted February 11, 2015 Hello I was wondering if anyone has an event script that when you type / irevento goes to a teleport done to such a place and when he dies but can not go back and appear in chat who died Link to comment
xXMADEXx Posted February 11, 2015 Share Posted February 11, 2015 You can get it from here, but it'll require some edits. Link to comment
BonSay~^ Posted February 11, 2015 Author Share Posted February 11, 2015 look at this script and very large you could edit it and send me? Link to comment
Banex Posted February 12, 2015 Share Posted February 12, 2015 https://community.multitheftauto.com/in ... ls&id=7784 Link to comment
Ryancit2 Posted February 12, 2015 Share Posted February 12, 2015 If you meant a simple event warps system, here is it i just made: local warpsON = false local eX, eY, eZ = 0, 0, 0 local eDim = 336 function startEvent(plr, cmd, ...) setElementDimension(plr, eDim) eX, eY, eZ = getElementPosition(plr) local msg = table.concat({...}, " ") outputChatBox("Event warps are now open, type /ewarp to get to the location.", root, 0, 200, 0) if (msg) and (#msg >= 2) then outputChatBox("Event Message: "..msg, root, 0, 150, 0) end warpsON = true end addCommandHandler("startevent", startEvent) function warpPlayers(plr) if (not warpsON) then outputChatBox("There is no event in progress right now!", plr, 200, 0, 0) return end spawnPlayer(plr, eX, eY, eZ) setElementDimension(plr, eDim) outputChatBox("Successfully joined Event!", plr, 0, 200, 0) end addCommandHandler("ewarp", warpPlayers) function stopEvent(plr) if (not warpsON) then outputChatBox("There is no event in progress right now!", plr, 200, 0, 0) return end warpsON = false eX, eY, eZ = 0, 0, 0 local eventPlrs = getElementsInDimension("player", 336) for k, v in pairs (eventPlrs) do setElementDimension(v, 336) outputChatBox("Event have been cancelled by "..plr, v, 200, 0, 0) end outputChatBox("Successfully stopped Event!", plr, 0, 200, 0) end addCommandHandler("stopevent", stopEvent) function getElementsInDimension(theType,dimension) local elementsInDimension = { } for key, value in ipairs(getElementsByType(theType)) do if getElementDimension(value)==dimension then table.insert(elementsInDimension,value) end end return elementsInDimension end ^Sever side code + i grabbed getElementsWithinDimension from wiki's useful functions. If that didn't worked or you didn't asked something like that, you may tell me in details, i'll try to remake a basic one again. Link to comment
Walid Posted February 12, 2015 Share Posted February 12, 2015 You can use my event system i create it with prime for CIT server a long time ago. Link to comment
BonSay~^ Posted February 12, 2015 Author Share Posted February 12, 2015 no you're not understanding me I want a script geito I asked not for these things pls panel Link to comment
Banex Posted February 12, 2015 Share Posted February 12, 2015 This is not a forum requests. If you want someone to make this system of events that you want, you will have to contact a paid scripter Link to comment
BonSay~^ Posted February 13, 2015 Author Share Posted February 13, 2015 You can use my event system i create it with prime for CIT server a long time ago. you can send it to me then Link to comment
Banex Posted February 13, 2015 Share Posted February 13, 2015 I am not a paid scripter Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now