We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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()