Re: [Needs replicating] Respawning bug

Mike, have you thought about using:


SetPlayerCameraPos(playerid,X,Y,Z);
SetPlayerCameraLookAt(playerid,X,Y,Z);


followed by a little freeze, 10 or so seconds (so the player cannot move around while the camera showcases the location of the next treasure hunt box and also not take any damage while frozen)

I mean, I don't see why you go the extra effort to place the player in class selection or in a dead state while it's showing the hint.

I think the best way would be to just setplayercamera for a few seconds, freezing the player, showcasing the next TH location, and then bringing the camera back for the player and unfreezing them, on a timer.

just my 2 cents, you probably have your reasons as to why you do it the way you do.

example of what i mean in action: (disclaimer, footage captured on a local and non-public server, only used for practice scripts / debugging / proof of concept)
https://www.youtube.com/watch?v=4tbp97WJBZY
There is probably other things under the hood depending on them being placed into a particular state or bad things would happen.