Has anyone been able to get getURL function to work? There is no example, and it throws an an error when I use it. Thanks!
---------- Post added at 09:38 PM ---------- Previous post was at 09:12 PM ----------
Found answer by RTFM:
"therefore only work properly when called from a script (ie. from something originally executed with execVM or spawn, not call) "
Have to create a sqf and call it from sqs, then it works.
for example:
in test.sqs:
call compile preprocessfile "armalib\alibinterface.sqf";
execVM "test.sqf";
in test.sqf:
_rtn = "http://www.google.com" call getURL;
hint _rtn;