Advertisement
Guest User

SBI - Simple Bot Include

a guest
Nov 8th, 2011
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. /*
  2.  
  3. Simple Bot Include
  4. Copyright @2011 - 2012
  5.  
  6. Made by:
  7. GAMER_PS2
  8.  
  9.  
  10. */
  11.  
  12. //==============================================================//
  13.  
  14. #if defined _SBI_included
  15. #endinput
  16. #endif
  17. #define _SBI_included
  18.  
  19. #include <a_samp>
  20.  
  21. //==============================================================//
  22.  
  23. /*
  24.  
  25. Function: AddLeoKateMsg
  26. Made by: GAMER_PS2
  27.  
  28. */
  29.  
  30. stock AddLeoKateMsg(const msg[], color)
  31. {
  32. new string[128];
  33. format(string,sizeof(string),"Leo & Kate: {FFFFFF}%s",msg);
  34. SendClientMessageToAll(color,string);
  35. return 1;
  36. }
  37.  
  38. //==============================================================//
  39.  
  40. /*
  41.  
  42. Function: AddCBotText
  43. Made by: GAMER_PS2
  44.  
  45. */
  46.  
  47. stock AddCBotText(const botname[], const msg[], color)
  48. {
  49. new string[128];
  50.  
  51.  
  52. format(string,sizeof(string),"%s: {FFFFFF}%s",botname,msg);
  53. SendClientMessageToAll(color,string);
  54. return 1;
  55. }
  56.  
  57. //==============================================================//
  58.  
  59.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement