Hello,
I'm creating a script when i press 1 there comes a ramp
But what's wrong?
function ramp(command)
local x,y,z = getElementPosition(source)
local xx,yy,zz = getElementRotation(source)
createObject ( 1632, x, y, z + 10, xx, yy, zz +10 )
end
addCommandHandler("ramp",ramp)
bindKey( "1", "down", ramp)