Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define FILTERSCRIPT
- #include <a_samp>
- #include <zcmd>
- #if defined FILTERSCRIPT
- //*****[Colours]*****//
- #define COLOR_GREEN 0x33AA33AA
- #define COL_RED "{F81414}"
- #define COL_GREEN "{00FF22}"
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" In-Game Interior Teleports");
- print(" By: Th3UnKnOwN");
- print(" A [SBUK] Cops and Robbers Product");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- print("\n--------------------------------------");
- print(" Closing In-Game Interior teleports");
- print(" By: Th3UnKnOwN");
- print("--------------------------------------\n");
- return 1;
- }
- #endif
- CMD:interiors(playerid, params[])
- {
- ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Interiors", "Shops\nCasinos\nBars/Clubs\nMisc", "Select", "Close");
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == 1)
- {
- if(response)
- {
- if(listitem == 0)
- {
- ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Shops", "24/7 1\n24/7 2\nAmmunation\nStacked Pizza\nTattoo\nBinco\nVictim\nZip\nBurger Shot\nClucking Bell\nDonut Shop", "Select", "Back");
- }
- if(listitem == 1)
- {
- ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Casinos", "4 Dragons\nCaligulas\nNormal Casino", "Select", "Back");
- }
- if(listitem == 2)
- {
- ShowPlayerDialog(playerid, 4, DIALOG_STYLE_LIST, "Bars/Clubs", "Ganton Bar\nAlhambra Club\nLiberty City Bar", "Select", "Back");
- }
- if(listitem == 3)
- {
- ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Misc", "Ganton Gym\nBank\nCity Hall\nLSPD", "Select", "Back");
- }
- }
- }
- if(dialogid == 2)
- {
- if(!response) return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Interiors", "Shops\nCasinos\nBars/Clubs\nMisc", "Select", "Close");
- if(response)
- {
- if(listitem == 0)
- {
- SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
- SendClientMessage(playerid, COLOR_GREEN, "24/7 1 Interior: 16");
- SetPlayerInterior(playerid, 16);
- SetPlayerPos(playerid, -31.2933, -138.7831, 1003.5469);
- }
- if(listitem == 1)
- {
- SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
- SendClientMessage(playerid, COLOR_GREEN, "24/7 2 Interior: 17");
- SetPlayerInterior(playerid, 17);
- SetPlayerPos(playerid, -20.4971, -180.7551, 1003.5469);
- }
- if(listitem == 2)
- {
- SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
- SendClientMessage(playerid, COLOR_GREEN, "Ammunation 1 Interior: 7");
- SetPlayerInterior(playerid, 7);
- SetPlayerPos(playerid, 311.7179, -137.7560, 999.6016);
- }
- if(listitem == 3)
- {
- SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
- SendClientMessage(playerid, COLOR_GREEN, "Stacked Pizza Co Interior: 5");
- SetPlayerInterior(playerid, 5);
- SetPlayerPos(playerid, 371.4286,-125.5176,1001.4995);
- }
- if(listitem == 4)
- {
- SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
- SendClientMessage(playerid, COLOR_GREEN, "Tattoo shop Interior: 3");
- SetPlayerInterior(playerid, 3);
- SetPlayerPos(playerid, -203.5261,-41.1432,1002.2734);
- }
- if(listitem == 5)
- {
- SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
- SendClientMessage(playerid, COLOR_GREEN, "Binco Clothes Interior: 15");
- SetPlayerInterior(playerid, 15);
- SetPlayerPos(playerid, 209.7231,-105.3698,1005.1328);
- }
- if(listitem == 6)
- {
- SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
- SendClientMessage(playerid, COLOR_GREEN, "Victim Clothes Interior: 5");
- SetPlayerInterior(playerid, 5);
- SetPlayerPos(playerid, 209.6263,-5.0065,1005.2109);
- }
- if(listitem == 7)
- {
- SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
- SendClientMessage(playerid, COLOR_GREEN, "Zip Clothes Interior: 18");
- SetPlayerInterior(playerid, 18);
- SetPlayerPos(playerid, 158.8535,-85.4620,1001.8047);
- }
- if(listitem == 8)
- {
- SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
- SendClientMessage(playerid, COLOR_GREEN, "Burger Shot Interior: 10");
- SetPlayerInterior(playerid, 10);
- SetPlayerPos(playerid, 371.8721,-70.2320,1001.5078);
- }
- if(listitem == 9)
- {
- SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
- SendClientMessage(playerid, COLOR_GREEN, "Cluckin' Bell Interior: 9");
- SetPlayerInterior(playerid, 9);
- SetPlayerPos(playerid, 368.1101,-7.8857,1001.8516);
- }
- if(listitem == 10)
- {
- SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
- SendClientMessage(playerid, COLOR_GREEN, "Donut Shop Interior: 17");
- SetPlayerInterior(playerid, 17);
- SetPlayerPos(playerid, 374.6387,-179.5650,1000.6328);
- }
- }
- }
- if(dialogid == 3)
- {
- if(!response) return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Interiors", "Shops\nCasinos\nBars/Clubs\nMisc", "Select", "Close");
- if(response)
- {
- if(listitem == 0)
- {
- SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
- SendClientMessage(playerid, COLOR_GREEN, "4 Dragons Casino Interior: 10");
- SetPlayerInterior(playerid, 10);
- SetPlayerPos(playerid, 1956.3617,1037.3828,992.8652);
- }
- if(listitem == 1)
- {
- SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
- SendClientMessage(playerid, COLOR_GREEN, "Caligulas Casino Interior: 1");
- SetPlayerInterior(playerid, 1);
- SetPlayerPos(playerid, 2233.7537,1698.7278,1008.3594);
- }
- if(listitem == 2)
- {
- SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
- SendClientMessage(playerid, COLOR_GREEN, "Normal Casino Interior: 12");
- SetPlayerInterior(playerid, 12);
- SetPlayerPos(playerid, 1133.7147,-6.3407,1000.6797);
- }
- }
- }
- if(dialogid == 4)
- {
- if(!response) return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Interiors", "Shops\nCasinos\nBars/Clubs\nMisc", "Select", "Close");
- if(response)
- {
- if(listitem == 0)
- {
- SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
- SendClientMessage(playerid, COLOR_GREEN, "Ganton bar Interior: 11");
- SetPlayerInterior(playerid, 11);
- SetPlayerPos(playerid, 507.6634,-75.0145,998.7578);
- }
- if(listitem == 1)
- {
- SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
- SendClientMessage(playerid, COLOR_GREEN, "Alhambra Club Interior: 17");
- SetPlayerInterior(playerid, 17);
- SetPlayerPos(playerid, 488.6237,-16.6811,1000.6797);
- }
- if(listitem == 2)
- {
- SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
- SendClientMessage(playerid, COLOR_GREEN, "Liberty City Bar Interior: 1");
- SetPlayerInterior(playerid, 1);
- SetPlayerPos(playerid, -794.5854,498.1396,1376.1953);
- }
- }
- }
- if(dialogid == 5)
- {
- if(!response) return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Interiors", "Shops\nCasinos\nBars/Clubs\nMisc", "Select", "Close");
- if(response)
- {
- if(listitem == 0)
- {
- SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
- SendClientMessage(playerid, COLOR_GREEN, "Ganton Gym Interior: 5");
- SetPlayerInterior(playerid, 5);
- SetPlayerPos(playerid, -794.5854,498.1396,1376.1953);
- }
- if(listitem == 1)
- {
- SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
- SendClientMessage(playerid, COLOR_GREEN, "The Bank Interior: 0");
- SetPlayerInterior(playerid, 0);
- SetPlayerPos(playerid, 2311.3652,-9.2314,26.7422);
- }
- if(listitem == 2)
- {
- SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
- SendClientMessage(playerid, COLOR_GREEN, "City Hall Interior: 3");
- SetPlayerInterior(playerid, 3);
- SetPlayerPos(playerid, 365.0260,174.5961,1008.3828);
- }
- if(listitem == 3)
- {
- SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
- SendClientMessage(playerid, COLOR_GREEN, "LSPD Interior: 6");
- SetPlayerInterior(playerid, 6);
- SetPlayerPos(playerid, 246.4703,69.6287,1003.6406);
- }
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement