Awaiting scripts fivem ошибка

Cfx.re Community

Loading

Hi guys, I fixed it by writing this:
RegisterServerEvent(«kashactersS:CharacterChosen»)
AddEventHandler(‘kashactersS:CharacterChosen’, function(charid, ischar)
local src = source
local spawn = {}
SetLastCharacter(src, tonumber(charid))
SetCharToIdentifier(GetPlayerIdentifiers(src)[1], tonumber(charid))
if ischar == true then
spawn = GetSpawnPos(src)
else
TriggerClientEvent(‘skinchanger:loadDefaultModel’, src, true, cb)
—spawn = { x = 195.55, y = -933.36, z = 29.90 } — DEFAULT SPAWN POSITION
spawn = { x = -530.29, y = -219.24, z = 37.65 }
end
TriggerClientEvent(«kashactersC:SpawnCharacter», src, spawn)
end)

function GetSpawnPos(source)
local SpawnPos = MySQLAsyncExecute(«SELECT position FROM users WHERE identifier = ‘»..GetPlayerIdentifiers(source)[1]..»‘»)
if SpawnPos[1] ~= nil and SpawnPos[1].position ~= nil and SpawnPos[1].position ~= » then
return json.decode(SpawnPos[1].position)
else
spawn = { x = -530.29, y = -219.24, z = 37.65 }
return spawn
end
end

The code of the kashacters works for the characters already created, to those not created it gave «Awaiting Scripts»


Go to FiveM


r/FiveM

Official subreddit of FiveM, a multiplayer modification for Grand Theft Auto V!




Members





Online



So at the moment I dont have the money to pay monthly on Zap Hosting so for right now I am home hosting a FiveM Server. Unfortunately, everytime I run the server it says Awaiting Scripts in game. Ive let it sit for over 40 minutes one time and it still never stops loading, ive cleared cache. Deleted ALL Files and started from scratch and nothing works. I need help ive been told its probably one of my scripts are broken but I dont know how to fix that or figure out what is wrong.

Archived post. New comments cannot be posted and votes cannot be cast.


Melden Sie sich an oder registrieren Sie sich!

Du besitzt noch keinen Account? Dann registriere dich einmalig und völlig kostenlos und nutze unser breites Spektrum an Themengebieten, Features und tollen Möglichkeiten. Als registriertes Mitglied auf unserer Seite kannst du alle Funktionen nutzen um aktiv am Community-Leben teilnehmen. Schreibe Beiträge, eröffne Themen, lade deine Bilder hoch, stelle deine Videos online, unterhalte dich mit anderen Mitgliedern und helfe uns unser Projekt stetig zu verbessern und gemeinsam zu wachsen! Also worauf wartest du noch? Werde noch heute ein Teil von uns!

FiveM Template Server

Der FiveM Template Server ist ein fertiger FiveM Server, der dir den Einstige in FiveM mit deinem eigenen Server vereinfacht. Der FiveM Template Server bietet für jeden, selbst mit noch wenig Ahnung in diesem Gebiet, eine gute Grundlage um den eigenen FiveM Server zu starten.

  • MEHR INFOS
      • #1

      Moin,

      Mein freund hat sich selber aus der Datenbank bei Users rausgelöscht Problem ist nur das er nicht mehr auf den Server kommt weil da die ganze zeit awating scripts steht aber ich schon.

      weiß jemand woran das liegen könnte?

    • ZAP-Hosting Gameserver and Webhosting

      • Offizieller Beitrag
      • #2

      Steht etwas in der F8 Konsole bei Ihm oder in der Serverkonsole?

      • #3

      das steht da

    Jetzt mitmachen!

    Du hast noch kein Benutzerkonto auf unserer Seite? Registriere dich kostenlos und nimm an unserer Community teil!

    Stuck on Awaiting Scripts?

    You forgot to install the base resources! Find them here:

    How do I hide the MoneyUI?

    You can hide that in the configuration file found in sharedcfg/options.lua

    How do I hide the UI under the minimap?

    You can hide that in the configuration file found in sharedcfg/options.lua

    How do I disable buying vehicles on the RageUI Garages?

    You can disable that in the configuration file found in sharedcfg/options.lua

    How do I disable the preview of vehicles on the RageUI Garages?

    You can disable that in the configuration file found in sharedcfg/options.lua

    How do I disable the vRP Phone?

    Doing this isn’t recommended but you can just go into vrp/client/gui.lua Comment out lines: 146 to 156

    How do I make vRP scripts?

    Where do I find a tutorial to setup the pack?

    Why won’t my Zap Hosting work?

    Zap hosting versions as of 15/03/2021 are out of date. You should manually install this via manual FTP transfer and reinstall the dunko pack from the github repository.

    How do I change my keys from numpad

    Well, to change the accept NUMPAD + or NUMPAD — response

    You’ll need to change the following lines:

    Firstly, this line of code to your desired keys you have chosen:

    Line 16 of vrp/gui/RequestManager.js

    Then once you have done that you will need to find your key on here:

    Then save the number index of the control!

    Then in vrp/cfg/client.lua you’ll need to change this line:

    Line 31 and Line 32 to your desired keys.

    Say I wanted to change it to — and =

    And that is how you change your keys.

    What to do when my connection is timing out and I am recieving database errors?

    You can update your configuration to the above adding «connectTimeout», note this is in milliseconds and can be extended as required.

    This file is located at: ghmattimysql/config.json

    The following console commands for vRP exist:

    The following commands can be typed into the console above in which the console will reply with instructions on how to use these commands.

    Понравилась статья? Поделить с друзьями:

    Не пропустите эти материалы по теме:

  • Яндекс еда ошибка привязки карты
  • Avpui exe системная ошибка
  • Avpui exe ошибка приложения kaspersky
  • Avorion ошибка при включении модов
  • Avon ошибка 500

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии