Jump to content

Hyper4u.'<3

Members
  • Content Count

    154
  • Joined

  • Last visited

  • Days Won

    6

Hyper4u.'<3 last won the day on June 30

Hyper4u.'<3 had the most liked content!

Community Reputation

43 Great

1 Follower

About Hyper4u.'<3

  • Rank
    Devoted Member

Personal Information

  • Country

PC Specs

  • CPU
    Intel Core i7-7700K
  • Memory
    Vengeance LPX 16GB DDR4
  • Graphic Card
    Gigabyte GTX 1060

Recent Profile Visitors

1,191 profile views
  1. If you dislike the way the script is made feel free to make your own tutorial, nobody is stopping you.
  2. And it can also be done by creating new ones. I haven't noticed any time changes for a vehicle to spawn?
  3. So people can have custom formats/looks on their license plates?
  4. https://www.altisliferpg.com/topic/5881-tutorial-vehicle-license-plate/
  5. 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
  6. No. AFAIK this won't even work without installing https://github.com/ConnorAU/A3UserInputMenus
  7. Try adding ctulevel after playtime instead. case west: {format ["SELECT pid, name, cash, bankacc, adminlevel, donorlevel, cop_licenses, coplevel, cop_gear, blacklist, cop_stats, playtime, ctulevel FROM players WHERE pid='%1'",_uid];};
  8. If you use the default playertags script https://github.com/AsYetUntitled/Framework/blob/master/Altis_Life.Altis/core/functions/fn_playerTags.sqf remove _units = _units - [player];
  9. https://www.altisliferpg.com/topic/1257-tutorial-gang-capturable-areas/
  10. Join their discord and ask for help there.
  11. Then you have done something wrong.
×
×
  • Create New...