View Issue Details

IDProjectCategoryView StatusLast Update
0009380Multi Theft Auto : San AndreasScriptingpublic2016-09-15 11:40
ReporterDerbyDashAssigned ToJusonex 
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Product Version 
Target Version1.5.3Fixed in Version1.5.3 
Summary0009380: [Request] Transfer browser as source in getBrowserSource
Description

Without this it's impossible to use with more then one browser

Additional Information

And/or add ability to transfer arguments to callback function (like setTimer, triggerEvent's)

TagsNo tags attached.

Activities

Jusonex

2016-09-15 11:40

administrator   ~~0025207

It is possible with upvalues. E.g.:

local browser = createBrowser(...)
getBrowserSource(function(code) outputDebugString(browser) end)

But I agree with you, the browser should be passed.

Fixed in https://github.com/multitheftauto/mtasa-blue/commit/d6f26e295b85e951f75c41aea5805f89087e87e5

Issue History

Date Modified Username Field Change