wh1ten3ss
Member-
Content Count
3 -
Joined
-
Last visited
-
Medals
Community Reputation
0 NeutralAbout wh1ten3ss
-
Rank
Rookie
-
remoteExec problms (cant sand right message)
wh1ten3ss replied to wh1ten3ss's topic in ARMA 3 - MISSION EDITING & SCRIPTING
can lbSetValue be useful here? -
remoteExec problms (cant sand right message)
wh1ten3ss replied to wh1ten3ss's topic in ARMA 3 - MISSION EDITING & SCRIPTING
i defined _target1 like this : MAIL_FNC_SENDLOCAL = { _index = lbCurSel 14881; _target1 = lbdata [14881, _index]; _message = ctrlText 14883; _text_admin_Err = format ["<t color='#F68617' >Ошибка блять сука не видит чела ебанного</t><br />"]; if (_target1 == "") exitWith {hint parseText (_text_admin_Err);}; //_target1 = missionNamespace getVariable ( _target1 ); _sender = player; _messagedisplay = parsetext format ["<t size='2' align ='center' color='#ffcc00'>Новое сообщение</t><br></br><br></br> <t size='1' align ='left' color='#00cc00'>Кому:</t><t align ='left'> Вам</t><br></br> <t size='1' align ='left' color='#00cc00'>От:</t> <t align ='left'> %1</t><br></br><br></br> <t size='1' align ='left' color='#00cc00'>Сообщение:</t><br></br> <t size='1' align ='left'>%2</t>", name player, _message]; lbAdd [14882, _message] call BIS_fnc_MP; ctrlSetText [14883, "Отправлено!"]; [_messagedisplay] remoteExec ["hint", _target1]; }; but its still doesn't working - no message sent 😞 -
wh1ten3ss started following remoteExec problms (cant sand right message)
-
remoteExec problms (cant sand right message)
wh1ten3ss posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
so, the main problem contains in this code : TABLET_FNC_GETPLAYERSARRAY = { { if (isPlayer _x && alive _x) then { _index = lbAdd [14881, name _x]; _data = lbSetData [14881, _index, name _x]; //_index = lbAdd [14881, name _x]; //_data = lbSetData [14881, _index, name _x]; lbSetTooltip [14881, _index, name _x]; }; }forEach allUnits; while (true) do { _index = lbCurSel 14881; _target1 = lbdata [14881, _index]; sleep 0.1; }; }; MAIL_FNC_SENDLOCAL = { _message = ctrlText 14883; _text_admin_Err = format ["<t color='#F68617' >Ошибка блять сука не видит чела ебанного</t><br />"]; if (_target1 == "") exitWith {hint parseText (_text_admin_Err);}; //_target1 = missionNamespace getVariable ( _target1 ); _sender = player; _messagedisplay = parsetext format ["<t size='2' align ='center' color='#ffcc00'>Новое сообщение</t><br></br><br></br> <t size='1' align ='left' color='#00cc00'>Кому:</t><t align ='left'> Вам</t><br></br> <t size='1' align ='left' color='#00cc00'>От:</t> <t align ='left'> %1</t><br></br><br></br> <t size='1' align ='left' color='#00cc00'>Сообщение:</t><br></br> <t size='1' align ='left'>%2</t>", name player, _message]; lbAdd [14882, _message] call BIS_fnc_MP; ctrlSetText [14883, "Отправлено!"]; [_messagedisplay] remoteExec ["hint", _target1]; }; when I try to send msg to other players it's randomly sends to a random guy from GETPLAYERSARRAY_FUNC (or don't send it at all, idk why :< ) I want to make this code doing right - to send right message to the person, that I really select.