added map image

This commit is contained in:
2020-03-31 00:45:49 +02:00
parent d7c7c094b8
commit c292eed7f3
2 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
if(!hasInterface)exitWith{};
params ["_obj",["_textureIndex",0]];
_texture = getText (configfile >> "CfgWorlds" >> worldName >> "pictureMap");
if(_texture isEqualTo "") exitWith {};
_obj setObjectTextureGlobal [_textureIndex, _texture];