Jump to content

FlaroxFX

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by FlaroxFX

  1. What I need to do to use the debug , im a newcomer
  2. local gate1 = createObject(980, -2131.6999511719, 504.20001220703, 36.799999237061, 0, 0, 270) function Gate1(player) if not getElementData(player,"gater1") == true then setElementData(player,"gater1",true) moveObject(gate1, 3000, -2131.6999511719, 504.20001220703, 31) else if getElementData(player,"gater1") == true then setElementData(player,"gater1",false) moveObject(gate1, 3000, -2131.6999511719, 504.20001220703, 36.799999237061) end end end addCommandHandler ("test", Gate1)
  3. Sorry when any word is wrong , i'm from Germany and I use the Google translater
  4. Okay , I change the position and do all again , but the gate doesnt open , why ?
  5. Okay, now I have tried your script, but the gate can not open anyway
  6. Hey, Today I tried a gate to scripts, the gate was set by the script, but it does not move when I want to move the gate, so when I type the command, Can anyone help me? Here the script: gate = createObject(980, -3117.3000488281, 471, 14.39999961853, 0, 0, 270) function opengate() moveObject(gate, 3000, -3117.3000488281, 471, 8.7) end addCommandHandler("test", opengate) function closegate() moveObject(gate, 3000, -3117.3000488281, 471, 14.39999961853) end addCommandHandler("test1", closegate)start Did I something wrong? Please Help !?!
×
×
  • Create New...