OneTallor

Untitled

Aug 8th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.51 KB | None | 0 0
  1. function seatBelt()
  2.      if (steat) then
  3.          getLocalPlayer():setData("seatBelt",true)
  4.          toggleControl("enter_exit",false)
  5.          steat = false
  6.          if isElement(Sound) then
  7.              destroyElement(Sound)
  8.          end
  9.      elseif (not steat) then
  10.          getLocalPlayer():setData("seatBelt",false)
  11.          toggleControl("enter_exit",true)
  12.          steat = true
  13.      end
  14.  end
  15.  bindKey("F5","down",seatBelt)
  16.  function Info ()
  17.      if (getLocalPlayer():getData("seatBelt")) then
  18.          -- egy export a LocalsendMe-re, hogy ki/beköti az övét
  19.      end
Add Comment
Please, Sign In to add comment