deleteMeta

Used to remove cross-resource accessible information on server-side.

Declaration

vehicle.deleteMeta(key: string): void;

Usage

vehicle.deleteMeta('myData');

Real World Usage

function enteredVehicle(player, vehicle, seat) {
    vehicle.deleteMeta('myData');
}

alt.on('playerEnteredVehicle', enteredVehicle);

These examples assume you have vehicle created or available on client-side

results matching ""

    No results matching ""