Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.54 KB | None | 0 0
  1.     new  wiadomosc[500];
  2.     if(text[0] == '!')
  3.     {
  4.         format(wiadomosc, sizeof wiadomosc, "[%d] %s [%s]: %s", playerid, NazwaGracza(playerid), NazwaRangi(playerid), text);
  5.         SendClientMessageToAll(-1, wiadomosc);
  6.         return 1;
  7.     }
  8.     else if(text[1])
  9.     {
  10.         format(wiadomosc, sizeof wiadomosc, "%s mówi %s", NazwaGracza(playerid), text);
  11.         SendClientMessangeInRange(playerid, MESSAGERANGE, -1, wiadomosc);
  12.         SetPlayerChatBubble(playerid, text, COLOR_RED, 10, 10000);
  13.         return 1;
  14.     }
  15.     return 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement