tens0rfl0w
tens0rfl0w
Simply using: ```lua Player(source).state:set("test", "hi", false) ``` works as expected and does **not** replicate the state bag value to any client. (Same for entity state bags) So there have to...
Looking at @AvarianKnight's repro from the initial issue: Replication state does seem to get ignored when calling a 'set' operation on entities too fast after init creation. Simply waiting a...
Verified exactly what you just described: Replication state is **only** applied when the client is in scope of the entity/the entity already exists on the client before the 'set' operation...
The file stream is correctly closed when the objects lifetime ends (after exiting the scope of the `SAVE_`/`LOAD_RESOURCE_FILE` native functions and removal of the streams ref). Also, testing this with...
Well, there has to be some more info, otherwise *how* should anyone be able to even find a direction where to look at. Are you accessing the resource files from...
For help with scripting related problems try the Cfx [forum](https://forum.cfx.re/c/development/scripts/31) or [Discord guild](https://discord.gg/fivem) (Channel -> #fivem-scripting) The Github repo is not the right place to ask for assistance and should...
While this event definitely should be blocked for entities controlled by other players, wouldn't this (or the more "appropriate" approach with disabling routing per ConVar) also block ragdoll-requests for networked...
Using ```lua local timeToRagdoll = 10000 local ped = PlayerPedId() local ragdoll = true SetPedToRagdoll(ped, 10, 10, 0, false, false, false) CreateThread(function() while ragdoll do Wait(0) ResetPedRagdollTimer(ped) end end) Wait(timeToRagdoll)...
Works perfectly fine for me. However, if you're trying to reset the ragdoll timer on a remotely owned ped this won't work for obv reasons. This only works on the...
> Shouldn't the flag for the ConVar be `ConVar_UserPref` Yes, correct! I missed this one, thank you. Should be fixed.