Akku 13 Report post Posted March 6, 2016 Hello guys i need to del the vehicles from database after i spwan them variable passing from client side are player and vehicle "fn_spawnVehicle" addPublicVariableEventHandler { _packet2= _this select 1; _guy2= _packet2 select 0; _car= _packet2 select 1; _vehicleID = _car getVariable ["ExileDatabaseID", -1]; _car createVehicle position _guy2; format['deletegarage',_vehicleID] call ExileServer_system_database_query_fireAndForget; IN INI i have set [deletegarage] SQL1_1 = DELETE FROM veh FROM garage WHERE id= ? Number Of Inputs = 1 SQL1_INPUTS = 1 ITS not working please help Share this post Link to post Share on other sites
Sukkaed 56 Report post Posted March 6, 2016 SQL1_1 = DELETE FROM garage WHERE id= ? Share this post Link to post Share on other sites
Akku 13 Report post Posted March 6, 2016 getting error 23:49:36 Error in expression <r= _packet2 select 1; _vehicleID = _car getVariable ["ExileDatabaseID", []]; _> 23:49:36 Error position: <getVariable ["ExileDatabaseID", []]; _> Share this post Link to post Share on other sites