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


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

How do I change the spawn of all players?


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)
registerEvent("playerSpawnCredentials", "onPlayerCredential")

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest