-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(getIsVehicleInitiallyLocked): integrate with lockNPCCarsChan…
…ce (#111) * feat(getIsVehicleInitiallyLocked): integrate with lockNPCCarsChance * chore(include): config.server * refactor(entityCreated): isPed variable * refactor(entityCreated): simplifying the validation * feat(getVehicleConfig): drivenSpawnLocked * feat(getIsVehicleInitiallyLocked): an explicit true check Co-authored-by: Manason <[email protected]> * refactor(config): spawnLocked to spawnLockedIfParked * feat(entityCreated): isVehicle variable * refactor(entityCreated): split return condition --------- Co-authored-by: Manason <[email protected]>
- Loading branch information
1 parent
ab8806a
commit a84afb4
Showing
5 changed files
with
27 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
return { | ||
runClearCronMinutes = 5, | ||
|
||
-- NPC Vehicle Lock States | ||
lockNPCDrivenCarsChance = .75, -- Chance on lock state for NPC cars being driven by NPCs | ||
lockNPCParkedCarsChance = .75, -- Chance on lock state for NPC parked cars | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters