polserver / ModernDistro

Package of scripts and configs needed to run POL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pkg gumps > GFCloseGumpOnLeaveArea

andrtechno opened this issue · comments

gumps/include/autoclose.inc
Here is the problem with parameters

function GFCloseGumpOnLeaveArea ( mobile, x_1, y_1, x_2, y_2, pid, variance:=1, ret_val:=0 )
	return Start_Script ( ":gumps:scripts/autoClose/autoCloseOnLeaveArea", array{mobile, object, pid, dist_traveled, ret_val} );
endfunction

Just committed a fix for this, this was my error made oh so many moons ago.

double-check the functions in the autoclose file, there are other functions with a similar problem