Jump to content
RAGE Multiplayer Community

Spawn a player correctly


TobseN
 Share

Recommended Posts

  • 2 weeks later...

I am not sure if this solves the camera problem because I didn't had that, I just had the issue that the hud was not appearing.

My solution was just (in JS)

function spawnPlayer(player, position) {
	player.spawn(position;

	// for some reason I had still to set position sometimes to avoid issues and health
	player.position = position;
	player.health = 100;
}

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...