Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update natives and project config #411

Merged
merged 1 commit into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vMenu/CommonFunctions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public static Vehicle GetVehicle(Player player, bool lastVehicle = false)
/// <returns></returns>
public static bool IsPedPointing(int handle)
{
return N_0x921ce12c489c4c41(handle);
return IsTaskMoveNetworkActive(handle);
}

/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions vMenu/FunctionsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2240,7 +2240,7 @@ private async Task PlayerBlipsControl()
// sets the blip category to 7, which makes the blips group under "Other Players:"
SetBlipCategory(blip, 7);

//N_0x75a16c3da34f1245(blip, false); // unknown
// ShowHeightOnBlip(blip, false); // See if we need this or not

// display on minimap and main map.
SetBlipDisplay(blip, 6);
Expand Down Expand Up @@ -2921,7 +2921,7 @@ private async Task SwitchHelmetOnce()
var component = GetPedPropIndex(Game.PlayerPed.Handle, 0); // helmet index
var texture = GetPedPropTextureIndex(Game.PlayerPed.Handle, 0); // texture
var compHash = GetHashNameForProp(Game.PlayerPed.Handle, 0, component, texture); // prop combination hash
if (N_0xd40aac51e8e4c663((uint)compHash) > 0) // helmet has visor.
if (GetShopPedApparelVariantPropCount((uint)compHash) > 0) // helmet has visor.
{
var newHelmet = component;
var newHelmetTexture = texture;
Expand Down
2 changes: 1 addition & 1 deletion vMenu/menus/PlayerAppearance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ async void SpawnPed(Menu m, MenuItem item, int index)
var component = GetPedPropIndex(Game.PlayerPed.Handle, 0); // helmet index
var texture = GetPedPropTextureIndex(Game.PlayerPed.Handle, 0); // texture
var compHash = GetHashNameForProp(Game.PlayerPed.Handle, 0, component, texture); // prop combination hash
if (N_0xd40aac51e8e4c663((uint)compHash) > 0) // helmet has visor.
if (GetShopPedApparelVariantPropCount((uint)compHash) > 0) // helmet has visor.
{
if (!IsHelpMessageBeingDisplayed())
{
Expand Down
2 changes: 1 addition & 1 deletion vMenu/vMenuClient.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<Reference Include="Microsoft.CSharp" />

<PackageReference Include="CitizenFX.Core.Client" Version="1.0.6370">
<PackageReference Include="CitizenFX.Core.Client" Version="1.0.8883">
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>

Expand Down
2 changes: 1 addition & 1 deletion vMenuServer/vMenuServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<ItemGroup>
<Reference Include="Microsoft.CSharp" />

<PackageReference Include="CitizenFX.Core.Server" Version="1.0.6335">
<PackageReference Include="CitizenFX.Core.Server" Version="1.0.8883">
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>

Expand Down