Jump to content

"Unspawn" player


andrius

Recommended Posts

  • Moderators
4 hours ago, andrius said:

unspawn

Fade the camera to black.

https://wiki.multitheftauto.com/wiki/FadeCamera

Move the player out of the area. 0, 0, -10

https://wiki.multitheftauto.com/wiki/SetElementPosition

 

And if the resource you use allows it, a dead player is a good default. (Be aware that you might have to modify the resource killmessages,  to not show any death messages when a player despawns)

https://wiki.multitheftauto.com/wiki/KillPed

 

De-attach the camera to another position. Recommend far away from the player. 0, 0,  10000 This will make sure no unwanted player events will be triggered.

https://wiki.multitheftauto.com/wiki/SetCameraMatrix

 

Edited by IIYAMA
  • Thanks 1
Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...