Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gate1=
- x1,y1,z1 = getElementPosition (gate1)
- colisionsph = createColSphere ( x1, y1, Z1, 5.0 )
- function gate()
- z3=z1+3
- MoveObject (gate1,3000, x1,y1,z3)
- sleep(5)
- 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
- addEventHandler("onPlayerJoin", getRootElement(),spawn)
- addEventHandler ( "onColShapeHit",colisionsph(),gate)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement