fivem
fivem copied to clipboard
The source code for the Cfx.re modification frameworks, such as FiveM, RedM and LibertyM, as well as FXServer.
### What happened? The code i've tried... ```lua local function isZoomedAsFirstPerson() return IsFirstPersonAimCamActive(PlayerId(PlayerPedId())) end Citizen.CreateThread(function() while true do print(isZoomedAsFirstPerson()) Wait(5000) end end) ``` Keeps returning false, even if i am...
### What happened? Hi, we have been having reports of players losing the color type of their vehicle, in testing we discovered that the native functions GetVehicleModColor_1 and GetVehicleModColor_2 are...
as instructed by bubble to produce repros here. this issue cannot be reproduce on any existing Globalstate that already have a value. ( as trying to use the command in...
### What happened? When trying to filter the servers by locale, some entries show the "raw" country code instead of its formatted name : ![image](https://github.com/citizenfx/fivem/assets/80094438/acc38233-f2e1-4859-95c9-073114a896e1) ### Expected result Show the...
### What happened? The following code: ```cs [EventHandler("PlayerConnecting")] private async Coroutine HandleConnecting([Source] Player player, string playerName, dynamic setKickReason, dynamic deferrals) { deferrals.defer(); deferrals.presentCard(AdaptiveCardText, new Action((data, rawData) => { //Do nothing...
### What happened? I'm legally blind so I use a 150% scaling in windows. I usually don't have any issues but with FXDK wen I create a resource then right...
### What happened? I'm having a crash error problem with most players, after putting the newest build 3095 on the old one, there is no report of a player with...
### What happened? If I create an object using CreateObjectNoOffset on the server side... then the owner on client side alters the object by setting collision to off/on or freezing...
### What happened? Many players are suffering a crash which appears to be resulting from line 190 in WeaponExtraNatives.cpp The line of code is; return origSetupAsWeapon( thisptr, weapInfo, totalAmmo, a4,...
### What happened? Running the following code ```cs [EnableOnLoad(false)] sealed class ChatService : BaseScript { public ChatService() { } protected override void OnEnable() { base.OnEnable(); Coroutine.Run(() => { Exports["chat", "registerMessageHook"](new...