PlayerSpawn

Need advices or help troubleshooting? Ask for help here.
Post Reply
SamyrCastello
Posts: 21
Joined: January 21st, 2018, 12:55 am

PlayerSpawn

Post by SamyrCastello » October 29th, 2018, 9:04 am

How do I change the spawn of all players?

Armelin

Re: PlayerSpawn

Post by Armelin » October 29th, 2018, 8:45 pm

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 1 guest