Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define FILTERSCRIPT
- #define DIALOG_WEAPLIST 3947
- #define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
- #define COLOR_GREY 0xAFAFAFAA
- #define COLOR_GREEN 0x33AA33AA
- #define COLOR_RED 0xAA3333AA
- #define COLOR_YELLOW 0xFFFF00AA
- #define COLOR_WHITE 0xFFFFFFAA
- #define COLOR_BLUE 0x0000BBAA
- #define COLOR_LIGHTBLUE 0x33CCFFAA
- #define COLOR_ORANGE 0xFF9900AA
- #define COLOR_RED 0xAA3333AA
- #define COLOR_LIME 0x10F441AA
- #define COLOR_MAGENTA 0xFF00FFFF
- #define COLOR_NAVY 0x000080AA
- #define COLOR_AQUA 0xF0F8FFAA
- #define COLOR_CRIMSON 0xDC143CAA
- #define COLOR_FLBLUE 0x6495EDAA
- #define COLOR_BISQUE 0xFFE4C4AA
- #define COLOR_BLACK 0x000000AA
- #define COLOR_CHARTREUSE 0x7FFF00AA
- #define COLOR_BROWN 0XA52A2AAA
- #define COLOR_CORAL 0xFF7F50AA
- #define COLOR_GOLD 0xB8860BAA
- #define COLOR_GREENYELLOW 0xADFF2FAA
- #define COLOR_INDIGO 0x4B00B0AA
- #define COLOR_IVORY 0xFFFF82AA
- #define COLOR_LAWNGREEN 0x7CFC00AA
- #define COLOR_SEAGREEN 0x20B2AAAA
- #define COLOR_LIMEGREEN 0x32CD32AA //<--- Dark lime
- #define COLOR_MIDNIGHTBLUE 0X191970AA
- #define COLOR_MAROON 0x800000AA
- #define COLOR_OLIVE 0x808000AA
- #define COLOR_ORANGERED 0xFF4500AA
- #define COLOR_PINK 0xFFC0CBAA // - Light light pink
- #define COLOR_SPRINGGREEN 0x00FF7FAA
- #define COLOR_TOMATO 0xFF6347AA // - Tomato >:/ sounds wrong lol... well... :P
- #define COLOR_YELLOWGREEN 0x9ACD32AA //- like military green
- #define COLOR_MEDIUMAQUA 0x83BFBFAA
- #define COLOR_MEDIUMMAGENTA 0x8B008BAA // dark magenta ^^
- #include <a_samp>
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Weapon BackBag By George [ LOADED ]");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #endif
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- dcmd(weaplist, 8, cmdtext);
- return 0;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == DIALOG_WEAPLIST)
- {
- if(response)
- {
- if(listitem == 0)
- {
- GivePlayerWeapon(playerid, 25, 1500);
- GivePlayerWeapon(playerid, 26, 1500);
- GivePlayerWeapon(playerid, 30, 1500);
- GivePlayerWeapon(playerid, 43, 1500);
- SetPlayerHealth(playerid, 100);
- SetPlayerArmour(playerid, 100);
- SendClientMessage(playerid, COLOR_BLUE, "You Loaded BackBag1 And Got : 1)Shotgun\n2)Sawnoff Shotgun\n3)AK-47\n4)Camera\n5)Health\n6)Armour");
- }
- if(listitem == 1)
- {
- GivePlayerWeapon(playerid, 29, 1500);
- GivePlayerWeapon(playerid, 34, 1500);
- GivePlayerWeapon(playerid, 46, 1500);
- GivePlayerWeapon(playerid, 16, 1500);
- SetPlayerHealth(playerid, 100);
- SetPlayerArmour(playerid, 100);
- SendClientMessage(playerid, COLOR_BLUE, "You Loaded BackBag2 And Got : 1)MP5\n2)Sniper Rifle\n3)Parachute\n4)Grenade\n5)Health\n6)Armour");
- }
- if(listitem == 2)
- {
- GivePlayerWeapon(playerid, 28, 1500);
- GivePlayerWeapon(playerid, 31, 1500);
- GivePlayerWeapon(playerid, 27, 1500);
- GivePlayerWeapon(playerid, 45, 1500);
- SetPlayerHealth(playerid, 100);
- SetPlayerArmour(playerid, 100);
- SendClientMessage(playerid, COLOR_BLUE, "You Loaded BackBag3 And Got : 1)Micro SMG/Uzi\n2)M4\n3)Combat Shotgun\n4)Thermal Goggles\n5)Health\n6)Armour");
- }
- if(listitem == 3)
- {
- GivePlayerWeapon(playerid, 32, 1500);
- GivePlayerWeapon(playerid, 33, 1500);
- GivePlayerWeapon(playerid, 37, 1500);
- GivePlayerWeapon(playerid, 41, 1500);
- SetPlayerHealth(playerid, 100);
- SetPlayerArmour(playerid, 100);
- SendClientMessage(playerid, COLOR_BLUE, "You Loaded BackBag4 And Got : 1)Tec-9\n2)Country Rifle\n3)Flamethrower\n4)Spraycan\n5)Health\n6)Armour");
- }
- if(listitem == 4)
- {
- GivePlayerWeapon(playerid, 18, 1500);
- GivePlayerWeapon(playerid, 22, 1500);
- GivePlayerWeapon(playerid, 35, 1500);
- GivePlayerWeapon(playerid, 44, 1500);
- SetPlayerHealth(playerid, 100);
- SetPlayerArmour(playerid, 100);
- SendClientMessage(playerid, COLOR_BLUE, "You Loaded BackBag5 And Got : 1)Molotov Cocktail\n2)9mm\n3)RPG\n4)Night Vis Goggles\n5)Health\n6)Armour");
- }
- }
- return 1;
- }
- return 0;
- }
- dcmd_weaplist(playerid, params[])
- {
- #pragma unused params
- ShowPlayerDialog(playerid,DIALOG_WEAPLIST, DIALOG_STYLE_LIST, "Weaplist", "BackBag1\nBackBag2\nBackBag3\nBackBag4\nBackBag5", "Select", "Cancel");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement