aryx 10 Posted July 21, 2015 Hi, I wrote a script that uses lbAdd at the momentan, but since it doesn't do it's job as I want it to, i would like to use "lnbAddRow" part of my Script: _KillList lbAdd format["%1 %2/%3 (%4 position)",_playerName, _playerKills, _playerDeath,_playerPosition]; _KillList lbSetData [(lbSize _KillList)-1,str(_playerName)]; The script works so far, but soon as I get output it looks like: Lenorado 3/4 0.394845 Frank 1/3 0.384753 But I would rather want it to look like in a line.. So I tried to use lnbAddRow. _KillList lnbAddRow [format["%1",_playerName],["%1/%2",_playerKills,_playerDeath],["%1",_playerPosition]]; _KillList lbSetData [(lbSize _KillList)-1,str(_playerName)]; But It doesn't seem to Work at all. Does anyone have a Idea? Share this post Link to post Share on other sites
Naiss 28 Posted July 22, 2015 wont you need to have the control for the lb/lnb? like this: lbAdd [1500, format ["%1",name player]]; lnbAddRow [1500, format ["%1",name player]]; 1500 is the control Share this post Link to post Share on other sites
aryx 10 Posted July 22, 2015 This works: _KillList lnbAddRow [format["%1",_playerName],["%1/%2",_playerKills,_playerDeath],["%1",_playerPosition]]; but the only Output I get is the _playerName. I want that all 4 vars will be listed, not just 1. Share this post Link to post Share on other sites
Larrow 2821 Posted July 23, 2015 Your missing the format command from our other arrays. lnbAddRow takes an array of strings.. _KillList lnbAddRow [format["%1",_playerName], format["%1/%2",_playerKills,_playerDeath], format["%1",_playerPosition]]; Share this post Link to post Share on other sites
aryx 10 Posted July 27, 2015 Tried that, didn't work. Share this post Link to post Share on other sites