Page 1 of 1

PlayerSpawn

Posted: October 29th, 2018, 9:04 am
by SamyrCastello
How do I change the spawn of all players?

Re: PlayerSpawn

Posted: October 29th, 2018, 8:45 pm
by Armelin
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")