Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dialog:GPS(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- switch(listitem)
- {
- case 0:
- {
- SendServerMessage(playerid, "Вы поставили метку на карте.");
- Waypoint_Set(playerid, "Driving School", 1333.4250, -1864.3539, 13.5469);
- }
- case 1:
- {
- SendServerMessage(playerid, "Вы поставили метку на карте.");
- Waypoint_Set(playerid, "San Andreas News", 1684.8195, -1627.9346, 14.7602);
- }
- case 2:
- {
- SendServerMessage(playerid, "Вы поставили метку на карте.");
- Waypoint_Set(playerid, "Rodeo Bank", 593.6134, -1243.0756, 18.0306);
- }
- case 3:
- {
- SendServerMessage(playerid, "Вы поставили метку на карте.");
- Waypoint_Set(playerid, "Downtown Bank", 1663.3037, -1429.2854, 13.5469);
- }
- case 4:
- {
- SendServerMessage(playerid, "Вы поставили метку на карте.");
- Waypoint_Set(playerid, "East LS Bank", 2868.5396, -1407.3364, 11.0502);
- }
- case 5:
- {
- SendServerMessage(playerid, "Вы поставили метку на карте.");
- Waypoint_Set(playerid, "Grotti", 536.8082, -1293.1989, 17.2422);
- }
- case 6:
- {
- SendServerMessage(playerid, "Вы поставили метку на карте.");
- Waypoint_Set(playerid, "Coutt and Schutz", 2121.7363, -1143.1157, 24.7751);
- }
- case 7:
- {
- SendServerMessage(playerid, "Вы поставили метку на карте.");
- Waypoint_Set(playerid, "City Hall", 1480.904, -1737.458, 13.546);
- }
- case 8:
- {
- SendServerMessage(playerid, "Вы поставили метку на карте.");
- Waypoint_Set(playerid, "Police Department", 1538.6865, -1673.0892, 13.1168);
- }
- case 9:
- {
- SendServerMessage(playerid, "Вы поставили метку на карте.");
- Waypoint_Set(playerid, "Fire Department", 1538.6865, -1673.0892, 13.1168);
- }
- case 10:
- {
- SendServerMessage(playerid, "Вы поставили метку на карте.");
- Waypoint_Set(playerid, "All Saints General Hospital", 1185.4578, -1323.9766, 13.1444);
- }
- case 11:
- {
- SendServerMessage(playerid, "Вы поставили метку на карте.");
- Waypoint_Set(playerid, "Jefferson Motel", 2220.6277, -1148.0288, 25.3390);
- }
- case 12:
- {
- SendServerMessage(playerid, "Вы поставили метку на карте.");
- Waypoint_Set(playerid, "Verona Mall", 1154.7264, -1440.3060, 15.7969);
- }
- case 13: callcmd::disablecp(playerid, "\1");
- }
- }
- return 1;
- }
- cmd:gps(playerid, params[])
- {
- Dialog_Show(playerid, GPS, DIALOG_STYLE_LIST, "Выберите локацию:", "Driving School\n\nSan Andreas News\nRodeo Bank\nDowntown Bank\nEast LS Bank\nGrotti\nCoutt and Schutz\nCity Hall\nPolice Department\nFire Department\nAll Saints General Hospital\nJefferson Motel\nVerona Mall\nУбрать метку с карты", "Выбрать", "Отмена");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement