Freddywall 11 Posted September 16, 2019 Hello, i got script which shows player markers and names on map, it work's well in SP, but didn't work on Dedicated server. What's the problem? ((findDisplay 12) displayCtrl 51) ctrlAddEventHandler [ "Draw", { params ["_ctrl"]; { _ctrl drawIcon [ getText (configFile >> "CfgVehicles" >> typeOf _x >> "icon"), [side _x] call BIS_fnc_sideColor, _x, 32, 32, getDir _x, name _x, true ] } forEach (units (group player)); } ]; Share this post Link to post Share on other sites
Mr H. 402 Posted September 16, 2019 where do you call the script from ? Share this post Link to post Share on other sites
Freddywall 11 Posted September 16, 2019 1 hour ago, Mr H. said: where do you call the script from ? Init.sqf Share this post Link to post Share on other sites
Mr H. 402 Posted September 16, 2019 Try to add it to iniplayerlocal.sqf instead and also waitUntil {!isNull (findDisplay 12)}; Share this post Link to post Share on other sites
Freddywall 11 Posted September 16, 2019 45 minutes ago, Mr H. said: Try to add it to iniplayerlocal.sqf instead and also waitUntil {!isNull (findDisplay 12)}; It's doesn't work Share this post Link to post Share on other sites
Mr H. 402 Posted September 16, 2019 At first glance I don't see anything wrong with this. Maybe add diag logs and check your logs Share this post Link to post Share on other sites
Freddywall 11 Posted September 16, 2019 17 minutes ago, Mr H. said: At first glance I don't see anything wrong with this. Maybe add diag logs and check your logs Sry, my bad. It's working. Thank you Share this post Link to post Share on other sites