Advertisement
GerexD

fixed info

Jan 6th, 2022
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. while(string_pos("\n",wrapped_text_temp)!=0){
  2. var first_pos = string_pos("\n",wrapped_text_temp);
  3. var first_line = string_copy(wrapped_text_temp,0,first_pos);
  4. wrapped_text_temp = string_replace(wrapped_text_temp,first_line,"");
  5. show_debug_message(wrapped_text_temp);
  6. if(string_width(first_line)*0.5>len){
  7. len = string_width(first_line)*0.5;
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement