-- SLIMax Mgr Lua Script v3.1 -- Copyright (c)2012-2013 by Zappadoc - All Rights Reserved. -- Event received when the car enter and exit the session. -- param = device type (integer - see GetDeviceType() ) -- enter session function enterSessionEvent(deviceType) -- call custom script local result = custom_enterSessionEvent(deviceType) if result <= 1 then return result end -- if result >= 2 continue -- call global custom script result = global_custom_enterSessionEvent(deviceType) if result <= 1 then return result end -- if result >= 2 continue -- do nothing return 1 end -- param = device type (integer - see GetDeviceType() ) -- exit session function exitSessionEvent(deviceType) -- call custom script local result = custom_exitSessionEvent(deviceType) if result <= 1 then return result end -- if result >= 2 continue -- call global custom script result = global_custom_exitSessionEvent(deviceType) if result <= 1 then return result end -- if result >= 2 continue -- do nothing return 1 end