Jump to content

|Help| Spawning Point.


Allentus

Recommended Posts

Hello people!

I am currently running my Test server,with some small scripts made by me.

So i would like to ask you about a explanation how to create a spawning point so when i join the server or anyone else to be spawned in one location.

I would appreciate every tutorial or already done script from the Community!

Thanks in advance!

P.S;Hope this is the right section :|

Link to comment

local spawnX, spawnY, spawnZ = 1959.55, -1714.46, 10

function joinHandler()

spawnPlayer(source, spawnX, spawnY, spawnZ)

fadeCamera(source, true)

setCameraTarget(source, source)

outputChatBox("Welcome to My Server", source)

end

addEventHandler("onPlayerJoin", getRootElement(), joinHandler)

Edited by Guest
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...