Advertisement
NanoBob

first gate attemp 4

May 10th, 2013
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.65 KB | None | 0 0
  1. xd,yd,zd,rd,rd2,rd3=309.99099731445,1989.1999511719,17.55,270,0,0
  2. dzone= createColSphere(xd,yd,zd,5.0)
  3. function d()
  4.     d=createObject(323,xd,yd,zd,rd,rd2,rd3)
  5.     moveObject (d,750,xd,1989.3,zd,270)
  6.     -- hier wil ik een pauze
  7.     moveObject(d,750,xd,yd,zd,270)
  8. end
  9. function t()
  10.     setTimer(d,1.5,0)
  11. end
  12. function spawn()
  13.     spawnPlayer(source,305,1989,18)
  14.     fadeCamera(source,true)
  15.     setCameraTarget(source,source)
  16.     outputChatBox("NanoBob's testserver", source)
  17.     outputChatBox("Type /login [PASSWORD] to login or /register[PASSWORD] to register")
  18. end
  19. theZone=dzone
  20. addEventHandler("onPlayerJoin", getRootElement(),spawn)
  21. addEventHandler("onColShapeHit",theZone,t)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement