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:
BIN
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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."
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user