vip.inc 5.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. #define VIP_WELCOME 6652
  2. //CHAT COLOR DEFINES
  3. #define COL_WHITE "{FFFFFF}" //default
  4. #define COL_YELL "{FFFF00}"
  5. #define COL_GVIP "{FFC600}" //gold vip
  6. #define COL_SVIP "{ACAEB0}" //silver vip
  7. #define COL_BVIP "{BB7900}" //bronze vip
  8. #define COL_LOC "{8D8DFF}" //location
  9. #define COL_JOB "{FFFF91}" //job
  10. stock displayVIPWelcomeMessage(playerid, level, expires[]) {
  11. switch(level) {
  12. case 1: { //BRONZE
  13. new vipType[] = "Bronze";
  14. new vipstr[2048];
  15. format(vipstr, sizeof(vipstr), ""#COL_WHITE"Thank you for supporting "#COL_YELL"Project Role Play"#COL_WHITE"!\nYour "#COL_BVIP"%s"#COL_WHITE" VIP will allow you to take advantage of the following features:\n\n", vipType);
  16. new perk1[] = " * 15% increase in Materials when using the "#COL_JOB"Arms Dealer Job"#COL_WHITE"\n";
  17. new perk2[] = " * 15% increase in Cash when using the "#COL_JOB"Drug Smuggler Job"#COL_WHITE"\n";
  18. new perk3[] = " * 20% off when purchasing items from "#COL_LOC"24/7"#COL_WHITE" stores\n";
  19. new perk4[] = " * 20% time reduction when getting sent to "#COL_LOC"Hospital"#COL_WHITE"\n";
  20. new perk5[] = " * 15% increase in Cash when selling vehicles at the dropcar crane\n";
  21. new perk6[] = " * Full access to the "#COL_LOC"VIP lounge"#COL_WHITE" and Bronze VIP restricted vehicles\n";
  22. new perk7[] = " * Access to VIP commands and the "#COL_LOC"Black Market"#COL_WHITE"\n";
  23. new perk8[] = "\n * Unlocked "#COL_LOC"24/7"#COL_WHITE" items:\n";
  24. new perk9[] = " - Medium Jerrycan\n";
  25. new perk10[] = " - Medium Boombox\n";
  26. format(vipstr, sizeof(vipstr), "%s%s%s%s%s%s%s%s%s%s%s", vipstr, perk1, perk2, perk3, perk4, perk5, perk6, perk7, perk8, perk9, perk10);
  27. format(vipstr, sizeof(vipstr), "%s\nYour VIP will expire in one month on the %s.", vipstr, expires);
  28. format(vipstr, sizeof(vipstr), "%s\nIf you are interested in contributing further, check out the online store at {800080}donate.p-rp.xyz"#COL_WHITE".", vipstr);
  29. ShowPlayerDialog(playerid, VIP_WELCOME, DIALOG_STYLE_MSGBOX, "Bronze VIP", vipstr, "Ok", "Cancel");
  30. }
  31. case 2: { // SILVER
  32. new vipType[] = "Silver";
  33. new vipstr[2048];
  34. format(vipstr, sizeof(vipstr), ""#COL_WHITE"Thank you for supporting "#COL_YELL"Prject Role Play"#COL_WHITE"!\nYour "#COL_SVIP"%s"#COL_WHITE" VIP will allow you to take advantage of the following features:\n\n", vipType);
  35. new perk1[] = " * 20% increase in Materials when using the "#COL_JOB"Arms Dealer Job"#COL_WHITE"\n";
  36. new perk2[] = " * 20% increase in Cash when using the "#COL_JOB"Drug Smuggler Job"#COL_WHITE"\n";
  37. new perk3[] = " * 25% off when purchasing items from "#COL_LOC"24/7"#COL_WHITE" stores\n";
  38. new perk4[] = " * 20% time reduction when getting sent to "#COL_LOC"Hospital"#COL_WHITE"\n";
  39. new perk5[] = " * 20% increase in Cash when selling vehicles at the dropcar crane\n";
  40. new perk6[] = " * Full access to the "#COL_LOC"VIP lounge"#COL_WHITE" and Silver/Bronze VIP restricted vehicles\n";
  41. new perk7[] = " * Access to VIP commands and the "#COL_LOC"Black Market"#COL_WHITE"\n";
  42. new perk8[] = "\n * Unlocked "#COL_LOC"24/7"#COL_WHITE" items:\n";
  43. new perk9[] = " - Medium Jerrycan\n";
  44. new perk10[] = " - Medium Boombox\n";
  45. format(vipstr, sizeof(vipstr), "%s%s%s%s%s%s%s%s%s%s%s", vipstr, perk1, perk2, perk3, perk4, perk5, perk6, perk7, perk8, perk9, perk10);
  46. format(vipstr, sizeof(vipstr), "%s\nYour VIP will expire in one month on the %s.", vipstr, expires);
  47. format(vipstr, sizeof(vipstr), "%s\nIf you are interested in contributing further, check out the online store at {800080}donate.p-rp.xyz"#COL_WHITE".", vipstr);
  48. ShowPlayerDialog(playerid, VIP_WELCOME, DIALOG_STYLE_MSGBOX, "Silver VIP", vipstr, "Ok", "Cancel");
  49. }
  50. case 3: { //GOLD
  51. new vipType[] = "Gold";
  52. new vipstr[2048];
  53. format(vipstr, sizeof(vipstr), ""#COL_WHITE"Thank you for supporting "#COL_YELL"Project Role Play"#COL_WHITE"!\nYour "#COL_GVIP"%s"#COL_WHITE" VIP will allow you to take advantage of the following features:\n\n", vipType);
  54. new perk1[] = " * 30% increase in Materials when using the "#COL_JOB"Arms Dealer Job"#COL_WHITE"\n";
  55. new perk2[] = " * 30% increase in Cash when using the "#COL_JOB"Drug Smuggler Job"#COL_WHITE"\n";
  56. new perk3[] = " * 30% off when purchasing items from "#COL_LOC"24/7"#COL_WHITE" stores\n";
  57. new perk4[] = " * 30% time reduction when getting sent to "#COL_LOC"Hospital"#COL_WHITE"\n";
  58. new perk5[] = " * 30% increase in Cash when selling vehicles at the dropcar crane\n";
  59. new perk6[] = " * Full access to the "#COL_LOC"VIP lounge"#COL_WHITE" and all VIP restricted vehicles\n";
  60. new perk7[] = " * Access to VIP commands and the "#COL_LOC"Black Market"#COL_WHITE"\n";
  61. new perk8[] = "\n * Unlocked "#COL_LOC"24/7"#COL_WHITE" items:\n";
  62. new perk9[] = " - Large Jerrycan\n";
  63. new perk10[] = " - Large Boombox\n";
  64. format(vipstr, sizeof(vipstr), "%s%s%s%s%s%s%s%s%s%s%s", vipstr, perk1, perk2, perk3, perk4, perk5, perk6, perk7, perk8, perk9, perk10);
  65. format(vipstr, sizeof(vipstr), "%s\nYour VIP will expire in one month on the %s. If you choose to renew it before then you\nwill recieve a free {800080}Bronze VIP package"#COL_WHITE" that you can give to a friend!", vipstr, expires);
  66. format(vipstr, sizeof(vipstr), "%s\nIf you are interested in contributing further, check out the online store at {800080}donate.p-rp.xyz"#COL_WHITE".", vipstr);
  67. ShowPlayerDialog(playerid, VIP_WELCOME, DIALOG_STYLE_MSGBOX, "Gold VIP", vipstr, "Ok", "Cancel");
  68. }
  69. }
  70. }