Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerText(playerid, text[])
- {
- if((strlen(text) > 64) && ((strlen(text) - 64) >= 5))
- {
- new string[64];
- strmid(string, text, 0, 62);
- strcat(string, "-");
- SendPlayerMessageToAll(playerid, string);
- SendPlayerMessageToAll(playerid, text[64-2]);
- return 0;
- }
- return 1;
- }
Add Comment
Please, Sign In to add comment