Jump to content

Help needed! 'end' expected (to close 'function at line 6) near '<eof>'


HarcoS

Recommended Posts

Hi, please help me! I don't know what is the problem, but I really need this script. The part that isn't working:

 

function drawDutyPanel()
	dxDrawRectangle(panelPosition[1],panelPosition[2], panelSize[1], panelSize[2], tocolor(0,0,0,180))
	dxDrawRectangle(panelPosition[1],panelPosition[2]+panelSize[2], panelSize[1], 3, tocolor(172,211,115,255))
	dxDrawRectangle(panelPosition[1],panelPosition[2], 50, 50, tocolor(0,0,0,180))
	dxDrawImage(panelPosition[1], panelPosition[2], 50, 50, 'duty.png')
	dxDrawText("#125699Szolgálat", scSz[1]/2-dxGetTextWidth("Szolgálat", 1, font)/2+50/2, panelPosition[2], 0, 0, tocolor(255, 255, 255, 255),1,font,"left","top", false, false, false, true)
	dxDrawText("Nyomj #125699[E] #ffffffgombot a szolgálat felvételéhez/leadásához.", scSz[1]/2-dxGetTextWidth("Nyomj [E] gombot a szolgálat felvételéhez/leadásához.", 0.7, font)/2+50/2, panelPosition[2]+dxGetFontHeight(1, font), 0, 0, tocolor(255, 255, 255, 255),0.7,font,"left","top", false, false, false, true)
end

I really I would really appreciate if someone would help.

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...