Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock SendSplitMessageToAll(color, text[]) {
- new Length = strlen(text);
- if(Length > 130) {
- new string_format_0[130 + 1], string_format_1[130];
- new Break = 130;
- strmid(string_format_0, text, 0, Break);
- strmid(string_format_1, text, Break, Length);
- SendClientMessageToAll(color, string_format_0);
- format(string_format_1, sizeof(string_format_1), "%s", string_format_1);
- SendClientMessageToAll(color, string_format_1);
- }
- else {
- SendClientMessageToAll(color, text);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement