Jump to content

lJames

Members
  • Posts

    10
  • Joined

  • Last visited

Details

  • Location
    Spain.

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

lJames's Achievements

Member

Member (5/54)

0

Reputation

  1. Meta: No, it does start in the correct dimesion.
  2. Hi, i have a hosted server, and when I try to start a map (as a resource), appears the following message: start: Resource 'MAP-NAME' start was requested () And the map doesn't start. Anyone could help me?
  3. I edited some things, and it worked. ¡Thanks! I leave here the definitive script, so someone who wants the same thing can obtain it. puerta = createObject (971, -2136.599609375, 208.599609375, 37.898998260498, 0, 0, 270) local open = false function movePuerta (player) if not open then moveObject(puerta, 5000, -2136.6000976563, 208.60000610352, 29) open = true else if open then moveObject(puerta, 5000, -2136.599609375, 208.599609375, 37.898998260498) end end end addCommandHandler("james", movePuerta)
  4. It worked, thanks. There's a way I can write /james, the door moves, and then, whenever I want, /james again so the gate closes?
  5. Hi, i'm new and very noob in all this scripting thing, but I want to learn, at least, basic things. I tried to create myself a script to open/close a gate, which is the following. puerta = createObject (971, -2136.599609375, 208.599609375, 38, 0, 0, 270) function abrirPuerta(player) moveObject (puerta, 5000, -2136.6000976563, 208.60000610352, 29) end addCommandHandler ("james", abrirPuerta) function cerrarPuerta(player) moveObject (puerta, 5000, -2136.599609375, 208.599609375, 38) end addCommandHandler ("james2", cerrarPuerta) I know it's very very simple, but it's the best I can do. The thing is, I want to make that door open and close with the same command. I think I have to use an if, but I'm not sure how to do it. If someone could help me, I'd appreciate it.[/i]
×
×
  • Create New...