Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PubFunc::Me(playerid, string[], system)
- {
- new formatted[256], formatted2[256];
- format(formatted, sizeof(formatted), " ** %s %s", playerinfo[playerid][Pformattedname], string);
- str_divide_line(formatted, formatted2, 70, 256);
- str_divide_line(formatted, formatted, 0, 70);
- new strlenf = strlen(formatted2);
- if(strcmp(formatted2[strlenf], ".") || strcmp(formatted2[strlenf], "?") || strcmp(formatted2[strlenf], "!"))
- {
- format(formatted2, sizeof(formatted2), "%s.", formatted2);
- }
- format(formatted2, sizeof(formatted2), "[...]%s", formatted2);
- ProxDetector(30.0, playerid, formatted, COLOR_ME1, COLOR_ME2, COLOR_ME3, COLOR_ME4, COLOR_ME5);
- ProxDetector(30.0, playerid, formatted2, COLOR_ME1, COLOR_ME2, COLOR_ME3, COLOR_ME4, COLOR_ME5);
- return 1;
- }
Add Comment
Please, Sign In to add comment