still nothing about the hashes… if i stop the script and restart it after i’m spawned it works perfectly… if join the server with the script already started then i get this
What does the citizen.log
file in your Five M Application Data folder have to say?
last lines
[ 3774093] HostState transitioning from HS_IDLE to HS_LOADED
[ 3774093] HostState transitioning from HS_LOADED to HS_START_HOSTING
[ 3774125] HostState transitioning from HS_START_HOSTING to HS_WAIT_HOSTING
[ 3774156] received hostResult go
[ 3774297] HostState transitioning from HS_WAIT_HOSTING to HS_HOSTING
[ 3774297] wrap session key
[ 3774328] HostState transitioning from HS_HOSTING to HS_HOSTING_NET_GAME
[ 3774343] EndpointMapper::HandleRequest: POST /gta5/11/gameservices/SaveMigration.asmx/GetSourcePlatforms
[ 3774359] EndpointMapper::HandleRequest: POST /gta5/11/gameservices/CashTransactions.asmx/GetPackValueUSDE
[ 3774468] EndpointMapper::HandleRequest: GET /cloud/11/cloudservices/titles/gta5/pcros/legal/version/version_num.xml
[ 3774484] EndpointMapper::HandleRequest: GET /cloud/11/cloudservices/members/sc/1315206452/secure/gta5/0x1a098062.xml
[ 3774500] EndpointMapper::HandleRequest: POST /gta5/11/gameservices/entitlements.asmx/GetEntitlements
[ 3774515] EndpointMapper::HandleRequest: GET /cloud/11/cloudservices/members/sc/1315206452/secure/gta5/bgscripts/bg_ng.rpf
[ 3774531] EndpointMapper::HandleRequest: POST /gta5/11/gameservices/Telemetry.asmx/SubmitCompressed
[ 3774562] EndpointMapper::HandleRequest: GET /cloud/11/cloudservices/members/sc/1315206452/GTA5/dog/appsc.json
[ 3774656] EndpointMapper::HandleRequest: GET /cloud/11/cloudservices/titles/gta5/pcros/0x1a098062.json
[ 3774703] EndpointMapper::HandleRequest: GET /cloud/11/cloudservices/titles/gta5/pcros/bgscripts/bg_ng_1365_0.rpf
[ 3774765] EndpointMapper::HandleRequest: GET /cloud/11/cloudservices/members/sc/1315206452/GTA5/car/gamesc.json
[ 3774828] EndpointMapper::HandleRequest: GET /cloud/11/cloudservices/titles/gta5/pcros/0x1a098062.json
[ 3774875] EndpointMapper::HandleRequest: GET /cloud/11/cloudservices/titles/gta5/pcros/bgscripts/bg_ng_1365_0.rpf
[ 3779609] SEND_NUI_MESSAGE: resource radio has no UI frame
[ 3781359] Loaded frfuel.net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null into ScriptDomain_394574921
[ 3781390] Instantiated instance of script FRFuel.FRFuel.
[ 3781843] HostState transitioning from HS_HOSTING_NET_GAME to HS_HOSTED
[ 3781843] Mumble_RunFrame: capture device changed in GTA code, changing to index 0 (last -1)
[ 3781843] Mumble_RunFrame: this device index is GUID {5BB87762-9814-4A3B-9E61-93EBEB1E231C}
[ 3781843] Mumble_RunFrame: device should've changed by now!
[ 3781843] Returning device Altoparlanti (Realtek High Definition Audio) for GUID {07BA55C8-34AA-42F1-BA10-468195430338}
[ 3782000] Loaded the tablet
[ 3782000] ::The client lua for tablet loaded::
[ 3783031] EndpointMapper::HandleRequest: GET /cloud/11/cloudservices/titles/gta5/pcros/0x1a098062.json
[ 3783062] EndpointMapper::HandleRequest: POST /gta5/11/gameservices/matchmaking.asmx/Advertise
[ 3783078] EndpointMapper::HandleRequest: GET /cloud/11/cloudservices/members/sc/1315206452/GTA5/car/appsc.json
[ 3783156] EndpointMapper::HandleRequest: GET /cloud/11/cloudservices/titles/gta5/pcros/bgscripts/bg_ng_1365_0.rpf
[ 3785078] process exited with 36757920!
here the hashes i’m using
local BlacklistedWeapons = {
1317494643,
1141786504,
2227010557,
100416529,
856002082,
2726580491,
2982836145,
1752584910,
1119849093,
2481070269,
4256991824,
2694266206,
615608432,
4256881901,
3218215474,
4192643659,
3523564046,
2460120199,
137902532,
2138347493,
3342088282,
1672152130,
2874559379,
126349499,
3794977420,
3494679629,
3696079510,
3638508604,
4191993645,
1834241177,
3675956304,
4019527611,
317205821,
3441901897,
125959754,
}
i don’t understand… the whole thing run flawlessly if i use vehicles names or entities names but when i go using hashes it crashes upon joining
the problem seems to be that i’m using more than 1 value in array because if i use only one value per local then i don’t get crashes at all…
FIXED <3 !!!
so… since i it worked when started after spawn and not started directly… i added a Citizen.Wait(15000) right before every while true do… so now it works like heaven <3
helped me thank you mine was (model.v) just (v) works appreciate your time and effort to help