|
|
@@ -10208,34 +10208,34 @@ CMD:bm(playerid, params[]) return cmd_blackmarket(playerid, params);
|
|
|
CMD:blackmarket(playerid, params[])
|
|
|
{
|
|
|
|
|
|
- if(PlayerInfo[playerid][pDonator] < 1)
|
|
|
- {
|
|
|
- return SendClientMessage(playerid, COLOR_LIGHTSLATEGRAY, "You need a donator package to access this market.");
|
|
|
- }
|
|
|
- if(IsPlayerInRangeOfPoint(playerid,3,-20.229053,17.140705,467.120300) || IsPlayerInRangeOfPoint(playerid,3,1040.369995,-1409.241210,-6.406630) || IsPlayerInRangeOfPoint(playerid,3,-4118.0459, 863.6408, 10.0257))
|
|
|
- {
|
|
|
- if(PlayerInfo[playerid][pDonator] == 2)
|
|
|
- {
|
|
|
- new string[1536] = "#\tWeapon Name\tCost", title[64];
|
|
|
-
|
|
|
- strcat(string, "\n1.\tHealth\t(FREE)");
|
|
|
- strcat(string, "\n2.\tArmor\t($500)");
|
|
|
- strcat(string, "\n3.\tKatana\t(FREE)");
|
|
|
- strcat(string, "\n4.\t9MM\t($200)");
|
|
|
- strcat(string, "\n5.\tSilenced Pistol\t($200)");
|
|
|
- strcat(string, "\n6.\tDesert Eagle\t($1000)");
|
|
|
- strcat(string, "\n7.\tSPAS-12\t($2000)");
|
|
|
- strcat(string, "\n8.\tSniper\t($1000)");
|
|
|
- strcat(string, "\n9.\tM4-A1\t($1000)");
|
|
|
- strcat(string, "\n10.\tMp5\t($700)");
|
|
|
- strcat(string, "\n11.\tShotgun\t($500)");
|
|
|
-
|
|
|
- format(title, sizeof(title), "{AAC5E3}Sapphire Donator");
|
|
|
- return ShowPlayerDialogEx(playerid, DIALOG_BLACKMARKET2, DIALOG_STYLE_TABLIST_HEADERS, title, string, "Buy", "Cancel");
|
|
|
- //return ShowPlayerDialogEx(playerid, DIALOG_BLACKMARKET2, DIALOG_STYLE_LIST, "{AAC5E3}Sapphire Donator", "(FREE) Health\n($500) Armor\n(FREE) Katana\n($200) 9MM\n($200) Silenced Pistol\n($1000) Desert Eagle\n($2000) SPAS-12\n($2500) Sniper\n($1000) M4A1\n($700) MP5\n($500) Shotgun", "Select", "Cancel");
|
|
|
- }
|
|
|
- if(PlayerInfo[playerid][pDonator] == 3)
|
|
|
- {
|
|
|
+ if(PlayerInfo[playerid][pDonator] < 1)
|
|
|
+ {
|
|
|
+ return SendClientMessage(playerid, COLOR_LIGHTSLATEGRAY, "You need a donator package to access this market.");
|
|
|
+ }
|
|
|
+ if(IsPlayerInRangeOfPoint(playerid,3,-20.229053,17.140705,467.120300) || IsPlayerInRangeOfPoint(playerid,3,1040.369995,-1409.241210,-6.406630) || IsPlayerInRangeOfPoint(playerid,3,-4118.0459, 863.6408, 10.0257))
|
|
|
+ {
|
|
|
+ if(PlayerInfo[playerid][pDonator] == 2)
|
|
|
+ {
|
|
|
+ new string[1536] = "#\tWeapon Name\tCost", title[64];
|
|
|
+
|
|
|
+ strcat(string, "\n1.\tHealth\t(FREE)");
|
|
|
+ strcat(string, "\n2.\tArmor\t($500)");
|
|
|
+ strcat(string, "\n3.\tKatana\t(FREE)");
|
|
|
+ strcat(string, "\n4.\t9MM\t($200)");
|
|
|
+ strcat(string, "\n5.\tSilenced Pistol\t($200)");
|
|
|
+ strcat(string, "\n6.\tDesert Eagle\t($1000)");
|
|
|
+ strcat(string, "\n7.\tSPAS-12\t($2000)");
|
|
|
+ strcat(string, "\n8.\tSniper\t($1000)");
|
|
|
+ strcat(string, "\n9.\tM4-A1\t($1000)");
|
|
|
+ strcat(string, "\n10.\tMp5\t($700)");
|
|
|
+ strcat(string, "\n11.\tShotgun\t($500)");
|
|
|
+
|
|
|
+ format(title, sizeof(title), "{AAC5E3}Sapphire Donator");
|
|
|
+ return ShowPlayerDialogEx(playerid, DIALOG_BLACKMARKET2, DIALOG_STYLE_TABLIST_HEADERS, title, string, "Buy", "Cancel");
|
|
|
+ //return ShowPlayerDialogEx(playerid, DIALOG_BLACKMARKET2, DIALOG_STYLE_LIST, "{AAC5E3}Sapphire Donator", "(FREE) Health\n($500) Armor\n(FREE) Katana\n($200) 9MM\n($200) Silenced Pistol\n($1000) Desert Eagle\n($2000) SPAS-12\n($2500) Sniper\n($1000) M4A1\n($700) MP5\n($500) Shotgun", "Select", "Cancel");
|
|
|
+ }
|
|
|
+ if(PlayerInfo[playerid][pDonator] == 3)
|
|
|
+ {
|
|
|
new string[1536] = "#\tWeapon Name\tCost", title[64];
|
|
|
|
|
|
strcat(string, "\n1.\tHealth\t(FREE)");
|
|
|
@@ -10270,11 +10270,10 @@ CMD:blackmarket(playerid, params[])
|
|
|
return ShowPlayerDialogEx(playerid, DIALOG_BLACKMARKET1, DIALOG_STYLE_TABLIST_HEADERS, title, string, "Buy", "Cancel");
|
|
|
}
|
|
|
//ShowPlayerDialogEx(playerid, DIALOG_BLACKMARKET1, DIALOG_STYLE_LIST, "{AAC5E3}Ruby Donator", "(FREE) Health\n($600) Armor\n(FREE) Katana\n($300) 9MM\n($300) Silenced Pistol\n($800) MP5\n($600) Shotgun", "Select", "Cancel");
|
|
|
- }
|
|
|
- else
|
|
|
- SendClientMessage(playerid, COLOR_GRAD1, "You are not near at the black market order room.");
|
|
|
+ }
|
|
|
+ else SendClientMessage(playerid, COLOR_GRAD1, "You are not near at the black market order room.");
|
|
|
|
|
|
- return 1;
|
|
|
+ return 1;
|
|
|
}
|
|
|
|
|
|
CMD:dlocker(playerid, params[]) return cmd_donatorlocker(playerid, params);
|