Advertisement
Guest User

Untitled

a guest
Apr 21st, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.40 KB | None | 0 0
  1. public OnPlayerText(playerid, text[])
  2. {
  3.  
  4.     new message[128];
  5.     strreplace(message, ":D", " śmieje się");
  6.  
  7.  
  8.  
  9.     return 0;
  10. }
  11.                 stock strreplace(string[], find, replace)
  12.         {
  13.             for(new i=0; string[i]; i++)
  14.             {
  15.                 if(string[i] == find)
  16.                 {
  17.                     string[i] = replace;
  18.                 }
  19.             }
  20.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement