Remove connect cam util

This commit is contained in:
Vortrex
2021-02-03 11:58:11 -06:00
parent 859a0b7c72
commit 7aa2eb028c

View File

@@ -1509,13 +1509,6 @@ function getClientChatColour(client) {
// ---------------------------------------------------------------------------
function showConnectCameraToPlayer(client) {
triggerNetworkEvent("ag.connectCamera", client, getServerConfig().connectCameraPosition, getServerConfig().connectCameraLookAt);
//triggerNetworkEvent("ag.showCharacterSelect", client, tempSubAccount.firstName, tempSubAccount.lastName, tempSubAccount.placeOfOrigin, tempSubAccount.dateOfBirth, tempSubAccount.skin);
}
// ---------------------------------------------------------------------------
function initAllClients() {
getClients().forEach(function(client) {
initClient(client);
@@ -1982,4 +1975,11 @@ function checkPlayerPedStates() {
}
}
// -------------------------------------------------------------------------
// -------------------------------------------------------------------------
function showConnectCameraToPlayer(client) {
fadeCamera(client, true, 1);
setPlayerCameraLookAt(client, getServerConfig().connectCameraPosition, getServerConfig().connectCameraLookAt);
}
// ---------------------------------------------------------------------------