We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Description
With enew you can pass an element in a class.
Syntax
enew(element, Classname)
Example
VehicleClass = {} function VehicleClass:boom() blowVehicle(self) end local vehicle = createVehicle(411, 0, 0, 12) enew(vehicle, VehicleClass) vehicle:boom()