Jump to content

Help in code


#Hulk

Recommended Posts

 

Hello guys, What's wrong ?

Error attempt to perform arithmetic on global 'val' (a nil value)

line 11

function show(cmd,value,posx,posy)
	if not (posx) or not (posy) then
		sx,sy = guiGetScreenSize()
		posx,posy = sx/2-150,sy/2-50
	end
	show()
	x,y = posx,posy
	val = value
	tam = setTimer(function()
	logo()
	end,val*32,0)
	logo()
end

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...