Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Lets declare the string and count var
- private ["_txt", "_i", "_value"];
- _txt = "";
- _i = 0;
- _value = Sheep_1;
- // Increment (!!)
- _i = _i + 1;
- // Now we append a new string
- _txt = format["%1%2:%3\n", _txt, _i, str(getPos _value)];
- // and now we print!
- hintC _txt;
Add Comment
Please, Sign In to add comment