-- LUA Script - precede every function and global member with lowercase name of script + '_main' local wheels = {} function wr_wheel_init_name(e, name) Scale(e, 260) wheels[e] = {used = false, name = name} end function wr_wheel_main(e) local wheel = wheels[e] if wheel == nil then return end if not wheel.used and WhackyRacerAddWheel ~= nil then wheels[e].used = WhackyRacerAddWheel(e, wheel.name) return end end