View Issue Details

IDProjectCategoryView StatusLast Update
0005252Multi Theft Auto : San AndreasServerpublic2010-03-23 13:45
ReporterAxel Assigned Toccw  
Status resolvedResolutionfixed 
Target Version1.0.4Fixed in Version1.0.4 
Summary0005252: Using cancelEvent(true) in event onResourceStart not removed event handler after implementation.

If at run resource in event onResourceStart cancel event function cancelEvent(true), resource is not loaded, but in the server's memory this event remains, after do not run any resources. After that, every time you run any resource, the event remains in memory on the server, but not removed.

addEventHandler( "onResourceStart", getRootElement(), function ()
end )

TagsNo tags attached.



2010-03-23 06:35

viewer   ~~0011236

A small addition: if cancel event onResourceStart, resource is not loaded, but scripts remains in servers memory and continue to work.


2010-03-23 12:21

administrator   ~~0011242

Fixed in:


2010-03-23 13:33

administrator   ~~0011243

If you need this for 1.0.3 and earlier, cancelEvent works in onResourcePreStart


2010-03-23 13:45

viewer   ~~0011245

I know, but then can not cancel start current resource, thank you.

Issue History

Date Modified Username Field Change