Akira_Yiin

M:P:?

May 23rd, 2015
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.12 KB | None | 0 0
  1. #define M: msg
  2. #define msgP: msgp
  3. #define msgpE: msgpE
  4. #define msgpI: msgpI
  5. #define msgpX: msgpX
  6. #define msgG: msgg
  7.  
  8.  
  9. M:P:E(pid, text[], va_args<>)
  10. {
  11.  static buffer[300];
  12.  va_formatex(buffer, _, text, va_start<2>);
  13.  
  14.  format(buffer, sizeof buffer, MSG_C_RED3"•x• Problema - "MSG_C_GOLD" %s", buffer);
  15.  
  16.  SendClientMessage(pid, -1, buffer);
  17.  return true;
  18. }
  19.  
  20. M:P:I(pid, text[], va_args<>)
  21. {
  22.  static buffer[300];
  23.  va_formatex(buffer, _, text, va_start<2>);
  24.  
  25.  format(buffer, sizeof buffer, MSG_C_DEEPSKYBLUE1"•i• Informacija - "MSG_C_SNOW" %s", buffer);
  26.  
  27.  SendClientMessage(pid, -1, buffer);
  28.  return true;
  29. }
  30.  
  31. M:P:G(pid, text[], va_args<>)
  32. {
  33.  static buffer[300];
  34.  va_formatex(buffer, _, text, va_start<2>);
  35.  
  36.  format(buffer, sizeof buffer, MSG_C_CHARTREUSE"•i• Informacija - "MSG_C_LIME_GREEN"%s"MSG_C_SNOW, buffer);
  37.  
  38.  SendClientMessage(pid, -1, buffer);
  39.  return true;
  40. }
  41.  
  42. M:P:X(pid, text[], va_args<>)
  43. {
  44.  static buffer[300];
  45.  va_formatex(buffer, _, text, va_start<2>);
  46.  
  47.  format(buffer, sizeof buffer, "{fcca00}• {fcca1e}%s", buffer);
  48.  
  49.  SendClientMessage(pid, -1, buffer);
  50.  return true;
  51. }
Advertisement
Add Comment
Please, Sign In to add comment