PlayerSpawn

Need advices or help troubleshooting? Ask for help here.
Post Reply
SamyrCastello
Posts: 17
Joined: Sun Jan 21, 2018 6:55 am

PlayerSpawn

Post by SamyrCastello » Mon Oct 29, 2018 2:04 pm

How do I change the spawn of all players?

Armelin
Posts: 21
Joined: Sun Jul 30, 2017 4:28 am

Re: PlayerSpawn

Post by Armelin » Tue Oct 30, 2018 1:45 am

The spawn position is set individually as demonstrated in the Wiki. Later on the RE-SPAWN position can be updated using the setPlayerRespawnPos function.

Code: Select all

function playerSpawnCredentials(playerid)
	spawnPlayer(playerid,  x, y, z)
end
registerEvent("playerSpawnCredentials", "onPlayerCredential")

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests