Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local LSPD_Tor = createObject(980,1587.8000488281,-1637.9000244141,15.199999809265,0,0,0)
- local LSPD_Status = "zu"
- function toroffnen_lspd ( player )
- local spielername = getPlayerName(player)
- if spielername == "Soner" then
- if LSPD_Status == "zu" then -- Wenn Das Tor zu ist
- moveObject(LSPD_Tor,2000,1587.8000488281,-1637.9000244141,7.199999809265)
- LSPD_Status = "offen"
- else
- moveObject(LSPD_Tor,2000,1587.8000488281,-1637.9000244141,15.199999809265)
- LSPD_Status = "zu"
- end
- else
- outputChatBox("Du hast keine Berechtigung",player,255,0,0)
- end
- end
- addCommandHandler("lspd",toroffnen_lspd)
Advertisement
Add Comment
Please, Sign In to add comment