Jump to content

[XaFlaForo Studios] Vanilla Number Plate System [Script] - ArmaServices Remake


XaFlaForo
 Share

Recommended Posts

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.

image.png.4f15f1ecf26386140798e13bc3688109.png

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 by XaFlaForo
  • Like 1
Link to comment
Share on other sites

  • XaFlaForo changed the title to [XaFlaForo Studios] Vanilla Number Plate System [ArmaServices Remake]
  • XaFlaForo changed the title to [XaFlaForo Studios] Vanilla Number Plate System [Script] - ArmaServices Remake
  • 2 months later...

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 by Hyper4u.'<3
Link to comment
Share on other sites

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 by Fawks
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.