Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x1,y1,z1=2705.8994140625,-2405.099609375,16.39999961853
- gate1=createObject(2990,x1,y1,z1,0,0,270)
- colisionsph= createColSphere(x1,y1,z1, 5.0 )
- function gate()
- z3=z1+4
- moveObject (gate1, 4000,x1,y1,z3)
- -- Hier wil ik de "sleep"
- moveObject (gate1, 2000,x1,y1,z1)
- end
- function spawn()
- TeamLess=createTeam(TeamLess,0,300,0)
- spawnPlayer(source,2791,-2456,14)
- fadeCamera(source,true)
- setCameraTarget(source,source)
- outputChatBox("NanoBob's testserver", source)
- outputChatBox("Type /login [PASSWORD] to login or /register[PASSWORD] to register")
- giveWeapon(source,31,4000)
- setPlayerTeam(source,TeamLess)
- end
- theZone=colisionsph
- addEventHandler("onPlayerJoin", getRootElement(),spawn)
- addEventHandler("onColShapeHit",theZone, gate)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement