Open JeDebute01 opened 3 years ago
Got the same when i try to update my FX Server, with version 3925 it is working normal
The convar is to get what mod you are on for different type of animations between FiveM and RD3
For client, replace with this part
-- Request this stuff here only one time
--if (GetConvar("gametype") == "gta5") then
-- if you're using FiveM, leave the 2 first one uncomment and if you're using rdr3, comment out the first 2 lines and uncomment the 2 last ones
RequestAnimDict("mp_facial");
RequestAnimDict("facials@gen_male@base");
--elseif (GetConvar("gametype") == "rdr3") then
-- RequestAnimDict("face_human@gen_male@base");
--end
And for the server side change this part
SetConvarReplicated("gametype", 'GetConvar("GameName")');
To this if you're using FiveM
SetConvarReplicated("gametype", 'gta5');
or if you're using rdr3, change it to this
`SetConvarReplicated("gametype", 'rdr3');`
Your problem will be fixed for the latest artifacts
I'm also getting these errors. Setting gametype and commenting lines out isn't doing anything.
[ c-scripting-core] Creating script environments for tokovoip_script [ c-scripting-core] InvokeNative: execution failed: Argument at index 1 was null. [script:tokovoip_scri] Error loading script src/s_main.lua in resource tokovoip_script: Execution of native 000000006ccd2564 in script host failed: Argument at index 1 was null. [script:tokovoip_scri] stack traceback: [script:tokovoip_scri] [C]: in upvalue '_in' [script:tokovoip_scri] citizen:/scripting/lua/natives_server.lua:371: in function 'GetConvar' [script:tokovoip_scri] @tokovoip_script/src/s_main.lua:20: in main chunk [ c-scripting-core] Failed to load script src/s_main.lua. [ citizen-server-impl] Started resource tokovoip_script
I have my gametype in gta5 and i have no , or { in my config ;)