XaFlaForo Posted April 16, 2019 Share Posted April 16, 2019 (edited) Who we are: Here at XaFlaForo Studios, we strive for perfection in our work. We work day in, day out, weekdays, weekends, to ensure quality in our products. Over the coming weeks we will be dropping a lot of products in to this forum that are remakes of popular scripts but they will be for free. Why do we release this stuff for free: Here at XaFlaForo Studios, our ethos is that Arma scripts should be readily available for the whole community to enjoy, instead of being cast away behind the ever-growing pay wall that we all love to hate. We are proud that we strive to give the community scripts without hiding them behind a paywall for only the most premium, as it bring the community closer together making Arma all that more enjoyable and you can learn from our scripts as they are not obfuscated. Want free custom work?https://docs.google.com/forms/d/e/1FAIpQLScbBsZ7-B1em1wZf3YSkKGNtWmikvap1CK0Oz4ssVDHJTu1oQ/viewform How to support us? Follow me on github - https://github.com/XaFlaForo Add me on steam - https://steamcommunity.com/id/XaFlaForo Post Details: Script Name: Vanilla Number Plate System Framework: 5.0.0 Inspired/Wanted From: https://armaservices.net/product/vanilla-number-plate-system/ How to download: - Base https://github.com/XaFlaForo/AltisLifeScripts/tree/Base-Installation-Pack - Files https://github.com/XaFlaForo/Altis-Life-Vanilla-Number-Plate-System How to install: Make sure to copy the NumberPlate folder to XaFlaForo FOlder STEP 1: Go to fn_vehicleShopBuy and go to the bottom and replace with closeDialog 0; //Exit the menu. closeDialog 0; //Exit the menu. player moveInDriver _vehicle; [] call XaFlaForo_fnc_numberplate; There you go guys I just saved you what is basically that script and the GUI is nicer. Looks like you guys dont have to pay that price above. I will be remaking a lot of the scripts and posting them here. Edited April 16, 2019 by XaFlaForo 1 Quote Link to comment Share on other sites More sharing options...
Fawks Posted April 16, 2019 Share Posted April 16, 2019 If you are accepting them, I'd like to make a recommendation; make this update the vehicle's plate in the database as well. Although it's a small feature there are a lot of players and owners who have requested this be added. Quote Link to comment Share on other sites More sharing options...
XaFlaForo Posted April 16, 2019 Author Share Posted April 16, 2019 Use this link and I will get round to it https://docs.google.com/forms/d/e/1FAIpQLScbBsZ7-B1em1wZf3YSkKGNtWmikvap1CK0Oz4ssVDHJTu1oQ/viewform @Fawks Quote Link to comment Share on other sites More sharing options...
Fawks Posted April 16, 2019 Share Posted April 16, 2019 When you are able, please unlock it. Quote Link to comment Share on other sites More sharing options...
XaFlaForo Posted April 16, 2019 Author Share Posted April 16, 2019 Try now. @Fawks Quote Link to comment Share on other sites More sharing options...
Fawks Posted April 16, 2019 Share Posted April 16, 2019 Submitted. Quote Link to comment Share on other sites More sharing options...
AngryHerring ッ ®™ Posted April 16, 2019 Share Posted April 16, 2019 Any picture of the dialog? Quote Link to comment Share on other sites More sharing options...
ToxicRageTv Posted April 19, 2019 Share Posted April 19, 2019 Wait this doesn't update the plate in the db? What is the purpose of this then? Just so you can setup a one time custom plate? Quote Link to comment Share on other sites More sharing options...
Fawks Posted April 19, 2019 Share Posted April 19, 2019 Yes. Quote Link to comment Share on other sites More sharing options...
Gagi2 Posted April 19, 2019 Share Posted April 19, 2019 also only works with arma3 standard vehicles or modded vehicles if they have implemented the numberplate system correctly... but there are many out there which had NOT done it right Quote Link to comment Share on other sites More sharing options...
XaFlaForo Posted April 19, 2019 Author Share Posted April 19, 2019 I might change the excecution of this so it is on the actual vehicle shop dialog so it gets called when the car is purchased not after. Quote Link to comment Share on other sites More sharing options...
Fawks Posted April 19, 2019 Share Posted April 19, 2019 You would still need to modify fn_vehicleCreate for the plate to be saved in the database. Quote Link to comment Share on other sites More sharing options...
MauGi_LP Posted June 26, 2019 Share Posted June 26, 2019 Is this Script know saved in the DB? Quote Link to comment Share on other sites More sharing options...
Hyper4u.'<3 Posted June 27, 2019 Share Posted June 27, 2019 16 hours ago, MauGi_LP said: Is this Script know saved in the DB? No. AFAIK this won't even work without installing https://github.com/ConnorAU/A3UserInputMenus Quote Link to comment Share on other sites More sharing options...
MauGi_LP Posted June 27, 2019 Share Posted June 27, 2019 Oh okay. Then we have to Buy the System from ASN or someone else Or do you know another post With an Numberplate Skript that does Save the Plate in the DB? Quote Link to comment Share on other sites More sharing options...
Fawks Posted June 27, 2019 Share Posted June 27, 2019 I can post a tutorial on perminant plates later if needed. The basics are just edit the databsse table and change type from init to varchar(I think thats the name) then modify everything to do with plates to make them strings instead of ints. Quote Link to comment Share on other sites More sharing options...
Fawks Posted June 27, 2019 Share Posted June 27, 2019 @MauGi_LP You don't need to buy their script at all. It's a simple thing that takes less than an hour to implement. Quote Link to comment Share on other sites More sharing options...
ToxicRageTv Posted June 27, 2019 Share Posted June 27, 2019 License plates save to the dB automatically. And I’m pretty sure the plate is added to a variable attached to the vehicle. All you need to do is run the setPlateNumber command. Quote Link to comment Share on other sites More sharing options...
Hyper4u.'<3 Posted June 27, 2019 Share Posted June 27, 2019 7 hours ago, MauGi_LP said: Oh okay. Then we have to Buy the System from ASN or someone else Or do you know another post With an Numberplate Skript that does Save the Plate in the DB? https://www.altisliferpg.com/topic/5881-tutorial-vehicle-license-plate/ Quote Link to comment Share on other sites More sharing options...
Fawks Posted June 27, 2019 Share Posted June 27, 2019 Toxic is correct if you want temp ones however the plates that are saved in the db are ints and the setPlateNumber requires a string. You could just do "setPlateNumbet str(_plate)" but the plates would just be numbers. If you want to use the Arma generated ones you need to save the plates as strings and use get/set PlateNumber to apply the plate everytime the vehicle is pulled out. Quote Link to comment Share on other sites More sharing options...
Fawks Posted June 27, 2019 Share Posted June 27, 2019 @Hyper4u.'<3 That is one way of doing it but not the best way. Arma auto generates plate numbers every time a vehicle is spawned so why not just use those instead of manually generating new ones? Quote Link to comment Share on other sites More sharing options...
Hyper4u.'<3 Posted June 27, 2019 Share Posted June 27, 2019 Just now, Fawks said: @Hyper4u.'<3 That is one way of doing it but not the best way. Arma auto generates plate numbers every time a vehicle is spawned so why not just use those instead of manually generating new ones? So people can have custom formats/looks on their license plates? Quote Link to comment Share on other sites More sharing options...
Fawks Posted June 27, 2019 Share Posted June 27, 2019 That can be done by allowing them to edit the license plate (using this or another similer script). Without increasing the time it takes to spawn a vehicle. Quote Link to comment Share on other sites More sharing options...
Hyper4u.'<3 Posted June 27, 2019 Share Posted June 27, 2019 (edited) 1 minute ago, Fawks said: That can be done by allowing them to edit the license plate (using this or another similer script). Without increasing the time it takes to spawn a vehicle. And it can also be done by creating new ones. I haven't noticed any time changes for a vehicle to spawn? Edited June 27, 2019 by Hyper4u.'<3 Quote Link to comment Share on other sites More sharing options...
Fawks Posted June 27, 2019 Share Posted June 27, 2019 (edited) It's mostly me shooting for fasting running and more optimized code. Your way works and is a good way of doing it, just not the fastest way to do it. Spawn time is only increased by a ms or so but that adds up the more people are on the server and the more vehicles that are being spawned. Edited June 27, 2019 by Fawks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.