Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- new Menu:Current = GetPlayerMenu(playerid);
- new Float:PlayerHealth;
- new Health = GetPlayerHealth(playerid, PlayerHealth);
- if(Current == BurgerShot)
- {
- switch(row)
- {
- case 0:
- {
- SafeGivePlayerMoney(playerid, -3);
- if(Health <= 74.9)
- {
- SetPlayerHealth(playerid, PlayerHealth+25);
- }
- else
- {
- SetPlayerHealth(playerid, 100.0);
- }
- SendClientMessage(playerid, 0xFFC801C8, "Burger Shot: Thank you for buying the Baby Burger, have a nice meal and good afternoon!");
- PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
- TogglePlayerControllable(playerid, 1);
- SetTimerEx("CanDriveThruAgain", 7000, 0, "i", playerid);
- return 1;
- }
- case 1:
- {
- SafeGivePlayerMoney(playerid, -6);
- if(Health <= 49.9)
- {
- SetPlayerHealth(playerid, PlayerHealth+50);
- }
- else
- {
- SetPlayerHealth(playerid, 100.0);
- }
- SendClientMessage(playerid, 0xFFC801C8, "Burger Shot: Thank you for buying the Double Cheese, have a Cheesy meal and good afternoon!");
- PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
- TogglePlayerControllable(playerid, 1);
- SetTimerEx("CanDriveThruAgain", 7000, 0, "i", playerid);
- return 1;
- }
- case 2:
- {
- SafeGivePlayerMoney(playerid, -9);
- SetPlayerHealth(playerid, 100);
- SendClientMessage(playerid, 0xFFC801C8, "Burger Shot: Thank you for buying the Tripple Whopper, have a nice feast and good afternoon!");
- PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
- TogglePlayerControllable(playerid, 1);
- SetTimerEx("CanDriveThruAgain", 7000, 0, "i", playerid);
- return 1;
- }
- case 3:
- {
- if(PlayerTied[playerid] != 1 || PlayerCuffed[playerid] != 1)
- {
- TogglePlayerControllable(playerid, 1);
- }
- SetTimerEx("CanDriveThruAgain", 7000, 0, "i", playerid);
- return 1;
- }
- }
- }
- if(Current == CluckinBell)
- {
- switch(row)
- {
- case 0:
- {
- SafeGivePlayerMoney(playerid, -3);
- if(Health <= 74.9)
- {
- SetPlayerHealth(playerid, PlayerHealth+25);
- }
- else
- {
- SetPlayerHealth(playerid, 100.0);
- }
- SendClientMessage(playerid, 0xFFC801C8, "Cluckin' Bell: Thank you for your interest in our food, good afternoon!");
- PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
- TogglePlayerControllable(playerid, 1);
- SetTimerEx("CanDriveThruAgain", 7000, 0, "i", playerid);
- return 1;
- }
- case 1:
- {
- SafeGivePlayerMoney(playerid, -6);
- if(Health <= 49.9)
- {
- SetPlayerHealth(playerid, PlayerHealth+50);
- }
- else
- {
- SetPlayerHealth(playerid, 100.0);
- }
- SendClientMessage(playerid, 0xFFC801C8, "Cluckin' Bell: we thank you and hope you enjoy your chicken wings, have a good day!");
- PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
- TogglePlayerControllable(playerid, 1);
- SetTimerEx("CanDriveThruAgain", 7000, 0, "i", playerid);
- return 1;
- }
- case 2:
- {
- SafeGivePlayerMoney(playerid, -9);
- SetPlayerHealth(playerid, 100);
- SendClientMessage(playerid, 0xFFC801C8, "Cluckin' Bell: We hope you eat it all, have a nice day!");
- PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
- TogglePlayerControllable(playerid, 1);
- SetTimerEx("CanDriveThruAgain", 7000, 0, "i", playerid);
- return 1;
- }
- case 3:
- {
- if(PlayerTied[playerid] != 1 || PlayerCuffed[playerid] != 1)
- {
- TogglePlayerControllable(playerid, 1);
- }
- SetTimerEx("CanDriveThruAgain", 7000, 0, "i", playerid);
- return 1;
- }
- }
- }
- if(Current == burgermenu || Current == chickenmenu || Current == pizzamenu || Current == donutshop)
- {
- TogglePlayerControllable(playerid, 1);
- if (row != 10) // 10 = Leave
- {
- if (GetPlayerMoney(playerid) <= 0)
- {
- GameTextForPlayer(playerid, "~r~Not Enough Cash", 5000, 1);
- return 1;
- }
- new actstring[128];
- new sendername[64];
- new Float:health;
- GetPlayerName(playerid, sendername, sizeof(sendername));
- GetPlayerHealth(playerid, health);
- if (row == 7 || row == 8) // Drink
- {
- format(actstring, sizeof(actstring), "* %s drinks from their cup.", sendername);
- SafeGivePlayerMoney(playerid, -1);
- SetPlayerHealth(playerid, health + 10);
- ApplyAnimation(playerid,"VENDING","VEND_Drink_P",4.1,0,1,1,0,1);
- }
- else // Meal
- {
- switch (row)
- {
- case 1:
- {
- if(Current == donutshop) format(actstring, sizeof(actstring), "* %s eats a little donut and plays with the little toy that came with it.", sendername);
- else format(actstring, sizeof(actstring), "* %s eats their kids meal and plays with the little toy that came with it.", sendername);
- SafeGivePlayerMoney(playerid, -2);
- SetPlayerHealth(playerid, health + 20);
- }
- case 2:
- {
- if (Current == chickenmenu) format(actstring, sizeof(actstring), "* %s eats the nuggets from their cup.", sendername);
- else if (Current == pizzamenu) format(actstring, sizeof(actstring), "* %s eats their personal pan pizza.", sendername);
- else if (Current == donutshop) format(actstring, sizeof(actstring), "* %s eats their regular size donut.", sendername);
- else format(actstring, sizeof(actstring), "* %s eats their cheeseburger.", sendername);
- SafeGivePlayerMoney(playerid, -4);
- SetPlayerHealth(playerid, health + 50);
- }
- case 3:
- {
- if (Current == pizzamenu) format(actstring, sizeof(actstring), "* %s eats their greasy sheet pizza.", sendername);
- else if (Current == donutshop) format(actstring, sizeof(actstring), "* %s eats their extra large chief donut.", sendername);
- else format(actstring, sizeof(actstring), "* %s eats their greasy sandwich.", sendername);
- SafeGivePlayerMoney(playerid, -5);
- SetPlayerHealth(playerid, health + 80);
- }
- case 4:
- {
- if (Current == donutshop) format(actstring, sizeof(actstring), "* %s eats their extra large donut.", sendername);
- else format(actstring, sizeof(actstring), "* %s eats the freshly tossed salad from the bowl (with a fork of course).", sendername);
- SafeGivePlayerMoney(playerid, -3);
- SetPlayerHealth(playerid, health + 35);
- }
- }
- if (Current == burgermenu) ApplyAnimation(playerid,"FOOD","EAT_Burger",4.1,0,1,1,0,1);
- else if (Current == chickenmenu) ApplyAnimation(playerid,"FOOD","EAT_Chicken",4.1,0,1,1,0,1);
- else if (Current == pizzamenu) ApplyAnimation(playerid,"FOOD","EAT_Pizza",4.1,0,1,1,0,1);
- else if (Current == donutshop) ApplyAnimation(playerid,"FOOD","EAT_Pizza",4.1,0,1,1,0,1);
- if (GetPlayerMoney(playerid) > 100) SetPlayerHealth(playerid, 100);
- }
- ProxDetector(30.0, playerid, actstring, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
- }
- }
- if(Current == Licenses)
- {
- switch(row)
- {
- case 0:
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Welcome to the licenses center. If you wish to buy driving licenses Type: /buydriving *");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "* We hope you'll be carefull in Los Santos traffic roads! Please drive carefully! *");
- SendClientMessage(playerid, COLOR_LIGHTRED, "* [Driving Licenses Costs 3,500$] *");
- TogglePlayerControllable(playerid,1);
- }
- case 1:
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Welcome to the licenses center. If you wish to buy flying licenses Type: /buyflying *");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "* We hope you'll be carefull in Los Santos air traffic! Please fly carefully! *");
- SendClientMessage(playerid, COLOR_LIGHTRED, "* [Flying Licenses Costs 10,500$] *");
- TogglePlayerControllable(playerid,1);
- }
- case 2:
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Welcome to the licenses center. If you wish to buy sailing licenses Type: /buysailing *");
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "* We hope you'll be carefull in Los Santos sea traffic! Please sail carefully! *");
- SendClientMessage(playerid, COLOR_LIGHTRED, "* [Driving Licenses Costs 5,500$] *");
- TogglePlayerControllable(playerid,1);
- }
- case 3:
- {
- HideMenuForPlayer(Licenses, playerid);
- TogglePlayerControllable(playerid,1);
- }
- }
- }
- if(Current == LegalJobs)
- {
- switch(row)
- {
- case 0:
- {
- SendClientMessage(playerid, COLOR_WHITE, "* You are about to become a Detective, and get a 5 hour Contract.");
- SendClientMessage(playerid, COLOR_WHITE, "* You have to forfill this Contract first, if you want to Quit the job later.");
- SendClientMessage(playerid, COLOR_WHITE, "* If you are sure to become a Detective, type /accept job.");
- GettingJob[playerid] = 1;
- TogglePlayerControllable(playerid,1);
- }
- case 1:
- {
- SendClientMessage(playerid, COLOR_WHITE, "* You are about to become a Lawyer, and get a 5 hour Contract.");
- SendClientMessage(playerid, COLOR_WHITE, "* You have to forfill this Contract first, if you want to Quit the job later.");
- SendClientMessage(playerid, COLOR_WHITE, "* If you are sure to become a Lawyer, type /accept job.");
- GettingJob[playerid] = 2;
- TogglePlayerControllable(playerid,1);
- }
- case 2:
- {
- SendClientMessage(playerid, COLOR_WHITE, "* You are about to become a Waiter, and get a 5 hour Contract.");
- SendClientMessage(playerid, COLOR_WHITE, "* You have to forfill this Contract first, if you want to Quit the job later.");
- SendClientMessage(playerid, COLOR_WHITE, "* If you are sure to become a Waiter, type /accept job.");
- GettingJob[playerid] = 6;
- TogglePlayerControllable(playerid,1);
- }
- case 3:
- {
- SendClientMessage(playerid, COLOR_WHITE, "* You are about to become a Boxer, and get a 5 hour Contract.");
- SendClientMessage(playerid, COLOR_WHITE, "* You have to forfill this Contract first, if you want to Quit the job later.");
- SendClientMessage(playerid, COLOR_WHITE, "* If you are sure to become a Boxer, type /accept job.");
- GettingJob[playerid] = 12;
- TogglePlayerControllable(playerid,1);
- }
- case 4:
- {
- SendClientMessage(playerid, COLOR_WHITE, "* You are about to become a Trucker, and get a 5 hour Contract.");
- SendClientMessage(playerid, COLOR_WHITE, "* You have to forfill this Contract first, if you want to Quit the job later.");
- SendClientMessage(playerid, COLOR_WHITE, "* If you are sure to become a Trucker, type /accept job.");
- GettingJob[playerid] = 16;
- TogglePlayerControllable(playerid,1);
- }
- case 5:
- {
- SendClientMessage(playerid, COLOR_WHITE, "* You are about to become a Farmer, and get a 5 hour Contract.");
- SendClientMessage(playerid, COLOR_WHITE, "* You have to forfill this Contract first, if you want to Quit the job later.");
- SendClientMessage(playerid, COLOR_WHITE, "* If you are sure to become a Farmer, type /accept job.");
- GettingJob[playerid] = 18;
- TogglePlayerControllable(playerid,1);
- }
- case 6:
- {
- SendClientMessage(playerid, COLOR_WHITE, "* You are about to become a Stuntman, and get a 5 hour Contract.");
- SendClientMessage(playerid, COLOR_WHITE, "* You have to forfill this Contract first, if you want to Quit the job later.");
- SendClientMessage(playerid, COLOR_WHITE, "* If you are sure to become a Stuntman, type /accept job.");
- GettingJob[playerid] = 11;
- TogglePlayerControllable(playerid,1);
- }
- case 7:
- {
- HideMenuForPlayer(LegalJobs, playerid);
- ShowMenuForPlayer(LegalJobs2, playerid);
- }
- case 8:
- {
- HideMenuForPlayer(LegalJobs, playerid);
- TogglePlayerControllable(playerid,1);
- }
- }
- }
- if(Current == LegalJobs2)
- {
- switch(row)
- {
- case 0:
- {
- SendClientMessage(playerid, COLOR_WHITE, "* You are about to become a Taxi Driver, and get a 5 hour Contract.");
- SendClientMessage(playerid, COLOR_WHITE, "* You have to forfill this Contract first, if you want to Quit the job later.");
- SendClientMessage(playerid, COLOR_WHITE, "* If you are sure to become a Taxi Driver, type /accept job.");
- GettingJob[playerid] = 13;
- TogglePlayerControllable(playerid,1);
- }
- case 1:
- {
- SendClientMessage(playerid, COLOR_WHITE, "* You are about to become a Bus Driver, and get a 5 hour Contract.");
- SendClientMessage(playerid, COLOR_WHITE, "* You have to forfill this Contract first, if you want to Quit the job later.");
- SendClientMessage(playerid, COLOR_WHITE, "* If you are sure to become a Bus Driver, type /accept job.");
- GettingJob[playerid] = 14;
- TogglePlayerControllable(playerid,1);
- }
- case 2:
- {
- SendClientMessage(playerid, COLOR_WHITE, "* You are about to become a Paper Boy, and get a 5 hour Contract.");
- SendClientMessage(playerid, COLOR_WHITE, "* You have to forfill this Contract first, if you want to Quit the job later.");
- SendClientMessage(playerid, COLOR_WHITE, "* If you are sure to become a Paper Boy, type /accept job.");
- GettingJob[playerid] = 15;
- TogglePlayerControllable(playerid,1);
- }
- case 3:
- {
- SendClientMessage(playerid, COLOR_WHITE, "* You are about to become a Pizza Boy, and get a 5 hour Contract.");
- SendClientMessage(playerid, COLOR_WHITE, "* You have to forfill this Contract first, if you want to Quit the job later.");
- SendClientMessage(playerid, COLOR_WHITE, "* If you are sure to become a Pizza Boy, type /accept job.");
- GettingJob[playerid] = 17;
- TogglePlayerControllable(playerid,1);
- }
- case 4:
- {
- SendClientMessage(playerid, COLOR_WHITE, "* You are about to become a Street Sweeper, and get a 5 hour Contract.");
- SendClientMessage(playerid, COLOR_WHITE, "* You have to forfill this Contract first, if you want to Quit the job later.");
- SendClientMessage(playerid, COLOR_WHITE, "* If you are sure to become a Street Sweeper, type /accept job.");
- GettingJob[playerid] = 21;
- TogglePlayerControllable(playerid,1);
- }
- case 5:
- {
- SendClientMessage(playerid, COLOR_WHITE, "* You are about to become a Car Mechanic, and get a 5 hour Contract.");
- SendClientMessage(playerid, COLOR_WHITE, "* You have to forfill this Contract first, if you want to Quit the job later.");
- SendClientMessage(playerid, COLOR_WHITE, "* If you are sure to become a Car Mechanic, type /accept job.");
- GettingJob[playerid] = 7;
- TogglePlayerControllable(playerid,1);
- }
- case 6:
- {
- SendClientMessage(playerid, COLOR_WHITE, "* You are about to become a Body Guard, and get a 5 hour Contract.");
- SendClientMessage(playerid, COLOR_WHITE, "* You have to forfill this Contract first, if you want to Quit the job later.");
- SendClientMessage(playerid, COLOR_WHITE, "* If you are sure to become a Body Guard, type /accept job.");
- GettingJob[playerid] = 8;
- TogglePlayerControllable(playerid,1);
- }
- case 7:
- {
- HideMenuForPlayer(LegalJobs2, playerid);
- ShowMenuForPlayer(LegalJobs, playerid);
- }
- case 8:
- {
- HideMenuForPlayer(LegalJobs2, playerid);
- TogglePlayerControllable(playerid,1);
- }
- }
- }
- if(Current == Guide)
- {
- switch(row)
- {
- case 0:
- {
- SendClientMessage(playerid, COLOR_GREEN, "______________Game rules_______________");
- SendClientMessage(playerid, COLOR_GRAD5, "* Always RP");
- SendClientMessage(playerid, COLOR_GRAD5, "* Do not DM (this is RP server)");
- SendClientMessage(playerid, COLOR_GRAD5, "* Only English (in IC) allowed in this server");
- SendClientMessage(playerid, COLOR_GRAD5, "* Don't use cheats or abuse bugs (use /report)");
- SendClientMessage(playerid, COLOR_GRAD5, "* Drive-by is not allowed (except for cops and passengers)");
- SendClientMessage(playerid, COLOR_GRAD5, "* Don't use smiles In Character");
- SendClientMessage(playerid, COLOR_GRAD5, "* Don't use bunnyhop, it's just not allowed");
- SendClientMessage(playerid, COLOR_GREEN, "_______________________________________");
- TogglePlayerControllable(playerid,1);
- }
- case 1:
- {
- HideMenuForPlayer(Guide, playerid);
- ShowMenuForPlayer(JobLocations, playerid);
- }
- case 2:
- {
- SendClientMessage(playerid, COLOR_GREEN, "License center is marked (red) on a map.");
- SendClientMessage(playerid, COLOR_WHITE, "TIP: type /licensers for a list of licensers online");
- SetPlayerCheckpoint(playerid,2048.352,-1900.153,13.5538,5.0);
- TogglePlayerControllable(playerid,1);
- }
- case 3:
- {
- SendClientMessage(playerid, COLOR_GREEN, "Car rental is marked (red) on a map.");
- SetPlayerCheckpoint(playerid,1696.5543,-1053.4685,23.9063,5.0);
- TogglePlayerControllable(playerid,1);
- }
- case 4:
- {
- SendClientMessage(playerid, COLOR_GREEN, "Binco clothes shop is marked (red) on a map.");
- SendClientMessage(playerid, COLOR_WHITE, "TIP: Type /clothes when you're inside clothes shop.");
- SetPlayerCheckpoint(playerid,2244.3423,-1665.5542,15.4766,5.0);
- TogglePlayerControllable(playerid,1);
- }
- case 5:
- {
- HideMenuForPlayer(Guide, playerid);
- TogglePlayerControllable(playerid,1);
- }
- }
- }
- if(Current == JobLocations)
- {
- switch(row)
- {
- case 0:
- {
- SendClientMessage(playerid, COLOR_LIGHTRED, "Detective job is marked (red) on a map.");
- SetPlayerCheckpoint(playerid,1481.0206,-1771.1138,18.7958,5.0);
- TogglePlayerControllable(playerid,1);
- }
- case 1:
- {
- SendClientMessage(playerid, COLOR_LIGHTRED, "Lawyer job is marked (red) on a map.");
- SetPlayerCheckpoint(playerid,1481.0206,-1771.1138,18.7958,5.0);
- TogglePlayerControllable(playerid,1);
- }
- case 2:
- {
- SendClientMessage(playerid, COLOR_LIGHTRED, "Waiter job is marked (red) on a map.");
- SetPlayerCheckpoint(playerid,1498.2079,-1581.2236,13.5498,5.0);
- TogglePlayerControllable(playerid,1);
- }
- case 3:
- {
- SendClientMessage(playerid, COLOR_LIGHTRED, "Boxer job is marked (red) on a map.");
- SetPlayerCheckpoint(playerid,2229.9011,-1721.2582,13.5613,5.0);
- TogglePlayerControllable(playerid,1);
- }
- case 4:
- {
- SendClientMessage(playerid, COLOR_LIGHTRED, "Trucker job is marked (red) on a map.");
- SetPlayerCheckpoint(playerid,2439.7710,-2120.9285,13.5469,5.0);
- TogglePlayerControllable(playerid,1);
- }
- case 5:
- {
- SendClientMessage(playerid, COLOR_LIGHTRED, "Farmer job is marked (red) on a map.");
- SetPlayerCheckpoint(playerid,-382.6660,-1426.5121,26.2410,5.0);
- TogglePlayerControllable(playerid,1);
- }
- case 6:
- {
- SendClientMessage(playerid, COLOR_LIGHTRED, "Taxi Driver job is marked (red) on a map.");
- SetPlayerCheckpoint(playerid,1791.5248,-1900.1350,13.3978,5.0);
- TogglePlayerControllable(playerid,1);
- }
- case 7:
- {
- SendClientMessage(playerid, COLOR_LIGHTRED, "Bus Driver job is marked (red) on a map.");
- SetPlayerCheckpoint(playerid,1154.2208,-1770.8203,16.5992,5.0);
- TogglePlayerControllable(playerid,1);
- }
- case 8:
- {
- HideMenuForPlayer(JobLocations, playerid);
- ShowMenuForPlayer(JobLocations2, playerid);
- }
- case 9:
- {
- HideMenuForPlayer(JobLocations, playerid);
- ShowMenuForPlayer(Guide, playerid);
- }
- }
- }
- if(Current == JobLocations2)
- {
- switch(row)
- {
- case 0:
- {
- SendClientMessage(playerid, COLOR_LIGHTRED, "Paper Boy job is marked (red) on a map.");
- SetPlayerCheckpoint(playerid,1788.9150,-1292.7264,13.5861,5.0);
- TogglePlayerControllable(playerid,1);
- }
- case 1:
- {
- SendClientMessage(playerid, COLOR_LIGHTRED, "Pizza Boy job is marked (red) on a map.");
- SetPlayerCheckpoint(playerid,2101.7620,-1812.5922,13.5547,5.0);
- TogglePlayerControllable(playerid,1);
- }
- case 2:
- {
- SendClientMessage(playerid, COLOR_LIGHTRED, "Street Sweeper job is marked (red) on a map.");
- SetPlayerCheckpoint(playerid,1611.5129,-1893.6997,13.5469,5.0);
- TogglePlayerControllable(playerid,1);
- }
- case 3:
- {
- SendClientMessage(playerid, COLOR_LIGHTRED, "Car Mechanic job is marked (red) on a map.");
- SetPlayerCheckpoint(playerid,2077.52,-2013.56,13.54,5.0);
- TogglePlayerControllable(playerid,1);
- }
- case 4:
- {
- SendClientMessage(playerid, COLOR_LIGHTRED, "Body Guard job is marked (red) on a map.");
- SetPlayerCheckpoint(playerid,1481.0206,-1771.1138,18.7958,5.0);
- TogglePlayerControllable(playerid,1);
- }
- case 5:
- {
- SendClientMessage(playerid, COLOR_LIGHTRED, "Stuntman job is marked (red) on a map.");
- SetPlayerCheckpoint(playerid,2695.4043,-1704.3582,11.8438,5.0);
- TogglePlayerControllable(playerid,1);
- }
- case 6:
- {
- SendClientMessage(playerid, COLOR_LIGHTRED, "Whore job is marked (red) on a map.");
- SetPlayerCheckpoint(playerid,2421.4998,-1219.2438,25.5617,5.0);
- TogglePlayerControllable(playerid,1);
- }
- case 7:
- {
- HideMenuForPlayer(JobLocations2, playerid);
- ShowMenuForPlayer(JobLocations3, playerid);
- }
- case 8:
- {
- HideMenuForPlayer(JobLocations2, playerid);
- ShowMenuForPlayer(JobLocations, playerid);
- }
- case 9:
- {
- HideMenuForPlayer(JobLocations2, playerid);
- ShowMenuForPlayer(Guide, playerid);
- }
- }
- }
- if(Current == JobLocations3)
- {
- switch(row)
- {
- case 0:
- {
- SendClientMessage(playerid, COLOR_LIGHTRED, "Drugs Dealer job is marked (red) on a map.");
- SetPlayerCheckpoint(playerid,2072.5486,-1582.8029,13.4741,5.0);
- TogglePlayerControllable(playerid,1);
- }
- case 1:
- {
- SendClientMessage(playerid, COLOR_LIGHTRED, "Drugs Farmer job is marked (red) on a map.");
- SetPlayerCheckpoint(playerid,-69.0584,-20.6116,3.1172,5.0);
- TogglePlayerControllable(playerid,1);
- }
- case 2:
- {
- SendClientMessage(playerid, COLOR_LIGHTRED, "Drugs Smuggler job is marked (red) on a map.");
- SetPlayerCheckpoint(playerid,2022.1492,-1108.7837,26.2031,5.0);
- TogglePlayerControllable(playerid,1);
- }
- case 3:
- {
- SendClientMessage(playerid, COLOR_LIGHTRED, "Materials Smuggler job is marked (red) on a map.");
- SetPlayerCheckpoint(playerid,213.8549,-230.5761,1.7786,5.0);
- TogglePlayerControllable(playerid,1);
- }
- case 4:
- {
- SendClientMessage(playerid, COLOR_LIGHTRED, "Gun Maker job is marked (red) on a map.");
- SetPlayerCheckpoint(playerid,2137.6624,-2282.3455,20.6719,5.0);
- TogglePlayerControllable(playerid,1);
- }
- case 5:
- {
- HideMenuForPlayer(JobLocations3, playerid);
- ShowMenuForPlayer(JobLocations2, playerid);
- }
- case 6:
- {
- HideMenuForPlayer(JobLocations3, playerid);
- ShowMenuForPlayer(Guide, playerid);
- }
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement