Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //=====================================================================================================================
- //=====================================================================================================================
- //=====================================================================================================================
- // DONT REMOVE THE CREDITS <<<<<<<<<<-------------------------------------
- // DONT CLAIM THIS AS YOURE'S <<<<<<<<<<----------------------------------
- // DON'T CHANGE ANYTHING ON THIS FS! <<<<<<<<<<---------------------------
- // CREDITS:
- // ELMO <<<<<<<<<<-------------------------------------
- // SA-MP FORUM <<<<<<<<<<----------------------------------
- //=====================================================================================================================
- //=====================================================================================================================
- //=====================================================================================================================
- #define FILTERSCRIPT
- #include <a_samp>
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- AddStaticVehicle(451,1536.2253,-1678.0057,13.0897,359.4492,16,16); // Ca
- AddStaticVehicle(451,1535.8132,-1666.9285,13.0888,180.3453,16,16); // Car
- print("\n--------------------------------------");
- print(" EMS BY ELMO! ");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- main()
- {
- print("\n----------------------------------");
- print(" Blank Gamemode by your name here");
- print("----------------------------------\n");
- }
- #endif
- public OnGameModeInit()
- {
- // Don't use these lines if it's a filterscript
- SetGameModeText("EMS BY ELMO");
- AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
- return 1;
- }
- public OnGameModeExit()
- {
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
- SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
- SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/EMS", cmdtext, true, 10) == 0)
- {
- ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Spawn Menu", "Weapons \n M4 \n Ak47 \n Sniper Rifle \n Tec9 \n Uzi \n MP5 \n Knife \n Chainsaw \n Tear Gas \n Grenades \nTeleports \n Los Santos PD \n San Fierro Wang Cars \nSportCars \n Infernus \n Hotring B \n Hotring A \n Hotring \n ZR 350 \n Super GT \n Bullet \n Turismo \n Comet \n Cheetah \n Windsor \n Banshee \n Next", "Select", "Quit");
- return 1;
- }
- return 0;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == 3)
- {
- if(response)
- {
- if(listitem == 1)
- {
- GivePlayerWeapon(playerid, 31, 5000);
- }
- if(listitem == 2)
- {
- GivePlayerWeapon(playerid, 30, 5000);
- }
- if(listitem == 3)
- {
- GivePlayerWeapon(playerid, 34, 5000);
- }
- if(listitem == 4)
- {
- GivePlayerWeapon(playerid, 32, 5000);
- }
- if(listitem == 5)
- {
- GivePlayerWeapon(playerid, 28, 5000);
- }
- if(listitem == 6)
- {
- GivePlayerWeapon(playerid, 29, 5000);
- }
- if(listitem == 7)
- {
- GivePlayerWeapon(playerid, 4, 5000);
- }
- if(listitem == 8)
- {
- GivePlayerWeapon(playerid, 9, 5000);
- }
- if(listitem == 9)
- {
- GivePlayerWeapon(playerid, 17, 5000);
- }
- if(listitem == 10)
- {
- GivePlayerWeapon(playerid, 16, 5000);
- }
- if(listitem == 12)
- {
- SetPlayerPos(playerid, 1543.6411,-1675.8182,13.5569);
- }
- if(listitem == 13)
- {
- SetPlayerPos(playerid, -1974.4752,264.9094,35.1719);
- }
- new Float:x, Float:y, Float:z;
- GetPlayerPos(playerid, x, y, z);
- if(listitem == 15)
- {
- CreateVehicle(411, x+5, y, z, 90, -1, -1, -1);
- }
- if(listitem == 16)
- {
- CreateVehicle(503, x+5, y, z, 90, -1, -1, -1);
- }
- if(listitem == 17)
- {
- CreateVehicle(502, x+5, y, z, 90, -1, -1, -1);
- }
- if(listitem == 18)
- {
- CreateVehicle(494, x+5, y, z, 90, -1, -1, -1);
- }
- if(listitem == 19)
- {
- CreateVehicle(477, x+5, y, z, 90, -1, -1, -1);
- }
- if(listitem == 20)
- {
- CreateVehicle(506, x+5, y, z, 90, -1, -1, -1);
- }
- if(listitem == 21)
- {
- CreateVehicle(541, x+5, y, z, 90, -1, -1, -1);
- }
- if(listitem == 22)
- {
- CreateVehicle(451, x+5, y, z, 90, -1, -1, -1);
- }
- if(listitem == 23)
- {
- CreateVehicle(480, x+5, y, z, 90, -1, -1, -1);
- }
- if(listitem == 24)
- {
- CreateVehicle(415, x+5, y, z, 90, -1, -1, -1);
- }
- if(listitem == 25)
- {
- CreateVehicle(555, x+5, y, z, 90, -1, -1, -1);
- }
- if(listitem == 26)
- {
- CreateVehicle(429, x+5, y, z, 90, -1, -1, -1);
- }
- if(listitem == 27)
- {
- ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Cars 1", "Lowriders \n Blade \n Broadway \n Remmington \n Savanna \n Slamvan \n Tornado \n Voodoo \n Next", "Select", "Quit");
- }
- }
- }
- if(dialogid == 2)
- {
- new Float:x, Float:y, Float:z;
- GetPlayerPos(playerid, x, y, z);
- if(listitem == 1)
- {
- CreateVehicle(536, x+5, y, z, 90, -1, -1, -1);
- }
- if(listitem == 2)
- {
- CreateVehicle(575, x+5, y, z, 90, -1, -1, -1);
- }
- if(listitem == 3)
- {
- CreateVehicle(534, x+5, y, z, 90, -1, -1, -1);
- }
- if(listitem == 4)
- {
- CreateVehicle(567, x+5, y, z, 90, -1, -1, -1);
- }
- if(listitem == 5)
- {
- CreateVehicle(535, x+5, y, z, 90, -1, -1, -1);
- }
- if(listitem == 6)
- {
- CreateVehicle(576, x+5, y, z, 90, -1, -1, -1);
- }
- if(listitem == 7)
- {
- CreateVehicle(412, x+5, y, z, 90, -1, -1, -1);
- }
- if(listitem == 8)
- ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Cars 2", "Street Racers \n Elegy \n Flash \n Jester \n Stratum \n Sultan \n Uranus", "Select", "Quit");
- }
- if(dialogid == 5)
- {
- new Float:x, Float:y, Float:z;
- GetPlayerPos(playerid, x, y, z);
- if(listitem == 1)
- {
- CreateVehicle(562, x+5, y, z, 90, -1, -1, -1);
- }
- if(listitem == 2)
- {
- CreateVehicle(565, x+5, y, z, 90, -1, -1, -1);
- }
- if(listitem == 3)
- {
- CreateVehicle(559, x+5, y, z, 90, -1, -1, -1);
- }
- if(listitem == 4)
- {
- CreateVehicle(561, x+5, y, z, 90, -1, -1, -1);
- }
- if(listitem == 5)
- {
- CreateVehicle(560, x+5, y, z, 90, -1, -1, -1);
- }
- if(listitem == 6)
- {
- CreateVehicle(558, x+5, y, z, 90, -1, -1, -1);
- }
- }
- if(dialogid == 4 && response)
- {
- if(listitem == 0)
- {
- ShowPlayerDialog(playerid, 4, DIALOG_STYLE_INPUT, "ChangeNick", "Type Your New Name Below:", "Change", "Cancel");
- SetPlayerName(playerid,inputtext);
- }
- if(listitem == 1)
- {
- ShowPlayerDialog(playerid, 4, DIALOG_STYLE_INPUT, "Announce", "Type Your Announce Below:", "Apply", "Cancel");
- GameTextForAll(inputtext,4000,3);
- }
- }
- }
- public OnPlayerClickPlayer(playerid, clickedplayerid, source)
- {
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement