Fix veh check util

This commit is contained in:
Vortrex
2022-05-12 16:53:29 -05:00
parent 0543a58597
commit 49a76f82b0

View File

@@ -515,6 +515,9 @@ function getPlayerLastVehicle(client) {
// ===========================================================================
function isVehicleObject(vehicle) {
if(vehicle == null || vehicle == undefined) {
return false;
}
return (vehicle.type == ELEMENT_VEHICLE);
}