03-20-2016, 03:06 PM
(03-20-2016, 11:05 AM)treendy link Wrote:Code:
waituntil {player == player };Â
_playerName = format["%1",player];Â
if (_playerName == "pCommand") then {
 publicVariable "sBreifing";
 [west,["Mission", sBreifing]] call FHQ_TT_addBriefing;
};
It's possible, yes, but this will never work, since on a dedicated server, there is no player.
Remember that you can put code into the filter field which is evaluated for each client, and only added when the expression evaluates to true. So in your case:
Code:
[{pCommand == _this} ,["Mission", sBreifing]] call FHQ_TT_addBriefing;