well this is my first script so i aint much.. and i has a little problem >.< when you type/getcar (id) then you get the car.. but when you leave the car then it doesnt dissappear or remove :'S
function createVehicleForThePlayer(thePlayer, command, vehID)
vehID = tonumber(vehID)
local x,y,z = getElementPosition(thePlayer)
newX = x + 5
createVehicle ( vehID, newX, y, z )
end
addCommandHandler("getcar", createVehicleForThePlayer)