Welcome to this tutorial that will allow you to automatically give a vehicle at the first connection of the player 
This tutorial is a response to a help request from
Loukas13.

This tutorial is a response to a help request from

Leeeet's goo !
In your life_server/Functions/MySQL/fn_insertRequest.sqf, add this at the end of the file :
Code:
_className = "C_Van_01_transport_F";
[_uid,"civ","Car",_className,0,(round(random(1000000))),0] call DB_fnc_insertVehicle;
In your life_server/Functions/MySQL/fn_insertVehicle.sqf, replace theses lines :
Code:
params [
"_uid",
"_side",
"_type",
"_className",
["_color",-1,[0]],
["_plate",-1,[0]]
];
Code:
params [
"_uid",
"_side",
"_type",
"_className",
["_color",-1,[0]],
["_plate",-1,[0]],
["_active",1,[0]]
];
And replace this line :
Code:
_query = format ["INSERT INTO vehicles (side, classname, type, pid, alive, active, inventory, color, plate, gear, damage) VALUES ('%1', '%2', '%3', '%4', '1','1','""[[],0]""', '%5', '%6','""[]""','""[]""')",_side,_className,_type,_uid,_color,_plate];
Code:
_query = format ["INSERT INTO vehicles (side, classname, type, pid, alive, active, inventory, color, plate, gear, damage) VALUES ('%1', '%2', '%3', '%4', '1','%7','""[[],0]""', '%5', '%6','""[]""','""[]""')",_side,_className,_type,_uid,_color,_plate,_active];
BE CAREFUL WITH THIS LINE IF YOU ALREADY MODIFIED IT.
(1 was replaced by %7 and ,_active was added after _plate)
And, that's it !
Sincerely,
Forum Manager Mathis