{"name":"setVehicleId","title":"setVehicleId","type":"command","url":"https://community.bistudio.com/wiki/setVehicleId","revid":364524,"updated":"2024-05-16T20:46:23Z","groups":["Object Manipulation","Broken Commands"],"status":"broken","games":{"ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofpe 1.00","arma3_since":"0.50","description":"Sets ID to vehicle. By this ID vehicle is referenced by triggers and waypoints.\n\n> [!WARNING]\n> This command is **not** to be used.","syntaxes":[{"syntax":"vehicleName setVehicleId id","params":[{"name":"vehicleName","type":"Object","type_expr":"Object"},{"name":"id","type":"Number","type_expr":"Number"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"vehicleName"},"right":{"text":"id"}}],"examples":[{"code":["player setVehicleId 1;"]}],"see_also":["setVehicleVarName"]}