AckLua:

Code:
-- This is the "main function"
fps_max = 60
level_load("")

local entity =  ent_create("_cube.mdl", vector(400, 0, 0));

function update()
	-- Update game here...
	entity.x = 300 + 100 * math.sin(0.1 * total_ticks)
end



Visit my site: www.masterq32.de