#1

When someone register i want he spawn at Unity Station how to change that?
Reply
#2

Код:
public OnPlayerSpawn(playerid)
{
	SetPlayerPos(playerid, x,y,z);
	SetPlayerCameraPos(playerid, x,y,z);
	SetPlayerCameraLookAt(playerid, x,y,z);
	    
    }
	return 1;
}
Change the Cordinates
Reply
#3

Quote:
Originally Posted by rbush12
Посмотреть сообщение
Код:
public OnPlayerSpawn(playerid)
{
	SetPlayerPos(playerid, x,y,z);
	SetPlayerCameraPos(playerid, x,y,z);
	SetPlayerCameraLookAt(playerid, x,y,z);
	    
    }
	return 1;
}
Change the Cordinates
Where in the gamemode i going to put that?
Reply
#4

Below OnGameModeInit (Not Inside of it)
Reply
#5

@raamiix: Like he wrote in his code 'public OnPlayerSpawn'
Check where the SetPlayerPos is already, then change its coords.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)