Jump to content

SAbJaN

Members
  • Posts

    59
  • Joined

  • Last visited

Everything posted by SAbJaN

  1. Bumped an old thread, yes. I think head means like to add a command like /addadmin [iD] [LVL] So like
  2. SAbJaN

    AusRoleplay

    Hey guys, I'm currently working on a roleplay script, and I have created my forum, and users can browse on the getting updates until I have successfully finished the script, I'm hiring scripters for in return Adminstrator on the server, and forum, And I don't know anything about scripting. Well.. Lua scripting anyway. LINK: http://www.gaming.gamefeint.com/ Sign up there, and get updates on AusRoleplay.
  3. SAbJaN

    Parse help.

    Hey MTA Forums, I was wondering about the meta.xml file, and I'm asking how to add a folder to the xml <include file "filename: /> Please help
  4. Okay yeah, I have a little bit of an idea./ So I'd do this [color=#0000FF]addCommandHandler[/color][color=#00BF40]([/color][color=#FF0000]"ticket" (I don't know if ticket Player or..?[/color], (What goes here to take money with an output shown to everyone) )
  5. Hey I try use this command and it dont work.. Is it correct? CLIENT SIDE function destroy(source, cmd) local px, py, pz = getElementPosition(getLocalPlayer()) local rx, ry, rz = getElementRotation(getLocalPlayer()) local tz, ty = getPointFromDistanceRotation(x, y, 2, rz) local hit, hitX, hitY, hitZ, hitlineElement, normalX, normalY, normalZ = processLineOfSight(px, py, pz, tx, ty, pz+5, true, true, false, true, false, true, false, true, getLocalPlayer()) if isElement(hitlineElement) then if getElementModel(hitlineElement) == 979 then triggerServerEvent ("destroyRoadblock", getLocalPlayer(), hitlineElement ) end end end addCommandHandler("destroyroadblock", destroy) function getPointFromDistanceRotation(x, y, dist, angle) local a = math.rad(90 - angle); local dx = math.cos(a) * dist; local dy = math.sin(a) * dist; return x+dx, y+dy; end Serverside addEvent("destroyRoadblock", true) function destroyRoadblock() destroyElement(roadblock) end addEventHandler("destroyRoadblock", root, destroyRoadblock)
  6. What would I use in the command handler if say I wanted to Make a ticket system for PD, AddCommand What?
  7. Hey guys, I am trying to create my own Role play server, And I was wondering if you can give me commands for factions, so like If you're in the LSPD, You would use /gate to open the LSPD Barrier and Garage. I just need some commands, Not all but the ones I mainly need them for is for LSPD and LSMFD (Medical and Fire Team). If you can do this it will be kindly appreciated. Regards, Matt
  8. The title says it all, Im trying to setup a new RPG server, but I can't find where to download or how to setup the rpg file itself.. please help?
×
×
  • Create New...