mp.events.add('loginInformationToServer', (usuario, contraseña) => {
activeCam = false;
if (sceneryCamera !== null)
sceneryCamera.setActive(activeCam);
mp.game.cam.renderScriptCams(false, true, 2000, true, false);
mp.events.callRemote('OnPlayerLoginAttempt', usuario, contraseña);
});
Takes 2 transition to return back to your player.