Jump to content

Search the Community

Showing results for tags 'license plate'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Altis Life RPG
    • Headquarters
    • Introductions
    • RULES
  • Altis Life RPG Community
    • General Discussion
    • Helper Recruitment
    • Altis Life Server Advertising
    • Discord (join us for discuss)
  • Tools and Administration
    • Altis Life RPG (official Framework)
    • Altis Life Wiki
    • Server Setup and Configuration
    • Database
    • Security
    • Maintenance
  • Altis Life Customization
    • Server & Scripting Help Desk
    • Releases & Download
    • Misc & Tools
  • Kool Kids Klub's Oof
  • Kool Kids Klub's Secret Spot

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


CPU


Memory


Hard Drive


Graphic Card


PSU


Case


Monitor


Description - Other Accessories

Found 1 result

  1. Version: Only tested with 5.0 Difficulty: Easy Note: This will not replace already existing vehicles number plates with new ones. Open fn_vehicleShopBuy.sqf and add this code under _vehicle disableTIEquipment true; //No Thermals.. They're cheap but addictive. _select1 = selectRandom ["A","B","C","D","E","F","G","H","J","K","L","M","N","O","P","R","S","T","U","W","X","Y","Z"]; _select2 = selectRandom ["A","B","C","D","E","F","G","H","J","K","L","M","N","O","P","R","S","T","U","W","X","Y","Z"]; _select3 = selectRandom ["A","B","C","D","E","F","G","H","J","K","L","M","N","O","P","R","S","T","U","W","X","Y","Z"]; _select4 = selectRandom ["1","2","3","4","5","6","7","8","9","0"]; _select5 = selectRandom ["1","2","3","4","5","6","7","8","9","0"]; _select6 = selectRandom ["1","2","3","4","5","6","7","8","9","0"]; private _plate = format["%1%2%3 %4%5%6",_select1,_select2,_select3,_select4,_select5,_select6]; _vehicle setPlateNumber _plate; and in the same file scroll down further til you find if (_mode) then { then add _plate after _colorIndex in the arrays remember to separate with a comma. Go to fn_vehicleCreate.sqf in life_server and comment out _plate = round(random(1000000)); in the same file add _plate = [_this,4,"",[""]] call BIS_fnc_param; Go to fn_insertVehicle.sqf in life_server and replace ["_plate",-1,[0]] with "_plate" and in the same file find || _plate isEqualTo -1) exitWith {}; and change it to || _plate isEqualTo "") exitWith {}; Go to fn_spawnVehicle.sqf in life_server and find private _wasIllegal = _vInfo select 13; and add private _plateNumber = _vInfo select 7; directly under. in the same file go to //Reskin the vehicle and add _vehicle setPlateNumber _plateNumber; directly under. Now go back to the mission file and go to fn_impoundMenu.sqf and find _tmp = [(_x select 2),(_x select 8)]; and add (_x select 7) to the array and remember to separate with a comma. Now go to fn_garageLBChange.sqf and find " +(localize "STR_Shop_Veh_UI_Color")+ " %8<br/> and add " +("License Plate:")+ " %9<br/> directly under. in the same file find _vehicleColor add a comma after _vehicleColor and then add _numberPlate directly under. now again in the same file find _classNameLife = className; and add _numberPlate = (_dataArr select 2); under. and make sure to add "_numberPlate" to the private array and REMEMBER to separate by a comma. Last but not least run this code in your database: ALTER TABLE vehicles MODIFY plate varchar(7) NOT NULL
×
×
  • Create New...