Jump to content
smirlianos

Intel File doesn't show up in multiplayer

Recommended Posts

this setVariable ["RscAttributeDiaryRecord_texture","Clues\Clue1.jpg", true];     
data = [this,"RscAttributeDiaryRecord",["Clue","<br /><execute expression='[] spawn GOM_fnc_showImage1'>View the Document</execute>","Clues\Clue1.jpg"]] call bis_fnc_setServerVariable; 
GOM_fnc_shownImage1 = false; 
GOM_fnc_showImage1 = { 
 if (GOM_fnc_shownImage1) exitWith {false}; 
 GOM_fnc_shownImage1 = true; 
 with uiNamespace do { 
   intelIMG1 = findDisplay 46 ctrlCreate ["RscPicture", -1]; 
   intelIMG1 ctrlSetPosition [ 0.5 - ( 350 * pixelW ), 0.5 - ( 350 * pixelH ), 700 * pixelW, 700 * pixelH ]; 
   intelIMG1 ctrlCommit 0.4; 
   intelIMG1 ctrlSetText "Clues\Clue1.jpg"; 
 }; 
  
 waitUntil {!visibleMap}; 
 hint "ClosedMap"; 
 with uiNamespace do { 
  ctrlDelete intelIMG1; 
 }; 
 GOM_fnc_shownImage1 = false; 
};

I have this code inside an intel file, that is supposed to show a picture (Located inside the mission folder), but it doesn't work for other people, only for myself when in multiplayer.

What is happening?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×