Fixed major punch & car hit bug.

+ Updated Safe-Zones to the latest version which fixed the punch kick issue that caused cards to rotate North and set afire.
+ Updated the server to latest build 5508.
This commit is contained in:
Jacob
2022-04-21 23:21:29 +01:00
parent 09ffdb22b5
commit 8dd1c4beb8
42 changed files with 13 additions and 13 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+11 -6
View File
@@ -47,17 +47,22 @@ Citizen.CreateThread(function()
exports.pNotify:SendNotification({text = Config.pNotifyEnterMessage, type = Config.pNotifyEnterType, timeout = math.random(1000, 10000)})
end
end
if not has_value(Config.WeaponBypass, GetSelectedPedWeapon(iPed)) then
SetCurrentPedWeapon(iPed, GetHashKey("WEAPON_UNARMED"), true)
DisablePlayerFiring(iPed, true)
SetWeaponDamageModifierThisFrame(GetSelectedPedWeapon(iPed), -1000)
end
NetworkSetFriendlyFireOption(false)
DisablePlayerFiring(iPed, true)
SetCurrentPedWeapon(_source,GetHashKey("WEAPON_UNARMED"),true)
if IsPedDoingDriveby(iPed) then
DisableControlAction(0, 69, true)
DisableControlAction(0, 92, true)
else
DisableControlAction(0, 69, false)
DisableControlAction(0, 92, false)
end
if IsPedInAnyVehicle(iPed, false) then
veh = GetVehiclePedIsUsing(iPed)
SetEntityCanBeDamaged(veh, false)
if Config.MaxVehicleSpeed then
if not has_value(Config.MaxSpeedBypass, GetVehicleClass(veh)) then
if not has_value(Config.MaxSpeedBypass, veh) then
SetVehicleMaxSpeed(veh, Config.MaxVehicleSpeed)
end
end
-5
View File
@@ -29,11 +29,6 @@ Config.MaxSpeedBypass = { -- Vehicles classes added in this bypass will still be
--20, -- Commercial
--21, -- Trains
}
Config.WeaponBypass = {
--GetHashKey("WEAPON_PISTOL"),
GetHashKey("WEAPON_PISTOL"),
}
Config.pNotify = false
+2 -2
View File
@@ -1,5 +1,5 @@
{
"date": "Oct 7, 2021",
"version": "1.0.8",
"changelog": "Added:\n•Speed limit bypass option for vehicles classes."
}
"changelog": "Added Speed limit bypass option for vehicles classes."
}
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.