I'm looking for a way to get the current origin of the player (just one, for solo) as I need origins for different perks. But honestly I'm clueless how to do. I got this:
I'm using it as a level thread but now my map just crashes (it gives no error, it stays on loading screen and load image will stop animating as soon as I left click after a certain amount of seconds.
origin? Grab the entity using whatever method and use either ent.origin or ent GetOrigin();
With origin I mean the location yes. But I just want the location of your player, so I can stand on the position I want the perk to be, so I can the origin to spawn the model.
Your map shouldn't crash with a level thread. Put the level thread under main. Also put it in a while function so it keeps printing your current location.
Your map shouldn't crash with a level thread. Put the level thread under main. Also put it in a while function so it keeps printing your current location.