toribio

toribio

Sep 8th, 2009
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.29 KB | None | 0 0
  1. public OnPlayerText(playerid, text[])
  2. {
  3.     if((strlen(text) > 64) && ((strlen(text) - 64) >= 5))
  4.     {
  5.         new string[64];
  6.         strmid(string, text, 0, 62);
  7.         strcat(string, "-");
  8.         SendPlayerMessageToAll(playerid, string);
  9.         SendPlayerMessageToAll(playerid, text[64-2]);
  10.         return 0;
  11.     }
  12.     return 1;
  13. }
Add Comment
Please, Sign In to add comment