added map image
This commit is contained in:
9
functions/Other/fn_mapImage.sqf
Normal file
9
functions/Other/fn_mapImage.sqf
Normal 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];
|
||||
Reference in New Issue
Block a user