fortune144 12 Posted July 16, 2018 Hey folks, i made a custom camoface ace action as code see below. In singleplayer everything works fine but when i put the pbo on my server there is only the ace action and nothing happens. So where is my mistake. Please have a look. ACE_ACTION: Quote class ACE_SelfActions { class Camo { displayName="Tarnschminke"; condition="('US_Facepaint' in uniformItems _player || 'US_Facepaint' in vestItems _player || 'US_Facepaint' in backpackItems _player)"; statement="_this call camofaces_fnc_createDialog;"; showDisabled=0; priority=4; icon="basic_equipment\data\functions\ui\Icon_camo_ca.paa"; class Set_Camo { displayName="Tarnschminke auflegen"; condition="('US_Facepaint' in uniformItems _player || 'US_Facepaint' in vestItems _player || 'US_Facepaint' in backpackItems _player)"; statement="['_Wdl'] call camofaces_fnc_setcamo;"; showDisabled=0; priority=4; icon="basic_equipment\data\functions\ui\Icon_camoon_ca.paa"; }; setCamo.sqf Quote params ["_type"]; currentFace = face player; _camoFace = (currentFace + _type); if (currentFace in faces) then{ [[player , _camoFace],"setFace",true,false] call BIS_fnc_mp; }; Share this post Link to post Share on other sites
Crielaard 435 Posted July 24, 2018 try remoteexec and whitelist the setface command on your server. https://community.bistudio.com/wiki/remoteExec Share this post Link to post Share on other sites
Dedmen 2724 Posted July 25, 2018 did you check that your _camoFace variable is correct? and that "currentFace in faces" works? Share this post Link to post Share on other sites