Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Automatic new line in the textdraw for every (characters) character
- stock NewLine(input[], characters, output[])
- {
- new text[1024];
- new len = 0;
- while(strlen(input+len) > characters)
- {
- strmid(text, input, 0, characters);
- len += characters;
- text[len] = '\n';
- len++;
- }
- strmid(output, text, 0, strlen(text));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement