object - commandobject - unit


void AllowScriptWithdraw(int nAllow)

Scope: private

Parameters
nAllow - if true then unit can be withdrawed, if false unit can't be withdrawed.

Return values
none

Description
This function is used to lock (with false parameter), or unlock (with true) possibility of withdrawing this object (stopped) by other object.

See also
IsAllowingWithdraw