Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while(string_pos("\n",wrapped_text_temp)!=0){
- var first_pos = string_pos("\n",wrapped_text_temp);
- var first_line = string_copy(wrapped_text_temp,0,first_pos);
- wrapped_text_temp = string_replace(wrapped_text_temp,first_line,"");
- show_debug_message(wrapped_text_temp);
- if(string_width(first_line)*0.5>len){
- len = string_width(first_line)*0.5;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement