i think the problem is extended?..
Hey,
your script is not activated. Please be sure you have the script in your asstets on your FiveM Keymaster and that your Server license key is on the same Cfx.re account as the asset.
I canāt use /createGarage to create a garage
Hey,
then you donāt have the correct job from the Config
vehicles body and engine Health was not savedā¦
myGarage - Update - 01.04.2022
- Added the option to restrict the revoke function for access in job garages
-- For job garages
Config.canPlayersRevokeJobAccess = true
Config.requiredRankToRevokeAccess = {
'chief',
'boss',
}
Getting an issue when adding new garages⦠they seem to work and the ped spawns but as I approach the ped to open the garage menu the ped despawns. Then when i move away again the ped reappears. This is only happening with garages Ivāe added to the database others are fine.
Ivāe narrowed the issue down to possibly these lines of code line 251-256 in the client.luaā¦
if (not isNearGarage and isNPCLoaded) then DeleteEntity(NPCPed) SetModelAsNoLongerNeeded(GetHashKey(Config.NPCPedModel)) isNPCLoaded = false end
When I comment this out the ped stops disspearing but the prompt to open the garage still does not appear on only the new garages I add to the map regardless of whether I manually enter the garage into the database or use /garageassist.
Please if someone could help me out not sure what is causing this but itās delaying our server launch and I am pretty unsure what is causing this issue.
Thanks
Hey,
when you add garages with /garageAssist, you have to add some details in the database.
The garageAssist will only set the positions, but other details have to be set up then manually in the database.
Wehn this isnāt done the described case would occur. Maybe you can check this.
Best regards,
Luis
The script is awesome! <3
its modular, easy accessible, and pretty good to work with in code. i love it!
myGarage - Update - 04.07.2022
- Enhanced the location description for vehicles, which are in other garages (now itās the label and not the database name anymore)
- Added the option to set up an individual NPC model for every garage and impound
- Added Impounds for boats and aircrafts to the default sql file
- Added a /mileage command to myGarage to show the mileage of your current car
You are supposed to perform this sql command in your database to add the new columns:
ALTER TABLE `mygarage`
ADD COLUMN `NPC` VARCHAR(255) NULL DEFAULT NULL AFTER `NPCPosition`;
ALTER TABLE `mygarage_impound`
ADD COLUMN `NPC` VARCHAR(255) NULL DEFAULT NULL AFTER `impoundFee`;

myGarage - Update V. 2.0.
- Added a nickname system to myGarage: You can now set up a nickname in all public garages. This is always optional!
- Added full** support for VehicleKeyChain**: You can now access, store and get all vehicles from your friends.
- Since the **deformation **is no longer saved in AdvancedParking itās now fully managed through myGarage. You can enable/disable this option in the Config.
- Added the option to** transfer vehicles **from public garages to other public garages (Of course this can be disabled in the Config)
You are supposed to perform this sql command in your database to add the new columns:
ALTER TABLE `owned_vehicles` ADD COLUMN IF NOT EXISTS `nickname` varchar(50);
myVehicleShop - Update - 26.10.2022
- Added new options for custom garage scripts in the Config
-- CUSTOM GARAGE SUPPORT
Config.useMyGarage = false
Config.useAdvancedGarage = false
Config.useDNZGarage = false
Config.useLoaf_Garage = false
I canāt join Discord
Hey,
then notify me per PN with your question
Store the good in the garage ļ¼In taking it out ļ¼Brokenļ¼Go to Impound and get it is good
Update - 15.06.2023
- fixed that NPC werenāt spawned when they were to near each other
myGarage - Update - 05.08.2023
- Added new config options (to enable markers instead of NPCs or both):
Config.useMarker = false
Config.useNPCPeds = true
Das Script sieht sehr nice aus und funktioniert auch ohne Probleme
myGarage - Update - 17.08.2023
- NPCs do work now like before the last update.
