Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*======> DEFINES <======*/
- #define COLOR_WHITE 0xFFFFFFAA
- #define COLOR_LOCALMSG 0xEC5413AA
- #define COLOR_BLUE 0x0000FFAA
- #define COLOR_AQUA 0x00FFFFAA
- #define COLOR_ADMINCMD 0xF97804FF
- #define COLOR_ADMINDUTY 0x007E96F6
- #define COLOR_NOTLOGGED 0x00000000
- #define COLOR_GRAD1 0xB4B5B7FF
- #define COLOR_GRAD2 0xBFC0C2FF
- #define COLOR_MONEYBAR 0x005800FF
- #define COLOR_GRAD3 0xCBCCCEFF
- #define COLOR_GRAD4 0xD8D8D8FF
- #define COLOR_GRAD5 0xE3E3E3FF
- #define COLOR_GRAD6 0xF0F0F0FF
- #define COLOR_GREY 0xAFAFAFAA
- #define COLOR_GREEN 0x33AA33AA
- #define COLOR_RED 0xA10000AA
- #define COLOR_DARKRED 0xCD000000
- #define COLOR_ANTICHEAT 0xAA3333AA
- #define COLOR_LIGHTRED 0xFF6347AA
- #define COLOR_LIGHTBLUE 0x33CCFFAA
- #define COLOR_LIGHTGREEN 0x9ACD32AA
- #define COLOR_LIGHTRED 0xFF6347AA
- #define COLOR_LIGHTBLUE 0x33CCFFAA
- #define COLOR_LIGHTBLUE2 0x0080FFAA
- #define COLOR_LIGHTGREEN 0x9ACD32AA
- #define COLOR_LIGHTORANGE 0xFF8000FF
- #define COLOR_DARKBROWN 0xB36C42FF
- #define COLOR_MEDIUMBLUE 0x1ED5C7FF
- #define COLOR_LIGHTYELLOW 0xE0E377AA
- #define COLOR_LIGHTYELLOW2 0xE0EA64AA
- #define COLOR_LIGHTYELLOW3 0xFF6347AA
- #define COLOR_DARKPURPLE 0x5F56F8AA
- #define COLOR_YELLOW 0xFFFF00AA
- #define COLOR_YELLOW2 0xF5DEB3AA
- #define COLOR_WHITE 0xFFFFFFAA
- #define COLOR_FADE1 0xE6E6E6E6
- #define COLOR_FADE2 0xC8C8C8C8
- #define COLOR_FADE3 0xAAAAAAAA
- #define COLOR_FADE4 0x8C8C8C8C
- #define COLOR_FADE5 0x6E6E6E6E
- #define COLOR_PURPLE 0xC2A2DAAA
- #define COLOR_DBLUE 0x2641FEAA
- #define COLOR_ALLDEPT 0xFF8282AA
- #define COLOR_NEWS 0xFFA500AA
- #define COLOR_OOC 0xE0FFFFAA
- #define COLOR_NEWOOC 0x0080FFAA
- #define DIALOG_BANIDO 9001
- #define DIALOG_ADMINS 9000
- #define DIALOG_AHELP 9002
- #define NUM_FERRIS_CAGES 10
- #define FERRIS_WHEEL_ID 18877
- #define FERRIS_CAGE_ID 18879
- #define FERRIS_BASE_ID 18878
- #define FERRIS_DRAW_DISTANCE 300.0
- #define FERRIS_WHEEL_SPEED 0.01
- #define FERRIS_WHEEL_Z_ANGLE -90.0
- #define ELEVATOR_SPEED (5.0)
- #define DOORS_SPEED (5.0)
- #define ELEVATOR_WAIT_TIME (5000)
- #define DIALOG_ID (874)
- #define X_DOOR_CLOSED (1786.627685)
- #define X_DOOR_R_OPENED (1785.027685)
- #define X_DOOR_L_OPENED (1788.227685)
- #define GROUND_Z_COORD (14.511476)
- #define ELEVATOR_OFFSET (0.059523)
- #define ELEVATOR_STATE_IDLE (0)
- #define ELEVATOR_STATE_WAITING (1)
- #define ELEVATOR_STATE_MOVING (2)
- #define INVALID_FLOOR (-1)
- #define DIALOG_REGISTER 1
- #define DIALOG_LOGIN 2
- /*======> DEFINES <======*/
- /*======> INCLUDES <======*/
- #include <a_samp>
- #include <a_actor>
- #include <zcmd>
- #include <streamer>
- #include <sscanf2>
- #include <progress>
- #include <foreach>
- #include <dudb>
- #include <dini>
- #include <YSI\y_ini>
- #include <samp_drp>
- #include <rgb>
- #include <dfile>
- #include "../include/gl_common.inc"
- #include <dof2>
- /*======> INCLUDES <======*/
- /*======> VARIAVEIS <======*/
- new veiculo1;
- new veiculo2;
- new veiculo3;
- new veiculo4;
- new veiculo5;
- new veiculo6;
- new veiculo7;
- new Text3D:txtveiculo1;
- new Text3D:txtveiculo2;
- new Text3D:txtveiculo3;
- new Text3D:txtveiculo4;
- new Text3D:txtveiculo5;
- new Text3D:txtveiculo6;
- new Text3D:txtveiculo7;
- new taxi1;
- new taxi2;
- new taxi3;
- new Text3D:taxivip1;
- new Text3D:taxivip2;
- new Text3D:taxivip3;
- new Text:TDEditor_TD[3];
- new Text:textVelocimetro[5];
- // (Player Textdraws velocimetro)
- new PlayerText:textPlayerVelocimetro[4][MAX_PLAYERS];
- // (Vendo o velocimetro ou não)
- new bool:PlayerVelocimetro[MAX_PLAYERS];
- // (Timer velocimetro)
- new PlayerVelocimetroTimer[MAX_PLAYERS];
- stock Float:GetVehicleHealthEx(vehicleid)
- {
- new Float:health;
- GetVehicleHealth(vehicleid, health);
- if ( health > 900.0) {
- return health / 10.0;
- }
- else return ( health / 10.0 )-(24);
- }
- new VehicleNames[212][] =
- {
- {"Landstalker"},{"Bravura"},{"Buffalo"},{"Linerunner"},{"Perrenial"},{"Sentinel"},{"Dumper"},
- {"Firetruck"},{"Trashmaster"},{"Stretch"},{"Manana"},{"Infernus"},{"Voodoo"},{"Pony"},{"Mule"},
- {"Cheetah"},{"Ambulance"},{"Leviathan"},{"Moonbeam"},{"Esperanto"},{"Taxi"},{"Washington"},
- {"Bobcat"},{"Mr Whoopee"},{"BF Injection"},{"Hunter"},{"Premier"},{"Enforcer"},{"Securicar"},
- {"Banshee"},{"Predator"},{"Bus"},{"Rhino"},{"Barracks"},{"Hotknife"},{"Trailer 1"},{"Previon"},
- {"Coach"},{"Cabbie"},{"Stallion"},{"Rumpo"},{"RC Bandit"},{"Romero"},{"Packer"},{"Monster"},
- {"Admiral"},{"Squalo"},{"Seasparrow"},{"Pizzaboy"},{"Tram"},{"Trailer 2"},{"Turismo"},
- {"Speeder"},{"Reefer"},{"Tropic"},{"Flatbed"},{"Yankee"},{"Caddy"},{"Solair"},{"Berkley's RC Van"},
- {"Skimmer"},{"PCJ-600"},{"Faggio"},{"Freeway"},{"RC Baron"},{"RC Raider"},{"Glendale"},{"Oceanic"},
- {"Sanchez"},{"Sparrow"},{"Patriot"},{"Quad"},{"Coastguard"},{"Dinghy"},{"Hermes"},{"Sabre"},
- {"Rustler"},{"ZR-350"},{"Walton"},{"Regina"},{"Comet"},{"BMX"},{"Burrito"},{"Camper"},{"Marquis"},
- {"Baggage"},{"Dozer"},{"Maverick"},{"News Chopper"},{"Rancher"},{"FBI Rancher"},{"Virgo"},{"Greenwood"},
- {"Jetmax"},{"Hotring"},{"Sandking"},{"Blista Compact"},{"Police Maverick"},{"Boxville"},{"Benson"},
- {"Mesa"},{"RC Goblin"},{"Hotring Racer A"},{"Hotring Racer B"},{"Bloodring Banger"},{"Rancher"},
- {"Super GT"},{"Elegant"},{"Journey"},{"Bike"},{"Mountain Bike"},{"Beagle"},{"Cropdust"},{"Stunt"},
- {"Tanker"}, {"Roadtrain"},{"Nebula"},{"Majestic"},{"Buccaneer"},{"Shamal"},{"Hydra"},{"FCR-900"},
- {"NRG-500"},{"HPV1000"},{"Cement Truck"},{"Tow Truck"},{"Fortune"},{"Cadrona"},{"FBI Truck"},
- {"Willard"},{"Forklift"},{"Tractor"},{"Combine"},{"Feltzer"},{"Remington"},{"Slamvan"},
- {"Blade"},{"Freight"},{"Streak"},{"Vortex"},{"Vincent"},{"Bullet"},{"Clover"},{"Sadler"},
- {"Firetruck LA"},{"Hustler"},{"Intruder"},{"Primo"},{"Cargobob"},{"Tampa"},{"Sunrise"},{"Merit"},
- {"Utility"},{"Nevada"},{"Yosemite"},{"Windsor"},{"Monster A"},{"Monster B"},{"Uranus"},{"Jester"},
- {"Sultan"},{"Stratum"},{"Elegy"},{"Raindance"},{"RC Tiger"},{"Flash"},{"Tahoma"},{"Savanna"},
- {"Bandito"},{"Freight Flat"},{"Streak Carriage"},{"Kart"},{"Mower"},{"Duneride"},{"Sweeper"},
- {"Broadway"},{"Tornado"},{"AT-400"},{"DFT-30"},{"Huntley"},{"Stafford"},{"BF-400"},{"Newsvan"},
- {"Tug"},{"Trailer 3"},{"Emperor"},{"Wayfarer"},{"Euros"},{"Hotdog"},{"Club"},{"Freight Carriage"},
- {"Trailer 3"},{"Andromada"},{"Dodo"},{"RC Cam"},{"Launch"},{"Police Car (LSPD)"},{"Police Car (SFPD)"},
- {"Police Car (LVPD)"},{"Police Ranger"},{"Picador"},{"S.W.A.T. Van"},{"Alpha"},{"Phoenix"},{"Glendale"},
- {"Sadler"},{"Luggage Trailer A"},{"Luggage Trailer B"},{"Stair Trailer"},{"Boxville"},{"Farm Plow"},
- {"Utility Trailer"}
- };
- new pickupvida;
- new tmpobjid;
- new RandomMSG[][] =
- {
- "{F5A80F}[Server] Suspeita de alguem usando cheater? use /report",
- "{F5A80F}[Server] Viu algum bug ou erro? /report"
- };
- new XP[MAX_PLAYERS];
- new Float:gFerrisOrigin[3] = {832.8393, -2046.1990, 27.0900};
- new Float:gFerrisCageOffsets[NUM_FERRIS_CAGES][3] = {
- {0.0699, 0.0600, -11.7500},
- {-6.9100, -0.0899, -9.5000},
- {11.1600, 0.0000, -3.6300},
- {-11.1600, -0.0399, 3.6499},
- {-6.9100, -0.0899, 9.4799},
- {0.0699, 0.0600, 11.7500},
- {6.9599, 0.0100, -9.5000},
- {-11.1600, -0.0399, -3.6300},
- {11.1600, 0.0000, 3.6499},
- {7.0399, -0.0200, 9.3600}
- };
- new gFerrisWheel;
- new gFerrisBase;
- new gFerrisCages[NUM_FERRIS_CAGES];
- new Float:gCurrentTargetYAngle = 0.0;
- new gWheelTransAlternate = 0;
- static FloorNames[21][] =
- {
- "Terreo",
- "Primeiro",
- "Segundo",
- "Terceiro",
- "Quarto",
- "Quinto",
- "Sexto",
- "Setimo",
- "Oitavo",
- "Nono",
- "Decimo",
- "Decimo Primeiro",
- "Decimo Segundo",
- "Decimo Terceiro",
- "Decimo Quarto",
- "Decimo Quinto",
- "Decimo Sexto",
- "Decimo Setimo",
- "Decimo Oitavo",
- "Decimo Nono",
- "Ultimo Andar!"
- };
- static Float:FloorZOffsets[21] =
- {
- 0.0, // 0.0,
- 8.5479, // 8.5479,
- 13.99945, // 8.5479 + (5.45155 * 1.0),
- 19.45100, // 8.5479 + (5.45155 * 2.0),
- 24.90255, // 8.5479 + (5.45155 * 3.0),
- 30.35410, // 8.5479 + (5.45155 * 4.0),
- 35.80565, // 8.5479 + (5.45155 * 5.0),
- 41.25720, // 8.5479 + (5.45155 * 6.0),
- 46.70875, // 8.5479 + (5.45155 * 7.0),
- 52.16030, // 8.5479 + (5.45155 * 8.0),
- 57.61185, // 8.5479 + (5.45155 * 9.0),
- 63.06340, // 8.5479 + (5.45155 * 10.0),
- 68.51495, // 8.5479 + (5.45155 * 11.0),
- 73.96650, // 8.5479 + (5.45155 * 12.0),
- 79.41805, // 8.5479 + (5.45155 * 13.0),
- 84.86960, // 8.5479 + (5.45155 * 14.0),
- 90.32115, // 8.5479 + (5.45155 * 15.0),
- 95.77270, // 8.5479 + (5.45155 * 16.0),
- 101.22425, // 8.5479 + (5.45155 * 17.0),
- 106.67580, // 8.5479 + (5.45155 * 18.0),
- 112.12735 // 8.5479 + (5.45155 * 19.0)
- };
- new Obj_Elevator, Obj_ElevatorDoors[2],
- Obj_FloorDoors[21][2];
- new Text3D:Label_Elevator, Text3D:Label_Floors[21];
- new ElevatorState,
- ElevatorFloor;
- new ElevatorQueue[21],
- FloorRequestedBy[21];
- new ElevatorBoostTimer;
- new skin;
- enum pInfo
- {
- pKills,
- pDeaths,
- pMoney,
- pAdmin
- }
- new PlayerInfo[MAX_PLAYERS][pInfo];
- /*======> VARIAVEIS <======*/
- main()
- {
- print("\n----------------------------------");
- print(" Alabama ON! ");
- print("----------------------------------\n");
- }
- public OnGameModeInit()
- {
- ResetElevatorQueue();
- Elevator_Initialize();
- SetTimer("SendMSG", 300000, 1);
- SetTimer("payday", 30000*60, 1);
- ShowPlayerMarkers(1);
- DisableInteriorEnterExits();
- UsePlayerPedAnims();
- //Prisao adm
- CreateDynamicObject(8650,274.6000100,-170.3999900,1001.4000200,0.0000000,0.0000000,0.0000000); //object(shbbyhswall06_lvs) (1)
- CreateDynamicObject(8650,282.2999900,-170.3999900,1001.4000200,0.0000000,0.0000000,0.0000000); //object(shbbyhswall06_lvs) (2)
- CreateDynamicObject(8650,282.2998000,-170.3994100,998.7000100,0.0000000,0.0000000,0.0000000); //object(shbbyhswall06_lvs) (3)
- CreateDynamicObject(8650,274.5996100,-170.3994100,998.7000100,0.0000000,0.0000000,0.0000000); //object(shbbyhswall06_lvs) (4)
- CreateDynamicObject(3058,277.5000000,-158.3000000,1001.5000000,0.0000000,0.0000000,24.0000000); //object(storm_drain_cover) (1)
- CreateDynamicObject(987,273.7999900,-169.7000000,998.5999800,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (1)
- CreateDynamicObject(987,283.2000100,-169.6000100,998.5999800,0.0000000,0.0000000,87.0000000); //object(elecfence_bar) (3)
- CreateDynamicObject(987,273.7000100,-169.6000100,998.5999800,0.0000000,0.0000000,88.9950000); //object(elecfence_bar) (4)
- CreateDynamicObject(987,283.1000100,-159.0000000,998.5999800,0.0000000,0.0000000,177.9950000); //object(elecfence_bar) (5)
- CreateDynamicObject(1771,275.8999900,-160.8999900,999.2000100,0.0000000,0.0000000,359.0000000); //object(cj_bunk_bed1) (1)
- CreateDynamicObject(1771,275.8999900,-164.2000000,999.2000100,0.0000000,0.0000000,358.5000000); //object(cj_bunk_bed1) (2)
- CreateDynamicObject(1771,275.8999900,-167.3999900,999.2000100,0.0000000,0.0000000,358.7500000); //object(cj_bunk_bed1) (3)
- CreateDynamicObject(1781,282.2000100,-166.5000000,1001.2999900,0.0000000,0.0000000,276.0000000); //object(med_tv_1) (1)
- CreateDynamicObject(1781,282.2000100,-167.7000000,1001.2999900,0.0000000,0.0000000,275.9990000); //object(med_tv_1) (2)
- CreateDynamicObject(1781,282.2000100,-169.0000000,1001.2999900,0.0000000,0.0000000,275.9990000); //object(med_tv_1) (3)
- CreateDynamicObject(2602,281.5000000,-168.5000000,999.2000100,0.0000000,0.0000000,269.7500000); //object(police_cell_toilet) (1)
- CreateDynamicObject(2602,281.5000000,-165.7000000,999.2000100,0.0000000,0.0000000,269.7470000); //object(police_cell_toilet) (2)
- CreateDynamicObject(2602,281.5000000,-162.8999900,999.2000100,0.0000000,0.0000000,269.7470000); //object(police_cell_toilet) (3)
- CreateDynamicObject(2602,281.5000000,-160.1000100,999.2000100,0.0000000,0.0000000,269.7470000); //object(police_cell_toilet) (4)
- CreateDynamicObject(2713,277.7999900,-159.3000000,998.9000200,0.0000000,0.0000000,266.0000000); //object(cj_bucket) (1)
- CreateDynamicObject(2713,278.6000100,-159.3000000,998.9000200,0.0000000,0.0000000,265.9950000); //object(cj_bucket) (2)
- CreateDynamicObject(2628,277.6000100,-168.8000000,998.5999800,0.0000000,0.0000000,180.0000000); //object(gym_bench2) (1)
- CreateDynamicObject(2628,279.1000100,-168.8999900,998.5999800,0.0000000,0.0000000,179.9950000); //object(gym_bench2) (2)
- CreateDynamicObject(2713,279.3999900,-159.3000000,998.9000200,0.0000000,0.0000000,265.9950000); //object(cj_bucket) (3)
- CreateDynamicObject(2813,276.2999900,-167.5000000,998.5999800,0.0000000,0.0000000,0.0000000); //object(gb_novels01) (1)
- CreateDynamicObject(2813,278.8999900,-166.3999900,998.5999800,0.0000000,0.0000000,0.0000000); //object(gb_novels01) (2)
- CreateDynamicObject(2813,276.6000100,-163.7000000,998.5999800,0.0000000,0.0000000,0.0000000); //object(gb_novels01) (3)
- CreateDynamicObject(2819,279.1000100,-166.1000100,998.5999800,0.0000000,0.0000000,0.0000000); //object(gb_bedclothes01) (1)
- CreateDynamicObject(2834,276.2999900,-160.3999900,998.5999800,0.0000000,0.0000000,270.0000000); //object(gb_livingrug03) (1)
- CreateDynamicObject(2834,276.2999900,-163.7000000,998.5999800,0.0000000,0.0000000,270.0000000); //object(gb_livingrug03) (2)
- CreateDynamicObject(2834,276.2999900,-167.0000000,998.5999800,0.0000000,0.0000000,270.0000000); //object(gb_livingrug03) (3)
- CreateDynamicObject(2718,281.8999900,-163.1000100,1001.7999900,0.0000000,0.0000000,270.0000000); //object(cj_fly_killer) (1)
- CreateDynamicObject(1722,281.5000000,-161.6000100,998.5999800,0.0000000,0.0000000,86.0000000); //object(off_chairnu) (1)
- CreateDynamicObject(1985,279.0000000,-164.8999900,1002.2500000,0.0000000,0.0000000,0.0000000); //object(punchbagnu) (1)
- CreateDynamicObject(9949, 1472.78, -1774.85, 24.68, 0.00, 0.00, 270.05);
- CreateDynamicObject(7091, 1480.08, -1760.15, 29.64, 0.00, 0.00, -272.70);
- CreateDynamicObject(7091, 1467.19, -1759.79, 25.67, 0.00, 0.00, 87.97);
- CreateDynamicObject(7091, 1492.88, -1759.70, 25.67, 0.00, 0.00, 87.97);
- CreateDynamicObject(646, 1485.99, -1759.95, 13.95, 0.00, 0.00, 0.00);
- CreateDynamicObject(646, 1473.96, -1760.00, 13.95, 0.00, 0.00, 0.00);
- CreateDynamicObject(1280, 1467.36, -1758.52, 12.89, 0.00, 0.00, -89.46);
- CreateDynamicObject(1280, 1492.81, -1758.58, 12.89, 0.00, 0.00, -89.46);
- CreateDynamicObject(1285, 1488.23, -1759.83, 13.09, 356.86, 0.00, 359.14);
- CreateDynamicObject(1287, 1471.84, -1759.83, 13.12, 0.00, 0.00, 0.00);
- CreateDynamicObject(6494, 1419.57, -1842.15, 23.58, 0.00, 0.00, -119.52);
- CreateDynamicObject(6494, 1450.59, -1843.12, 23.58, 0.00, 0.00, -118.26);
- CreateDynamicObject(6494, 1480.60, -1843.37, 23.58, 0.00, 0.00, -118.26);
- CreateDynamicObject(6494, 1511.06, -1843.12, 23.68, 0.00, 0.00, -118.26);
- CreateDynamicObject(6494, 1535.27, -1841.81, 23.68, 0.00, 0.00, -390.90);
- CreateDynamicObject(6494, 1538.81, -1820.77, 23.58, 0.00, 0.00, 57.34);
- CreateDynamicObject(6494, 1539.02, -1799.06, 23.58, 0.00, 0.00, 58.36);
- CreateDynamicObject(6494, 1539.02, -1791.28, 23.58, 0.00, 0.00, 59.44);
- CreateDynamicObject(6494, 1509.97, -1813.57, 23.58, 0.00, 0.00, -118.52);
- CreateDynamicObject(6494, 1511.62, -1792.60, 23.58, 0.00, 0.00, -118.52);
- CreateDynamicObject(6494, 1479.79, -1832.29, 23.58, 0.00, 0.00, -118.52);
- CreateDynamicObject(6494, 1448.81, -1832.46, 23.58, 0.00, 0.00, -118.52);
- CreateDynamicObject(6494, 1419.70, -1832.44, 23.58, 0.00, 0.00, -118.52);
- CreateDynamicObject(6494, 1478.86, -1809.63, 23.58, 0.00, 0.00, -118.52);
- CreateDynamicObject(6494, 1447.94, -1809.31, 23.58, 0.00, 0.00, -118.52);
- CreateDynamicObject(6494, 1419.67, -1809.65, 23.58, 0.00, 0.00, -122.12);
- CreateDynamicObject(6494, 1478.65, -1788.63, 23.58, 0.00, 0.00, -118.52);
- CreateDynamicObject(6494, 1446.86, -1786.68, 23.58, 0.00, 0.00, -118.52);
- CreateDynamicObject(6494, 1419.43, -1786.51, 23.58, 0.00, 0.00, -120.50);
- CreateDynamicObject(6494, 1419.81, -1784.27, 23.78, 0.00, 0.00, -120.50);
- CreateDynamicObject(3660, 1428.73, -1772.82, 14.54, 0.00, 0.00, -180.24);
- CreateDynamicObject(3660, 1409.11, -1772.81, 14.54, 0.00, 0.00, -179.82);
- CreateDynamicObject(3660, 1400.60, -1783.37, 14.54, 0.00, 0.00, 270.25);
- CreateDynamicObject(3660, 1400.85, -1842.13, 14.54, 0.00, 0.00, 270.25);
- CreateDynamicObject(3660, 1400.69, -1802.99, 14.54, 0.00, 0.00, 270.25);
- CreateDynamicObject(3660, 1400.77, -1822.52, 14.54, 0.00, 0.00, 270.25);
- CreateDynamicObject(3660, 1400.90, -1852.30, 14.54, 0.00, 0.00, 270.25);
- CreateDynamicObject(3660, 1411.17, -1861.44, 14.54, 0.00, 0.00, 179.77);
- CreateDynamicObject(3660, 1430.79, -1861.51, 14.54, 0.00, 0.00, 179.77);
- CreateDynamicObject(3660, 1470.03, -1861.64, 14.54, 0.00, 0.00, 180.08);
- CreateDynamicObject(3660, 1489.59, -1861.60, 14.54, 0.00, 0.00, 180.08);
- CreateDynamicObject(3660, 1528.80, -1861.55, 14.54, 0.00, 0.00, 180.08);
- CreateDynamicObject(3660, 1548.42, -1861.52, 14.54, 0.00, 0.00, 180.08);
- CreateDynamicObject(3660, 1558.28, -1852.42, 14.54, 0.00, 0.00, 90.02);
- CreateDynamicObject(3660, 1558.27, -1832.87, 14.54, 0.00, 0.00, 90.02);
- CreateDynamicObject(3660, 1558.25, -1813.50, 14.54, 0.00, 0.00, 90.02);
- CreateDynamicObject(3660, 1558.24, -1794.10, 14.54, 0.00, 0.00, 90.02);
- CreateDynamicObject(3660, 1530.21, -1772.45, 14.54, 0.00, 0.00, -0.76);
- CreateDynamicObject(3660, 1549.69, -1772.70, 14.54, 0.00, 0.00, -0.76);
- CreateDynamicObject(3660, 1558.23, -1783.50, 14.54, 0.00, 0.00, 90.02);
- CreateDynamicObject(6494, 1539.71, -1842.51, 23.68, 0.00, 0.00, -390.42);
- CreateDynamicObject(3287, 1449.40, -1861.31, 11.87, 0.00, 0.00, 89.79);
- CreateDynamicObject(3287, 1442.43, -1861.29, 11.87, 0.00, 0.00, 89.79);
- CreateDynamicObject(3287, 1456.37, -1861.32, 11.87, 0.00, 0.00, 90.19);
- CreateDynamicObject(3287, 1515.13, -1861.33, 11.87, 0.00, 0.00, 90.19);
- CreateDynamicObject(3287, 1508.15, -1861.32, 11.87, 0.00, 0.00, 89.79);
- CreateDynamicObject(3287, 1501.19, -1861.27, 11.87, 0.00, 0.00, 89.79);
- CreateDynamicObject(737, 1414.67, -1849.99, 12.89, 0.00, 0.00, 0.00);
- CreateDynamicObject(803, 1405.79, -1779.25, 13.87, 0.00, 0.00, -13.26);
- CreateDynamicObject(737, 1453.42, -1809.45, 12.89, 0.00, 0.00, 0.00);
- CreateDynamicObject(737, 1481.54, -1809.51, 12.89, 0.00, 0.00, 0.06);
- CreateDynamicObject(737, 1510.51, -1809.05, 12.89, 0.00, 0.00, 0.00);
- CreateDynamicObject(737, 1544.86, -1849.86, 12.89, 0.00, 0.00, 0.00);
- CreateDynamicObject(737, 1497.61, -1849.26, 12.89, 0.00, 0.00, 0.06);
- CreateDynamicObject(737, 1520.90, -1849.56, 12.89, 0.00, 0.00, 0.00);
- CreateDynamicObject(737, 1462.54, -1849.65, 12.89, 0.00, 0.00, 0.00);
- CreateDynamicObject(737, 1440.90, -1849.97, 12.89, 0.00, 0.00, 0.00);
- CreateDynamicObject(737, 1420.34, -1788.11, 12.89, 0.00, 0.00, 0.00);
- CreateDynamicObject(737, 1420.10, -1810.16, 12.89, 0.00, 0.00, 0.00);
- CreateDynamicObject(737, 1542.35, -1786.54, 12.89, 0.00, 0.00, 0.00);
- CreateDynamicObject(737, 1542.49, -1808.74, 12.89, 0.00, 0.00, 0.00);
- CreateDynamicObject(803, 1406.14, -1856.42, 13.87, 0.00, 0.00, 67.62);
- CreateDynamicObject(803, 1479.47, -1856.69, 13.87, 0.00, 0.00, 171.24);
- CreateDynamicObject(803, 1553.93, -1856.09, 13.87, 0.00, 0.00, 211.98);
- CreateDynamicObject(803, 1553.08, -1778.34, 13.87, 0.00, 0.00, 307.02);
- CreateDynamicObject(1231, 1468.38, -1808.52, 15.29, 356.86, 0.00, -1.57);
- CreateDynamicObject(1231, 1496.08, -1809.05, 15.29, 356.86, 0.00, -1.57);
- CreateDynamicObject(1231, 1528.23, -1808.70, 15.29, 356.86, 0.00, -1.57);
- CreateDynamicObject(1231, 1433.90, -1808.96, 15.29, 356.86, 0.00, -1.57);
- CreateDynamicObject(1280, 1431.32, -1808.87, 13.01, 0.00, 0.00, 2.40);
- CreateDynamicObject(1280, 1436.81, -1808.94, 13.01, 0.00, 0.00, -178.50);
- CreateDynamicObject(1280, 1465.96, -1808.62, 13.03, 0.00, 0.00, 1.56);
- CreateDynamicObject(1280, 1471.08, -1808.47, 13.03, 0.00, 0.00, -176.82);
- CreateDynamicObject(1280, 1493.90, -1809.06, 12.98, 0.00, 0.00, 0.36);
- CreateDynamicObject(1280, 1498.94, -1808.82, 13.18, 0.00, 0.00, -178.14);
- CreateDynamicObject(1280, 1525.32, -1808.88, 13.11, 0.00, 0.00, 0.00);
- CreateDynamicObject(1280, 1531.13, -1808.63, 13.11, 0.00, 0.00, -178.02);
- CreateDynamicObject(1231, 1533.02, -1849.51, 15.29, 356.86, 0.00, -1.57);
- CreateDynamicObject(1231, 1479.53, -1848.93, 15.29, 356.86, 0.00, -1.57);
- CreateDynamicObject(1231, 1428.34, -1849.59, 15.29, 356.86, 0.00, -1.57);
- CreateDynamicObject(1280, 1426.02, -1849.68, 13.14, 0.00, 0.00, 0.00);
- CreateDynamicObject(1280, 1431.30, -1849.60, 13.14, 0.00, 0.00, -178.80);
- CreateDynamicObject(1280, 1477.15, -1848.97, 13.13, 0.00, 0.00, 0.30);
- CreateDynamicObject(1280, 1482.46, -1848.87, 13.13, 0.00, 0.00, -178.74);
- CreateDynamicObject(1280, 1530.99, -1849.56, 13.19, 0.00, 0.00, 0.72);
- CreateDynamicObject(1280, 1535.39, -1849.42, 13.09, 0.00, 0.00, -177.72);
- CreateDynamicObject(1339, 1432.35, -1831.79, 13.24, 0.00, 0.00, -179.46);
- CreateDynamicObject(1339, 1432.30, -1834.05, 13.24, 0.00, 0.00, -359.70);
- CreateDynamicObject(1339, 1480.03, -1831.90, 13.21, 0.00, 0.00, -179.52);
- CreateDynamicObject(1339, 1480.07, -1833.99, 13.22, 0.00, 0.00, -359.22);
- CreateDynamicObject(1339, 1529.27, -1833.89, 13.25, 0.00, 0.00, 0.00);
- CreateDynamicObject(1339, 1529.26, -1831.97, 13.25, 0.00, 0.00, -179.82);
- //Ponto de onibus
- AddStaticVehicleEx(431,2246.70922852,-1748.82617188,13.63281250,270.00000000,-1,-1,15); //Bus
- AddStaticVehicleEx(431,2275.93554688,-1749.20629883,13.63281250,270.00000000,-1,-1,15); //Bus
- AddStaticVehicleEx(431,2297.37329102,-1749.33593750,13.63281250,270.00000000,-1,-1,15); //Bus
- AddStaticVehicleEx(437,2333.17504883,-1748.89038086,13.62942314,270.00000000,-1,-1,15); //Coach
- AddStaticVehicleEx(437,2363.02197266,-1749.21069336,13.63281250,270.00000000,-1,-1,15); //Coach
- AddStaticVehicleEx(437,2389.44531250,-1749.00683594,13.63281250,270.00000000,-1,-1,15); //Coach
- taxi1 = AddStaticVehicleEx(420,2393.55541992,-1737.58203125,13.39687443,93.99902344,-1,-1,15); //Taxi
- taxi2 = AddStaticVehicleEx(420,2382.03735352,-1737.07470703,13.23281193,93.99902344,-1,-1,15); //Taxi
- taxi3 = AddStaticVehicleEx(420,2373.29663086,-1736.93078613,13.23281193,93.99902344,-1,-1,15); //Taxi
- AddStaticVehicleEx(420,2365.73632812,-1737.12182617,13.23281193,93.99902344,-1,-1,15); //Taxi
- AddStaticVehicleEx(420,2357.63574219,-1736.95068359,13.23281193,93.99902344,-1,-1,15); //Taxi
- AddStaticVehicleEx(420,2350.46264648,-1737.15637207,13.23281193,93.99902344,-1,-1,15); //Taxi
- AddStaticVehicleEx(420,2343.82617188,-1737.11254883,13.23281193,93.99902344,-1,-1,15); //Taxi
- AddStaticVehicleEx(420,2337.51586914,-1737.13854980,13.23281193,93.99902344,-1,-1,15); //Taxi
- AddStaticVehicleEx(420,2330.04931641,-1737.25927734,13.23281193,93.99902344,-1,-1,15); //Taxi
- AddStaticVehicleEx(420,2324.09057617,-1737.18469238,13.23281193,93.99902344,-1,-1,15); //Taxi
- AddStaticVehicleEx(438,2256.62255859,-1738.57897949,13.74687481,95.99853516,-1,-1,15); //Cabbie
- AddStaticVehicleEx(438,2247.70581055,-1738.78759766,13.74687481,95.99853516,-1,-1,15); //Cabbie
- AddStaticVehicleEx(438,2238.35253906,-1739.43920898,13.74687481,95.99853516,-1,-1,15); //Cabbie
- AddStaticVehicleEx(438,2266.07299805,-1738.36474609,13.74687481,90.00000000,-1,-1,15); //Cabbie
- CreateObject(8841,2283.89697266,-1744.74719238,15.87311554,0.00000000,0.00000000,0.00000000); //object(rsdncarprk01_lvs) (2)
- CreateObject(8841,2358.73828125,-1745.15136719,15.87311554,0.00000000,0.00000000,0.00000000); //object(rsdncarprk01_lvs) (3)
- CreateObject(8841,2383.80322266,-1744.80383301,15.87311554,0.00000000,0.00000000,0.00000000); //object(rsdncarprk01_lvs) (5)
- CreateObject(8841,2258.07983398,-1744.60290527,15.87311554,0.00000000,0.00000000,0.00000000); //object(rsdncarprk01_lvs) (7)
- CreateObject(1256,2240.49267578,-1745.29309082,13.51694679,0.00000000,0.00000000,92.00000000); //object(stonebench1) (1)
- CreateObject(1256,2244.07104492,-1745.50085449,13.51694679,0.00000000,0.00000000,91.99951172); //object(stonebench1) (2)
- CreateObject(1256,2248.14477539,-1745.50769043,13.51694679,0.00000000,0.00000000,91.99951172); //object(stonebench1) (3)
- CreateObject(1256,2251.08203125,-1745.39062500,13.51694679,0.00000000,0.00000000,91.99951172); //object(stonebench1) (4)
- CreateObject(1256,2253.66625977,-1745.14953613,13.51694679,0.00000000,0.00000000,91.99951172); //object(stonebench1) (5)
- CreateObject(1256,2256.24658203,-1745.02258301,13.51694679,0.00000000,0.00000000,91.99951172); //object(stonebench1) (6)
- CreateObject(1256,2245.81811523,-1745.42980957,13.51694679,0.00000000,0.00000000,91.99951172); //object(stonebench1) (7)
- CreateObject(1432,2260.01757812,-1743.40222168,12.85749054,0.00000000,0.00000000,0.00000000); //object(dyn_table_2) (1)
- CreateObject(1432,2262.67626953,-1743.38623047,12.85749054,0.00000000,0.00000000,0.00000000); //object(dyn_table_2) (2)
- CreateObject(1670,2260.09423828,-1743.49853516,13.47282887,0.00000000,0.00000000,0.00000000); //object(propcollecttable) (1)
- CreateObject(1670,2262.56933594,-1743.17797852,13.47282887,0.00000000,0.00000000,0.00000000); //object(propcollecttable) (2)
- CreateObject(1432,2265.34155273,-1743.35852051,12.85749054,0.00000000,0.00000000,0.00000000); //object(dyn_table_2) (4)
- CreateObject(1670,2265.28588867,-1743.38586426,13.47282887,0.00000000,0.00000000,0.00000000); //object(propcollecttable) (4)
- CreateObject(1229,2264.95434570,-1746.87902832,14.41717052,0.00000000,0.00000000,282.00000000); //object(bussign1) (1)
- CreateObject(1229,2303.93872070,-1747.14160156,14.41717052,0.00000000,0.00000000,278.00000000); //object(bussign1) (2)
- CreateObject(8841,2339.51245117,-1744.76550293,15.87311554,0.00000000,0.00000000,0.00000000); //object(rsdncarprk01_lvs) (8)
- CreateObject(1229,2340.61987305,-1747.48205566,14.41717052,0.00000000,0.00000000,294.00000000); //object(bussign1) (4)
- CreateObject(1229,2378.47387695,-1747.28820801,14.41717052,0.00000000,0.00000000,258.00000000); //object(bussign1) (5)
- CreateObject(1229,2402.53930664,-1747.11108398,14.41717052,0.00000000,0.00000000,257.99743652); //object(bussign1) (6)
- CreateObject(1262,2400.10205078,-1746.92736816,13.61711121,0.00000000,0.00000000,86.00000000); //object(mtraffic4) (1)
- CreateObject(1262,2377.39086914,-1746.97326660,13.61711121,0.00000000,0.00000000,85.99548340); //object(mtraffic4) (2)
- CreateObject(1262,2340.53930664,-1746.95471191,13.61711121,0.00000000,0.00000000,85.99548340); //object(mtraffic4) (3)
- CreateObject(1262,2320.61791992,-1746.58715820,13.61711121,0.00000000,0.00000000,85.99548340); //object(mtraffic4) (4)
- CreateObject(1262,2302.30273438,-1746.74682617,13.61711121,0.00000000,0.00000000,85.99548340); //object(mtraffic4) (5)
- CreateObject(1262,2264.70410156,-1746.29858398,13.62418938,0.00000000,0.00000000,85.99548340); //object(mtraffic4) (6)
- CreateObject(1262,2238.89379883,-1746.18334961,13.62418938,0.00000000,0.00000000,85.99548340); //object(mtraffic4) (7)
- CreateObject(982,2391.54077148,-1750.88562012,13.06636715,0.00000000,0.00000000,270.00000000); //object(fenceshit) (1)
- CreateObject(982,2376.02783203,-1750.83325195,13.06636715,0.00000000,0.00000000,270.00000000); //object(fenceshit) (2)
- CreateObject(982,2352.24267578,-1750.77087402,13.06636715,0.00000000,0.00000000,270.00000000); //object(fenceshit) (3)
- CreateObject(982,2333.60571289,-1750.76281738,13.06308270,0.00000000,0.00000000,270.00000000); //object(fenceshit) (4)
- CreateObject(982,2250.87573242,-1751.20104980,13.06636715,0.00000000,0.00000000,270.00000000); //object(fenceshit) (5)
- CreateObject(982,2269.76074219,-1751.23925781,13.06636715,0.00000000,0.00000000,270.00000000); //object(fenceshit) (6)
- CreateObject(982,2290.30688477,-1751.31347656,13.06636715,0.00000000,0.00000000,270.00000000); //object(fenceshit) (7)
- CreateObject(982,2292.60864258,-1751.40270996,13.06977272,0.00000000,0.00000000,270.00000000); //object(fenceshit) (8)
- CreateObject(982,2240.33227539,-1751.06445312,13.07415676,0.00000000,0.00000000,270.00000000); //object(fenceshit) (9)
- CreateObject(14438,2246.12695312,-1748.67175293,20.22501564,0.00000000,0.00000000,0.00000000); //object(carter-light04) (1)
- CreateObject(14439,2310.83203125,-1716.93750000,19.75844383,0.00000000,0.00000000,0.00000000); //object(carter-light12) (2)
- CreateObject(14438,2267.83764648,-1748.24072266,20.17758369,0.00000000,0.00000000,0.00000000); //object(carter-light04) (2)
- CreateObject(14438,2287.92016602,-1747.99792480,20.13498497,0.00000000,0.00000000,0.00000000); //object(carter-light04) (3)
- CreateObject(14438,2328.43115234,-1749.25842285,20.27168465,0.00000000,0.00000000,0.00000000); //object(carter-light04) (4)
- CreateObject(14438,2354.24780273,-1748.67187500,20.20713615,0.00000000,0.00000000,0.00000000); //object(carter-light04) (5)
- CreateObject(14438,2381.46752930,-1752.20056152,20.59123802,0.00000000,0.00000000,0.00000000); //object(carter-light04) (6)
- CreateObject(14438,2372.47070312,-1749.96960449,20.34572792,0.00000000,0.00000000,0.00000000); //object(carter-light04) (8)
- CreateObject(14438,2396.25903320,-1750.20141602,20.37123871,0.00000000,0.00000000,0.00000000); //object(carter-light04) (9)
- CreateObject(1257,2392.98583984,-1745.83056641,14.13668251,0.00000000,0.00000000,90.00000000); //object(bustopm) (1)
- CreateObject(1257,2387.47558594,-1746.12402344,14.13668251,0.00000000,0.00000000,90.00000000); //object(bustopm) (2)
- CreateObject(1257,2380.23535156,-1745.61669922,14.13668251,0.00000000,0.00000000,90.00000000); //object(bustopm) (3)
- CreateObject(1257,2370.00366211,-1745.66784668,14.13668251,0.00000000,0.00000000,90.00000000); //object(bustopm) (4)
- CreateObject(1257,2361.97509766,-1746.18212891,14.13668251,0.00000000,0.00000000,90.00000000); //object(bustopm) (5)
- CreateObject(1257,2349.40087891,-1745.64672852,14.13668251,0.00000000,0.00000000,90.00000000); //object(bustopm) (6)
- CreateObject(1257,2333.46655273,-1744.93420410,14.13668251,0.00000000,0.00000000,90.00000000); //object(bustopm) (7)
- CreateObject(1216,2357.31372070,-1745.58825684,13.54949284,0.00000000,0.00000000,0.00000000); //object(phonebooth1) (1)
- CreateObject(1216,2355.83154297,-1744.28698730,13.54949284,0.00000000,0.00000000,0.00000000); //object(phonebooth1) (2)
- CreateObject(1216,2354.22973633,-1743.33911133,13.54949284,0.00000000,0.00000000,0.00000000); //object(phonebooth1) (3)
- CreateObject(1340,2269.89941406,-1744.11267090,13.98507690,0.00000000,0.00000000,266.00000000); //object(chillidogcart) (1)
- CreateObject(1341,2274.32128906,-1743.59948730,13.86007690,0.00000000,0.00000000,270.00000000); //object(icescart_prop) (1)
- CreateObject(1341,2276.15771484,-1743.89770508,13.86007690,0.00000000,0.00000000,270.00000000); //object(icescart_prop) (2)
- CreateObject(1342,2278.05590820,-1744.11596680,13.89118385,0.00000000,0.00000000,276.00000000); //object(noodlecart_prop) (1)
- CreateObject(1363,2285.15014648,-1744.22717285,13.69385338,0.00000000,0.00000000,0.00000000); //object(cj_phone_kiosk) (1)
- CreateObject(3860,2288.00073242,-1743.93933105,14.02982140,0.00000000,0.00000000,358.00000000); //object(marketstall04_sfxrf) (1)
- CreateObject(3861,2294.13769531,-1744.03381348,14.02982140,0.00000000,0.00000000,0.00000000); //object(marketstall01_sfxrf) (1)
- CreateObject(3862,2300.83129883,-1744.16870117,14.02982140,0.00000000,0.00000000,2.00000000); //object(marketstall02_sfxrf) (1)
- CreateObject(3863,2281.38476562,-1744.35180664,14.02982140,0.00000000,0.00000000,0.00000000); //object(marketstall03_sfxrf) (2)
- CreateObject(955,2241.58715820,-1742.74511719,12.85749054,0.00000000,0.00000000,0.00000000); //object(cj_ext_sprunk) (1)
- CreateObject(1776,2244.09887695,-1742.48522949,13.95688248,0.00000000,0.00000000,0.00000000); //object(cj_candyvendor) (1)
- CreateObject(1302,2247.25756836,-1742.44555664,12.85749054,0.00000000,0.00000000,0.00000000); //object(vendmachfd) (1)
- CreateObject(1977,2250.17993164,-1742.57482910,12.85749054,0.00000000,0.00000000,0.00000000); //object(vendin3) (1)
- CreateObject(2427,2282.37695312,-1745.16296387,13.67541885,0.00000000,0.00000000,0.00000000); //object(cj_ff_juice_l) (1)
- CreateObject(2429,2280.31469727,-1743.01879883,13.46442413,0.00000000,0.00000000,0.00000000); //object(cj_ff_cup_disp) (1)
- CreateObject(2453,2281.18896484,-1745.13940430,14.05377102,0.00000000,0.00000000,0.00000000); //object(cj_pizza_dispf) (1)
- CreateObject(2814,2287.09155273,-1744.66979980,13.67541885,0.00000000,0.00000000,0.00000000); //object(gb_takeaway01) (1)
- CreateObject(2429,2287.46850586,-1742.58691406,13.71886253,0.00000000,0.00000000,0.00000000); //object(cj_ff_cup_disp) (2)
- CreateObject(2427,2288.70361328,-1744.70056152,13.67541885,0.00000000,0.00000000,0.00000000); //object(cj_ff_juice_l) (2)
- CreateObject(2880,2286.47290039,-1741.82775879,12.62709141,0.00000000,0.00000000,0.00000000); //object(cj_burg_2) (1)
- CreateObject(2768,2293.01611328,-1745.15710449,13.71773434,0.00000000,0.00000000,0.00000000); //object(cj_cb_burg) (1)
- CreateObject(2768,2293.50097656,-1745.24414062,13.71773434,0.00000000,0.00000000,0.00000000); //object(cj_cb_burg) (2)
- CreateObject(2768,2293.88134766,-1745.18103027,13.71773434,0.00000000,0.00000000,0.00000000); //object(cj_cb_burg) (3)
- CreateObject(2427,2295.12255859,-1744.85119629,13.67541885,0.00000000,0.00000000,0.00000000); //object(cj_ff_juice_l) (3)
- CreateObject(2429,2295.17211914,-1742.70080566,13.77034569,0.00000000,0.00000000,0.00000000); //object(cj_ff_cup_disp) (3)
- CreateObject(2767,2293.34423828,-1744.54260254,13.67541885,0.00000000,0.00000000,0.00000000); //object(cj_cb_tray) (1)
- CreateObject(2222,2300.09667969,-1745.17480469,13.74377728,0.00000000,0.00000000,272.00000000); //object(rustyhigh) (1)
- CreateObject(2222,2299.99243164,-1744.55078125,13.74377728,0.00000000,0.00000000,271.99951172); //object(rustyhigh) (2)
- CreateObject(2427,2301.89941406,-1744.95300293,13.67541885,0.00000000,0.00000000,0.00000000); //object(cj_ff_juice_l) (4)
- CreateObject(2429,2301.26171875,-1742.81994629,13.72533321,0.00000000,0.00000000,0.00000000); //object(cj_ff_cup_disp) (4)
- CreateObject(1211,2262.20434570,-1741.11694336,13.15768147,0.00000000,0.00000000,0.00000000); //object(fire_hydrant) (1)
- CreateObject(1211,2306.47851562,-1745.08190918,13.15768147,0.00000000,0.00000000,0.00000000); //object(fire_hydrant) (2)
- CreateObject(1211,2320.34838867,-1745.21606445,13.47537518,0.00000000,0.00000000,0.00000000); //object(fire_hydrant) (3)
- CreateObject(1211,2404.02075195,-1745.23095703,13.46829700,0.00000000,0.00000000,0.00000000); //object(fire_hydrant) (4)
- CreateObject(643,2291.16992188,-1739.19836426,13.01734638,0.00000000,0.00000000,0.00000000); //object(kb_chr_tbl_test) (1)
- CreateObject(643,2285.74096680,-1739.17004395,13.01734638,0.00000000,0.00000000,0.00000000); //object(kb_chr_tbl_test) (2)
- CreateObject(643,2280.54882812,-1739.09887695,13.01734638,0.00000000,0.00000000,0.00000000); //object(kb_chr_tbl_test) (3)
- CreateObject(643,2299.03027344,-1739.61547852,13.01734638,0.00000000,0.00000000,0.00000000); //object(kb_chr_tbl_test) (4)
- CreateObject(643,2276.28979492,-1739.01013184,13.01734638,0.00000000,0.00000000,0.00000000); //object(kb_chr_tbl_test) (5)
- CreateObject(643,2271.09960938,-1739.20361328,13.01734638,0.00000000,0.00000000,0.00000000); //object(kb_chr_tbl_test) (6)
- CreateObject(2700,2267.52368164,-1744.83276367,16.75267792,0.00000000,0.00000000,0.00000000); //object(cj_sex_tv2) (1)
- CreateObject(2700,2266.92358398,-1744.68859863,17.12287140,0.00000000,0.00000000,180.00000000); //object(cj_sex_tv2) (2)
- CreateObject(2700,2257.48779297,-1744.53649902,17.05342293,0.00000000,0.00000000,179.99450684); //object(cj_sex_tv2) (3)
- CreateObject(2700,2241.10620117,-1744.61242676,17.08003616,0.00000000,0.00000000,179.99450684); //object(cj_sex_tv2) (4)
- CreateObject(2700,2272.31591797,-1744.49865723,16.94965935,0.00000000,0.00000000,198.00000000); //object(cj_sex_tv2) (5)
- CreateObject(2700,2283.30517578,-1744.71166992,17.00161362,0.00000000,0.00000000,197.99560547); //object(cj_sex_tv2) (6)
- CreateObject(2700,2298.13330078,-1744.77172852,17.08326530,0.00000000,0.00000000,197.99560547); //object(cj_sex_tv2) (7)
- CreateObject(2700,2298.73339844,-1744.76489258,16.85235977,0.00000000,0.00000000,3.99560547); //object(cj_sex_tv2) (8)
- CreateObject(2700,2283.90527344,-1744.79870605,16.95171356,0.00000000,0.00000000,3.99353027); //object(cj_sex_tv2) (9)
- CreateObject(2700,2272.91601562,-1744.55383301,16.78020859,0.00000000,0.00000000,3.99353027); //object(cj_sex_tv2) (10)
- CreateObject(2700,2258.08789062,-1744.57287598,16.79337120,0.00000000,0.00000000,3.99353027); //object(cj_sex_tv2) (11)
- CreateObject(2700,2241.70629883,-1744.59570312,16.63220215,0.00000000,0.00000000,3.99353027); //object(cj_sex_tv2) (12)
- CreateObject(2700,2322.53881836,-1744.71362305,16.96219635,0.00000000,0.00000000,179.99353027); //object(cj_sex_tv2) (13)
- CreateObject(2700,2338.92041016,-1744.70178223,16.88451385,0.00000000,0.00000000,179.98901367); //object(cj_sex_tv2) (14)
- CreateObject(2700,2353.74853516,-1744.63098145,16.87446976,0.00000000,0.00000000,179.98901367); //object(cj_sex_tv2) (15)
- CreateObject(2700,2366.82983398,-1744.60632324,16.91942215,0.00000000,0.00000000,179.98901367); //object(cj_sex_tv2) (16)
- CreateObject(2700,2383.21142578,-1744.57397461,16.74682426,0.00000000,0.00000000,179.98901367); //object(cj_sex_tv2) (17)
- CreateObject(2700,2398.03955078,-1744.74902344,17.22937393,0.00000000,0.00000000,179.98901367); //object(cj_sex_tv2) (18)
- CreateObject(2700,2398.63964844,-1744.85046387,16.90629959,0.00000000,0.00000000,359.98901367); //object(cj_sex_tv2) (19)
- CreateObject(2700,2383.81152344,-1744.86633301,16.58543968,0.00000000,0.00000000,359.98352051); //object(cj_sex_tv2) (20)
- CreateObject(2700,2373.57519531,-1745.11669922,17.00518799,0.00000000,0.00000000,359.98352051); //object(cj_sex_tv2) (21)
- CreateObject(2700,2367.42993164,-1744.79235840,16.87066078,0.00000000,0.00000000,359.98352051); //object(cj_sex_tv2) (22)
- CreateObject(2700,2358.74707031,-1745.12426758,17.01222610,0.00000000,0.00000000,359.98352051); //object(cj_sex_tv2) (23)
- CreateObject(2700,2354.34863281,-1744.79248047,16.77287674,0.00000000,0.00000000,359.98352051); //object(cj_sex_tv2) (24)
- CreateObject(2700,2342.36547852,-1745.15710449,16.81734276,0.00000000,0.00000000,359.98352051); //object(cj_sex_tv2) (25)
- CreateObject(2700,2339.52050781,-1744.65734863,16.76002693,0.00000000,0.00000000,359.98352051); //object(cj_sex_tv2) (26)
- CreateObject(2700,2372.97509766,-1745.38635254,16.81226540,0.00000000,0.00000000,173.98352051); //object(cj_sex_tv2) (27)
- CreateObject(2700,2358.14697266,-1745.23498535,16.91577530,0.00000000,0.00000000,173.97949219); //object(cj_sex_tv2) (28)
- CreateObject(2700,2339.18017578,-1825.05102539,16.05622101,0.00000000,0.00000000,173.97949219); //object(cj_sex_tv2) (29)
- CreateObject(2700,2341.76538086,-1745.13342285,16.67930603,0.00000000,0.00000000,173.97949219); //object(cj_sex_tv2) (30)
- CreateObject(2700,2323.13891602,-1744.71081543,16.87057495,0.00000000,0.00000000,357.97949219); //object(cj_sex_tv2) (31)
- //Roda gigante
- gFerrisWheel = CreateObject( FERRIS_WHEEL_ID, gFerrisOrigin[0], gFerrisOrigin[1], gFerrisOrigin[2],
- 0.0, 0.0, FERRIS_WHEEL_Z_ANGLE, FERRIS_DRAW_DISTANCE );
- gFerrisBase = CreateObject( FERRIS_BASE_ID, gFerrisOrigin[0], gFerrisOrigin[1], gFerrisOrigin[2],
- 0.0, 0.0, FERRIS_WHEEL_Z_ANGLE, FERRIS_DRAW_DISTANCE );
- new x=0;
- while(x != NUM_FERRIS_CAGES) {
- gFerrisCages[x] = CreateObject( FERRIS_CAGE_ID, gFerrisOrigin[0], gFerrisOrigin[1], gFerrisOrigin[2],
- 0.0, 0.0, FERRIS_WHEEL_Z_ANGLE, FERRIS_DRAW_DISTANCE );
- AttachObjectToObject( gFerrisCages[x], gFerrisWheel,
- gFerrisCageOffsets[x][0],
- gFerrisCageOffsets[x][1],
- gFerrisCageOffsets[x][2],
- 0.0, 0.0, FERRIS_WHEEL_Z_ANGLE, 0 );
- x++;
- }
- SetTimer("RotateWheel",3*1000,0);
- //Bank
- tmpobjid = CreateObject(19378,2557.927,1977.755,-6.487,0.000,90.000,0.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14581, "ab_mafiasuitea", "wood02S", 0);
- tmpobjid = CreateObject(19378,2557.927,1968.156,-6.487,0.000,90.000,0.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14581, "ab_mafiasuitea", "wood02S", 0);
- tmpobjid = CreateObject(19378,2557.927,1958.705,-6.487,0.000,90.000,0.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14581, "ab_mafiasuitea", "wood02S", 0);
- tmpobjid = CreateObject(19378,2547.478,1958.705,-6.487,0.000,90.000,0.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14581, "ab_mafiasuitea", "wood02S", 0);
- tmpobjid = CreateObject(19378,2547.478,1968.155,-6.487,0.000,90.000,0.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14581, "ab_mafiasuitea", "wood02S", 0);
- tmpobjid = CreateObject(19378,2547.478,1977.755,-6.487,0.000,90.000,0.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14581, "ab_mafiasuitea", "wood02S", 0);
- tmpobjid = CreateObject(19380,2563.112,1958.690,-1.311,0.000,0.000,0.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14534, "ab_wooziea", "ab_fabricRed", -16777216);
- tmpobjid = CreateObject(19380,2563.112,1968.290,-1.311,0.000,0.000,0.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14534, "ab_wooziea", "ab_fabricRed", -16777216);
- tmpobjid = CreateObject(19380,2563.112,1977.920,-1.311,0.000,0.000,0.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14534, "ab_wooziea", "ab_fabricRed", -16777216);
- tmpobjid = CreateObject(19380,2558.332,1982.671,-1.311,0.000,0.000,90.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14534, "ab_wooziea", "ab_fabricRed", -16777216);
- tmpobjid = CreateObject(19380,2548.713,1982.671,-1.311,0.000,0.000,90.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14534, "ab_wooziea", "ab_fabricRed", -16777216);
- tmpobjid = CreateObject(19380,2539.113,1982.671,-1.311,0.000,0.000,90.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14534, "ab_wooziea", "ab_fabricRed", -16777216);
- tmpobjid = CreateObject(19380,2542.321,1977.920,-1.311,0.000,0.000,0.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14534, "ab_wooziea", "ab_fabricRed", -16777216);
- tmpobjid = CreateObject(19380,2542.321,1968.301,-1.311,0.000,0.000,0.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14534, "ab_wooziea", "ab_fabricRed", -16777216);
- tmpobjid = CreateObject(19380,2542.321,1958.711,-1.311,0.000,0.000,0.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14534, "ab_wooziea", "ab_fabricRed", -16777216);
- tmpobjid = CreateObject(19380,2539.113,1953.940,-1.311,0.000,0.000,90.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14534, "ab_wooziea", "ab_fabricRed", -16777216);
- tmpobjid = CreateObject(19380,2548.713,1953.940,-1.311,0.000,0.000,90.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14534, "ab_wooziea", "ab_fabricRed", -16777216);
- tmpobjid = CreateObject(19380,2558.302,1953.940,-1.311,0.000,0.000,90.000,300.000);
- SetObjectMaterial(tmpobjid, 0, -1, "none", "none", -16777216);
- tmpobjid = CreateObject(19430,2555.247,1953.945,-4.521,90.000,180.000,270.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2558.686,1953.945,-4.521,90.000,180.000,270.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2562.177,1953.945,-4.521,90.000,180.000,270.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2551.776,1953.945,-4.521,90.000,180.000,270.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2548.286,1953.945,-4.521,90.000,180.000,270.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2544.796,1953.945,-4.521,90.000,180.000,270.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2541.376,1953.945,-4.521,90.000,180.000,270.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2542.324,1955.745,-4.521,90.000,180.000,360.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2542.324,1959.235,-4.521,90.000,180.000,360.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2542.324,1962.725,-4.521,90.000,180.000,360.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2542.324,1969.576,-4.521,90.000,180.000,360.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2542.324,1966.165,-4.521,90.000,180.000,360.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2542.324,1973.006,-4.521,90.000,180.000,360.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2542.324,1976.492,-4.521,90.000,180.000,360.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2542.324,1979.832,-4.521,90.000,180.000,360.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2542.324,1983.152,-4.521,90.000,180.000,360.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2544.144,1982.652,-4.521,90.000,180.000,450.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2547.645,1982.652,-4.521,90.000,180.000,450.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2551.115,1982.652,-4.521,90.000,180.000,450.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2554.575,1982.652,-4.521,90.000,180.000,450.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2557.995,1982.652,-4.521,90.000,180.000,450.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2561.485,1982.652,-4.521,90.000,180.000,450.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2563.075,1980.811,-4.521,90.000,180.000,540.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2563.075,1977.331,-4.521,90.000,180.000,540.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2563.075,1973.881,-4.521,90.000,180.000,540.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2563.075,1970.401,-4.521,90.000,180.000,540.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2563.075,1967.011,-4.521,90.000,180.000,540.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2563.075,1963.592,-4.521,90.000,180.000,540.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2563.075,1960.101,-4.521,90.000,180.000,540.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2563.075,1956.771,-4.521,90.000,180.000,540.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19430,2563.075,1953.311,-4.521,90.000,180.000,540.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", -6750208);
- tmpobjid = CreateObject(19360,2561.339,1976.102,-6.921,-90.000,270.000,360.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14652, "ab_trukstpa", "CJ_WOOD1(EDGE)", 0);
- tmpobjid = CreateObject(19360,2557.869,1976.102,-6.921,-90.000,270.000,360.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14652, "ab_trukstpa", "CJ_WOOD1(EDGE)", 0);
- tmpobjid = CreateObject(19360,2554.430,1976.102,-6.921,-90.000,270.000,360.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14652, "ab_trukstpa", "CJ_WOOD1(EDGE)", 0);
- tmpobjid = CreateObject(19360,2550.949,1976.102,-6.921,-90.000,270.000,360.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14652, "ab_trukstpa", "CJ_WOOD1(EDGE)", 0);
- tmpobjid = CreateObject(19360,2547.509,1976.102,-6.921,-90.000,270.000,360.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14652, "ab_trukstpa", "CJ_WOOD1(EDGE)", 0);
- tmpobjid = CreateObject(19360,2544.058,1976.102,-6.921,-90.000,270.000,360.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14652, "ab_trukstpa", "CJ_WOOD1(EDGE)", 0);
- tmpobjid = CreateObject(19428,2544.158,1977.645,-4.561,90.000,180.000,450.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14668, "711c", "gun_ceiling1128", 0);
- tmpobjid = CreateObject(19428,2544.158,1977.645,-3.031,90.000,180.000,450.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14668, "711c", "gun_ceiling1128", 0);
- tmpobjid = CreateObject(19428,2544.158,1976.855,-5.401,0.000,90.000,180.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14668, "711c", "gun_ceiling1128", 0);
- tmpobjid = CreateObject(19428,2547.587,1978.435,-5.401,0.000,90.000,0.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14668, "711c", "gun_ceiling1128", 0);
- tmpobjid = CreateObject(19428,2554.407,1978.435,-5.401,0.000,90.000,0.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14668, "711c", "gun_ceiling1128", 0);
- tmpobjid = CreateObject(19428,2561.207,1978.435,-5.401,0.000,90.000,0.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14668, "711c", "gun_ceiling1128", 0);
- tmpobjid = CreateObject(19428,2547.609,1976.855,-5.401,0.000,90.000,180.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14668, "711c", "gun_ceiling1128", 0);
- tmpobjid = CreateObject(19428,2554.438,1976.855,-5.401,0.000,90.000,180.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14668, "711c", "gun_ceiling1128", 0);
- tmpobjid = CreateObject(19428,2561.237,1976.855,-5.401,0.000,90.000,180.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14668, "711c", "gun_ceiling1128", 0);
- tmpobjid = CreateObject(19428,2544.158,1977.645,-6.131,90.000,180.000,450.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14668, "711c", "gun_ceiling1128", 0);
- tmpobjid = CreateObject(19428,2545.969,1977.954,-6.131,90.000,180.000,540.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14668, "711c", "gun_ceiling1128", 0);
- tmpobjid = CreateObject(19428,2545.969,1982.584,-6.131,90.000,180.000,540.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14668, "711c", "gun_ceiling1128", 0);
- tmpobjid = CreateObject(19428,2545.969,1982.574,-4.551,90.000,180.000,540.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14668, "711c", "gun_ceiling1128", 0);
- tmpobjid = CreateObject(19428,2545.969,1983.984,-2.961,90.000,180.000,540.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14668, "711c", "gun_ceiling1128", 0);
- tmpobjid = CreateObject(19428,2545.969,1977.954,-4.541,90.000,180.000,540.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14668, "711c", "gun_ceiling1128", 0);
- tmpobjid = CreateObject(19428,2545.969,1977.954,-2.981,90.000,180.000,540.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14668, "711c", "gun_ceiling1128", 0);
- tmpobjid = CreateObject(19428,2545.969,1981.415,-2.981,90.000,180.000,540.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 14668, "711c", "gun_ceiling1128", 0);
- tmpobjid = CreateObject(1735,2545.287,1958.989,-6.401,0.000,0.000,0.000,300.000);
- SetObjectMaterial(tmpobjid, 0, -1, "none", "none", -13421620);
- tmpobjid = CreateObject(1735,2545.287,1956.288,-6.401,0.000,0.000,180.000,300.000);
- SetObjectMaterial(tmpobjid, 0, -1, "none", "none", -13421620);
- tmpobjid = CreateObject(19378,2557.927,1977.935,-1.417,0.000,90.000,0.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0);
- tmpobjid = CreateObject(19378,2557.927,1968.356,-1.417,0.000,90.000,0.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0);
- tmpobjid = CreateObject(19378,2557.927,1958.826,-1.417,0.000,90.000,0.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0);
- tmpobjid = CreateObject(19378,2547.488,1958.826,-1.417,0.000,90.000,0.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0);
- tmpobjid = CreateObject(19378,2547.488,1968.326,-1.417,0.000,90.000,0.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0);
- tmpobjid = CreateObject(19378,2547.488,1977.915,-1.417,0.000,90.000,0.000,300.000);
- SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0);
- tmpobjid = CreateObject(1557,2550.846,1953.969,-6.411,0.000,0.000,0.000,300.000);
- tmpobjid = CreateObject(1557,2553.867,1953.969,-6.411,0.000,0.000,180.000,300.000);
- tmpobjid = CreateObject(1671,2560.686,1979.717,-5.831,0.000,0.000,-20.200,300.000);
- tmpobjid = CreateObject(2190,2560.291,1978.097,-5.331,0.000,0.000,180.000,300.000);
- tmpobjid = CreateObject(1671,2554.024,1979.973,-5.831,0.000,0.000,-20.200,300.000);
- tmpobjid = CreateObject(1671,2548.173,1979.933,-5.831,0.000,0.000,3.600,300.000);
- tmpobjid = CreateObject(2066,2542.939,1980.172,-6.421,0.000,0.000,90.000,300.000);
- tmpobjid = CreateObject(2066,2543.621,1982.113,-6.421,0.000,0.000,0.000,300.000);
- tmpobjid = CreateObject(2066,2544.711,1982.113,-6.421,0.000,0.000,0.000,300.000);
- tmpobjid = CreateObject(2066,2542.939,1981.313,-6.421,0.000,0.000,90.000,300.000);
- tmpobjid = CreateObject(1649,2548.215,1976.276,-3.201,0.000,0.000,0.000,300.000);
- tmpobjid = CreateObject(1649,2548.215,1976.276,-3.201,0.000,0.000,180.000,300.000);
- tmpobjid = CreateObject(1649,2552.595,1976.276,-3.201,0.000,0.000,0.000,300.000);
- tmpobjid = CreateObject(1649,2552.595,1976.276,-3.201,0.000,0.000,180.000,300.000);
- tmpobjid = CreateObject(2190,2553.500,1978.097,-5.331,0.000,0.000,180.000,300.000);
- tmpobjid = CreateObject(2190,2548.649,1978.097,-5.331,0.000,0.000,180.000,300.000);
- tmpobjid = CreateObject(2894,2561.709,1978.382,-5.311,0.000,0.000,0.000,300.000);
- tmpobjid = CreateObject(2894,2555.059,1978.382,-5.311,0.000,0.000,0.000,300.000);
- tmpobjid = CreateObject(2894,2547.548,1978.382,-5.311,0.000,0.000,0.000,300.000);
- tmpobjid = CreateObject(2066,2542.939,1979.132,-6.421,0.000,0.000,90.000,300.000);
- tmpobjid = CreateObject(2066,2542.939,1978.042,-6.421,0.000,0.000,90.000,300.000);
- tmpobjid = CreateObject(1216,2543.168,1976.627,-5.501,0.000,0.000,0.000,300.000);
- tmpobjid = CreateObject(1216,2544.278,1976.627,-5.501,0.000,0.000,0.000,300.000);
- tmpobjid = CreateObject(1216,2545.289,1976.627,-5.501,0.000,0.000,0.000,300.000);
- tmpobjid = CreateObject(1649,2556.984,1976.276,-3.201,0.000,0.000,0.000,300.000);
- tmpobjid = CreateObject(1829,2544.333,1978.526,-5.916,0.000,0.000,180.000,300.000);
- tmpobjid = CreateObject(1649,2556.984,1976.276,-3.201,0.000,0.000,180.000,300.000);
- tmpobjid = CreateObject(1649,2561.334,1976.276,-3.201,0.000,0.000,360.000,300.000);
- tmpobjid = CreateObject(1649,2561.334,1976.276,-3.201,0.000,0.000,540.000,300.000);
- tmpobjid = CreateObject(1706,2543.458,1960.947,-6.401,0.000,0.000,90.000,300.000);
- tmpobjid = CreateObject(1706,2547.609,1961.947,-6.401,0.000,0.000,270.000,300.000);
- tmpobjid = CreateObject(1706,2545.028,1963.737,-6.401,0.000,0.000,360.000,300.000);
- tmpobjid = CreateObject(1827,2545.509,1961.476,-6.601,0.000,0.000,0.000,300.000);
- tmpobjid = CreateObject(2942,2562.350,1956.509,-5.801,0.000,0.000,270.000,300.000);
- tmpobjid = CreateObject(2942,2562.350,1958.069,-5.801,0.000,0.000,270.000,300.000);
- tmpobjid = CreateObject(2942,2562.350,1959.409,-5.801,0.000,0.000,270.000,300.000);
- tmpobjid = CreateObject(2942,2562.350,1960.789,-5.801,0.000,0.000,270.000,300.000);
- tmpobjid = CreateObject(2942,2562.350,1962.079,-5.801,0.000,0.000,270.000,300.000);
- tmpobjid = CreateObject(1808,2542.644,1966.197,-6.461,0.000,0.000,90.000,300.000);
- tmpobjid = CreateObject(1722,2562.984,1967.045,-6.401,0.000,0.000,90.000,300.000);
- tmpobjid = CreateObject(1722,2562.984,1968.276,-6.401,0.000,0.000,90.000,300.000);
- tmpobjid = CreateObject(1722,2562.984,1969.526,-6.401,0.000,0.000,90.000,300.000);
- tmpobjid = CreateObject(1722,2562.984,1970.556,-6.401,0.000,0.000,90.000,300.000);
- tmpobjid = CreateObject(1722,2562.984,1971.696,-6.401,0.000,0.000,90.000,300.000);
- tmpobjid = CreateObject(638,2555.625,1954.331,-5.711,0.000,0.000,90.000,300.000);
- tmpobjid = CreateObject(638,2558.265,1954.331,-5.711,0.000,0.000,90.000,300.000);
- tmpobjid = CreateObject(638,2560.904,1954.331,-5.711,0.000,0.000,90.000,300.000);
- tmpobjid = CreateObject(638,2549.234,1954.331,-5.711,0.000,0.000,90.000,300.000);
- tmpobjid = CreateObject(638,2546.564,1954.331,-5.711,0.000,0.000,90.000,300.000);
- tmpobjid = CreateObject(638,2543.914,1954.331,-5.711,0.000,0.000,90.000,300.000);
- tmpobjid = CreateObject(2008,2544.825,1970.919,-6.401,0.000,0.000,-129.399,300.000);
- tmpobjid = CreateObject(2008,2544.808,1972.957,-6.401,0.000,0.000,-75.099,300.000);
- tmpobjid = CreateObject(1671,2543.621,1971.698,-6.001,0.000,0.000,90.000,300.000);
- tmpobjid = CreateObject(14455,2542.416,1959.598,-4.841,0.000,0.000,270.000,300.000);
- //Hosp
- CreateObject(2885, 1672.5996, -1715.5996, 19.3, 0, 0, 90);
- CreateObject(2885, 1672.5996, -1704.7998, 19.3, 0, 0, 90);
- CreateObject(2885, 1667, -1720.59998, 19.3, 0, 0, 0);
- CreateObject(18001, 1672.2998, -1716.2998, 18, 0, 0, 270);
- CreateObject(18001, 1672.2998, -1716.2998, 16.6, 0, 0, 270);
- CreateObject(18001, 1664.2998, -1708.0996, 15.3, 0, 180.5, 90);
- CreateObject(18001, 1672.2998, -1708.0996, 15.2, 0, 179.995, 270);
- CreateObject(18001, 1672.2998, -1708.0996, 16.6, 0, 179.995, 269.75);
- CreateObject(18001, 1672.2998, -1708.0996, 18, 0, 179.995, 270);
- CreateObject(2885, 1666.9004, -1703.7002, 19.3, 0, 0, 179.995);
- CreateObject(2885, 1664, -1709.4004, 19.3, 0, 0, 269.995);
- CreateObject(2885, 1664, -1717.5, 19.3, 0, 0, 269.995);
- CreateObject(18001, 1668.3, -1704, 15.2, 0, 0, 0);
- CreateObject(18001, 1668.3, -1704, 16.6, 0, 0, 0);
- CreateObject(18001, 1668.3, -1704, 18, 0, 0, 0);
- CreateObject(2774, 1672.9, -1703.5, 26.5, 0, 0, 318);
- CreateObject(18001, 1664.3, -1708.1, 16.7, 0, 180.5, 90);
- CreateObject(18001, 1664.3, -1708.1, 18.1, 0, 180.5, 90);
- CreateObject(2774, 1663.5, -1703.7002, 26.5, 0, 0, 317.994);
- CreateObject(18001, 1672.3, -1716.3, 15.2, 0, 0, 270);
- CreateObject(18001, 1664.2998, -1716.2998, 15.3, 0, 0, 90);
- CreateObject(18001, 1664.3, -1716.3, 16.7, 0, 0, 90);
- CreateObject(18001, 1664.3, -1716.3, 18.1, 0, 0, 90);
- CreateObject(2774, 1663.2, -1712.3, 26.5, 0, 0, 317.994);
- CreateObject(2774, 1673.4, -1712.1, 26.5, 0, 0, 317.994);
- CreateObject(18001, 1668.3, -1720.3, 18, 0, 180, 180);
- CreateObject(18001, 1668.3, -1720.3, 15.2, 0, 179.995, 179.995);
- CreateObject(18001, 1668.2998, -1720.2998, 16.6, 0, 179.995, 179.995);
- CreateObject(2774, 1672.5, -1721.2002, 26.5, 0, 0, 317.994);
- CreateObject(2774, 1663.8, -1720.9, 26.5, 0, 0, 317.999);
- CreateObject(2885, 1669.0996, -1713.5996, 18.8, 270, 179.995, 179.995);
- CreateObject(2885, 1668.5, -1706.9, 18.8, 270, 180, 180);
- CreateObject(2885, 1669.5, -1700.2, 18.8, 270, 359.996, 359.996);
- CreateObject(3033, 1666.9, -1704, 14.6, 270, 180, 180);
- CreateObject(3033, 1672.5, -1704, 14.6, 270, 359.996, 359.996);
- CreateObject(3033, 1666.9, -1706.4, 14.6, 270, 0, 0);
- CreateObject(3033, 1666.9, -1708.8, 14.6, 270, 180, 180);
- CreateObject(3033, 1666.9, -1711.2, 14.6, 270, 359.996, 359.996);
- CreateObject(3033, 1666.9, -1713.6, 14.6, 270, 180, 180);
- CreateObject(3033, 1666.9, -1716, 14.6, 270, 359.996, 359.996);
- CreateObject(3033, 1666.9, -1718.4, 14.6, 270, 180, 180);
- CreateObject(3033, 1672.5, -1706.4, 14.6, 270, 359.996, 359.996);
- CreateObject(3033, 1672.5, -1708.8, 14.6, 270, 180, 180);
- CreateObject(3033, 1672.5, -1711.2, 14.6, 270, 359.996, 359.996);
- CreateObject(3033, 1672.5, -1713.6, 14.6, 270, 180, 180);
- CreateObject(3033, 1672.5, -1716, 14.6, 270, 359.996, 359.996);
- CreateObject(3033, 1672.5, -1718.4, 14.6, 270, 359.995, 359.995);
- CreateObject(1997, 1670.6, -1705.5, 14.7, 0, 0, 0);
- CreateObject(1997, 1668.7, -1705.5, 14.7, 0, 0, 0);
- CreateObject(1997, 1666.9, -1705.5, 14.7, 0, 0, 0);
- CreateObject(1997, 1666.9, -1709.1, 14.7, 0, 0, 0);
- CreateObject(1997, 1668.7, -1709.1, 14.7, 0, 0, 0);
- CreateObject(1997, 1670.6, -1709.1, 14.7, 0, 0, 0);
- CreateObject(1569, 1666.8, -1720.3, 14.6, 0, 0, 358);
- CreateObject(1569, 1669.8, -1720.3, 14.6, 0, 0, 182);
- CreateObject(1240, 1668.3, -1720.3, 17.3, 0, 0, 0);
- CreateObject(3804, 1664.6, -1705.1, 17.8, 0, 0, 0);
- CreateObject(3812, 1664.6, -1707.1, 17.9, 0, 0, 0);
- CreateObject(2994, 1664.7, -1711.3, 15.2, 0, 0, 0);
- CreateObject(1886, 1672.1, -1719.9, 18.6, 15.99, 357.919, 212.573);
- CreateObject(2601, 1664.8, -1710.8, 15.6, 0, 0, 264);
- CreateObject(1455, 1664.5, -1710.8, 15.6, 0, 0, 0);
- CreateObject(1808, 1664.5, -1720.1, 14.6, 0, 0, 146);
- CreateObject(2812, 1664.7, -1711.3, 15.6, 0, 0, 0);
- CreateObject(2822, 1664.8, -1711.3, 15.3, 0, 0, 0);
- CreateObject(2864, 1664.8, -1711.3, 15, 0, 0, 0);
- CreateObject(14532, 1664.7, -1706.5, 15.6, 0, 0, 270);
- CreateObject(2008, 1671.3, -1715.8, 14.6, 0, 0, 90);
- CreateObject(2249, 1671, -1714.5, 16.1, 0, 0, 0);
- CreateObject(932, 1671.8, -1719.9, 14.6, 0, 0, 182);
- CreateObject(932, 1671.8, -1719.8, 14.6, 0, 0, 182);
- CreateObject(932, 1671.8, -1719.7, 14.6, 0, 0, 182);
- CreateObject(3393, 1664.5, -1708.7, 14.6, 0, 0, 180);
- CreateObject(3386, 1664.5, -1705.1, 14.3, 0, 0, 0);
- CreateObject(1235, 1666.3, -1720, 15.1, 0, 0, 0);
- CreateObject(1775, 1664.7, -1713.1, 15.8, 0, 0, 90);
- CreateObject(1776, 1664.7, -1714.5, 15.8, 0, 0, 90);
- CreatePickup(19132, 1, 1172.6122, -1323.5563, 15.4031, 0);
- Create3DTextLabel("[Hospital]", COLOR_LIGHTORANGE, 1172.6122, -1323.5563, 15.4031, 40.0, 0, 0);
- //Saida Hospital
- Create3DTextLabel("[Saida]", COLOR_LIGHTORANGE, 1668.3256, -1719.4587, 15.6094, 40.0, 0, 0);
- //Barraquinha
- CreateObject(1340, 1213.2494, -1319.8055, 13.5581, 0.0, 0.0, 0.0, 0.0);
- CreateActor(168, 1214.6685, -1319.8698, 13.5659, 87.2126);
- Create3DTextLabel("Aperte ALT", COLOR_LIGHTORANGE, 1213.2494, -1319.8055, 13.5581, 40.0, 0, 0);
- //Barraquinha 2
- CreateObject(1340, 1362.8732, -1739.3807, 13.5469, 0.0, 0.0, 90.0, 0.0);
- CreateActor(209, 1362.7599, -1740.4601, 13.5469, 0.3272);
- Create3DTextLabel("Aperte ALT", COLOR_LIGHTORANGE, 1362.8732, -1739.3807, 13.5469, 40.0, 0, 0);
- //Pickup de vida
- pickupvida = CreatePickup(1240, 1, 1667.8604, -1710.7042, 15.6094, 0);
- CreatePickup(1239, 1, 1668.3256, -1719.4587, 15.6094, 0);
- /*===> PREFEITURA E DEPARTAMENTO POLICIAL <===*/
- CreateObject(717, 1458.1, -1738.3, 12.6, 0, 0, 0);
- CreateObject(717, 1458, -1745.9, 12.6, 0, 0, 0);
- CreateObject(717, 1504.6, -1738.2, 12.6, 0, 0, 0);
- CreateObject(717, 1504.5, -1745.6, 12.6, 0, 0, 0);
- CreateObject(717, 1450, -1738.3, 12.6, 0, 0, 0);
- CreateObject(717, 1440, -1738.3, 12.6, 0, 0, 0);
- CreateObject(717, 1430, -1738.3, 12.6, 0, 0, 0);
- CreateObject(717, 1420, -1738.3, 12.6, 0, 0, 0);
- CreateObject(717, 1410, -1738.3, 12.6, 0, 0, 0);
- CreateObject(717, 1400, -1738.3, 12.6, 0, 0, 0);
- CreateObject(717, 1511.9, -1738.2, 12.6, 0, 0, 0);
- CreateObject(717, 1520, -1738.2, 12.6, 0, 0, 0);
- CreateObject(717, 1530, -1738.2, 12.6, 0, 0, 0);
- CreateObject(717, 1540, -1738.2, 12.6, 0, 0, 0);
- CreateObject(717, 1550, -1738.2, 12.6, 0, 0, 0);
- CreateObject(717, 1558.5, -1738.3, 12.6, 0, 0, 0);
- CreateObject(1280, 1459.4, -1741.7, 12.9, 0, 0, 180);
- CreateObject(1280, 1503.3, -1742.2, 12.9, 0, 0, 0);
- CreateObject(3458, 1520.2, -1703, 14.1, 0, 0, 270);
- CreateObject(3458, 1520.2, -1663, 14.1, 0, 0, 270);
- CreateObject(3458, 1520.2, -1622.8, 14.1, 0, 0, 270);
- CreateObject(3578, 1519.4, -1720.5, 11.8, 0, 0, 0);
- CreateObject(3578, 1519.4, -1713.3, 11.8, 0, 0, 0);
- CreateObject(3578, 1519.4, -1706.3, 11.8, 0, 0, 0);
- CreateObject(3578, 1519.4, -1699.3, 11.8, 0, 0, 0);
- CreateObject(3578, 1519.4, -1692.3, 11.8, 0, 0, 0);
- CreateObject(3578, 1519.4, -1685.3, 11.8, 0, 0, 0);
- CreateObject(3578, 1519.4, -1680.7, 11.8, 0, 0, 0);
- CreateObject(3578, 1519.4, -1673.3, 11.8, 0, 0, 0);
- CreateObject(3578, 1519.4, -1666.3, 11.8, 0, 0, 0);
- CreateObject(717, 1517.3, -1659.3, 12.7, 0, 0, 0);
- CreateObject(3578, 1519.4, -1659.3, 11.8, 0, 0, 0);
- CreateObject(717, 1515.8, -1659.3, 12.7, 0, 0, 0);
- CreateObject(717, 1514.4, -1659.3, 12.7, 0, 0, 0);
- CreateObject(3578, 1519.4, -1652.3, 11.8, 0, 0, 0);
- CreateObject(717, 1517.4, -1652.3, 12.7, 0, 0, 0);
- CreateObject(717, 1515.9, -1652.3, 12.7, 0, 0, 0);
- CreateObject(717, 1514.4, -1652.3, 12.7, 0, 0, 0);
- CreateObject(3578, 1519.4, -1645.4, 11.8, 0, 0, 0);
- CreateObject(717, 1516.2, -1645.3, 12.7, 0, 0, 0);
- CreateObject(717, 1517.5, -1645.3, 12.7, 0, 0, 0);
- CreateObject(3578, 1519.4, -1640.5, 11.8, 0, 0, 0);
- CreateObject(3578, 1519.4, -1633.1, 11.8, 0, 0, 0);
- CreateObject(3578, 1519.4, -1626.2, 11.8, 0, 0, 0);
- CreateObject(3578, 1519.4, -1619.1, 11.8, 0, 0, 0);
- CreateObject(3578, 1519.4, -1612.1, 11.8, 0, 0, 0);
- CreateObject(3578, 1519.4, -1605.1, 11.8, 0, 0, 0);
- CreateObject(984, 1518, -1714.2, 13.3, 0, 0, 0);
- CreateObject(984, 1517.9, -1701.4, 13.3, 0, 0, 0);
- CreateObject(984, 1517.9, -1688.6, 13.3, 0, 0, 0);
- CreateObject(984, 1517.9, -1675.8, 13.3, 0, 0, 0);
- CreateObject(984, 1517.9, -1670.2, 13.3, 0, 0, 0);
- CreateObject(983, 1514.7, -1663.9, 13.4, 0, 0, 270);
- CreateObject(983, 1508.3, -1663.9, 13.4, 0, 0, 270);
- CreateObject(984, 1517.9, -1636.5, 13.3, 0, 0, 0);
- CreateObject(984, 1517.8, -1623.6, 13.3, 0, 0, 0);
- CreateObject(984, 1517.7, -1610.8, 13.3, 0, 0, 0);
- CreateObject(717, 1535.7, -1714.3, 12.6, 0, 0, 0);
- CreateObject(717, 1535.7, -1709, 12.6, 0, 0, 0);
- CreateObject(717, 1535.7, -1704, 12.6, 0, 0, 0);
- CreateObject(717, 1535.7, -1699, 12.6, 0, 0, 0);
- CreateObject(717, 1535.7, -1694, 12.6, 0, 0, 0);
- CreateObject(717, 1535.7, -1689, 12.6, 0, 0, 0);
- CreateObject(717, 1535.7, -1684, 12.6, 0, 0, 0);
- CreateObject(717, 1535.6, -1662, 12.6, 0, 0, 0);
- CreateObject(717, 1535.6, -1657, 12.6, 0, 0, 0);
- CreateObject(717, 1535.6, -1652, 12.6, 0, 0, 0);
- CreateObject(717, 1535.6, -1647, 12.6, 0, 0, 0);
- CreateObject(717, 1535.6, -1642, 12.6, 0, 0, 0);
- CreateObject(717, 1535.8, -1617.5, 12.6, 0, 0, 0);
- CreateObject(717, 1535.8, -1612, 12.6, 0, 0, 0);
- CreateObject(717, 1535.8, -1607, 12.6, 0, 0, 0);
- CreateObject(717, 1535.8, -1602, 12.6, 0, 0, 0);
- /*===> PREFEITURA E DEPARTAMENTO POLICIAL <===*/
- textVelocimetro[0] = TextDrawCreate(379.000000, 378.000000, "i");
- TextDrawBackgroundColor(textVelocimetro[0], 0);
- TextDrawFont(textVelocimetro[0], 2);
- TextDrawLetterSize(textVelocimetro[0], 28.800073, 2.600000);
- TextDrawColor(textVelocimetro[0], 80);
- TextDrawSetOutline(textVelocimetro[0], 0);
- TextDrawSetProportional(textVelocimetro[0], 1);
- TextDrawSetShadow(textVelocimetro[0], 1);
- TextDrawSetSelectable(textVelocimetro[0], 0);
- textVelocimetro[1] = TextDrawCreate(379.000000, 392.000000, "i");
- TextDrawBackgroundColor(textVelocimetro[1], 0);
- TextDrawFont(textVelocimetro[1], 2);
- TextDrawLetterSize(textVelocimetro[1], 28.800073, 2.600000);
- TextDrawColor(textVelocimetro[1], 80);
- TextDrawSetOutline(textVelocimetro[1], 0);
- TextDrawSetProportional(textVelocimetro[1], 1);
- TextDrawSetShadow(textVelocimetro[1], 1);
- TextDrawSetSelectable(textVelocimetro[1], 0);
- textVelocimetro[2] = TextDrawCreate(379.000000, 406.000000, "i");
- TextDrawBackgroundColor(textVelocimetro[2], 0);
- TextDrawFont(textVelocimetro[2], 2);
- TextDrawLetterSize(textVelocimetro[2], 28.800073, 2.600000);
- TextDrawColor(textVelocimetro[2], 80);
- TextDrawSetOutline(textVelocimetro[2], 0);
- TextDrawSetProportional(textVelocimetro[2], 1);
- TextDrawSetShadow(textVelocimetro[2], 1);
- TextDrawSetSelectable(textVelocimetro[2], 0);
- textVelocimetro[3] = TextDrawCreate(379.000000, 420.000000, "i");
- TextDrawBackgroundColor(textVelocimetro[3], 0);
- TextDrawFont(textVelocimetro[3], 2);
- TextDrawLetterSize(textVelocimetro[3], 28.800073, 2.600000);
- TextDrawColor(textVelocimetro[3], 80);
- TextDrawSetOutline(textVelocimetro[3], 0);
- TextDrawSetProportional(textVelocimetro[3], 1);
- TextDrawSetShadow(textVelocimetro[3], 1);
- TextDrawSetSelectable(textVelocimetro[3], 0);
- textVelocimetro[4] = TextDrawCreate(531.000000, 387.000000, "Carro~n~~n~Velocidade~n~~n~Combustivel~n~~n~Lataria");
- TextDrawAlignment(textVelocimetro[4], 3);
- TextDrawBackgroundColor(textVelocimetro[4], 0);
- TextDrawFont(textVelocimetro[4], 2);
- TextDrawLetterSize(textVelocimetro[4], 0.210000, 0.799999);
- TextDrawColor(textVelocimetro[4], -186);
- TextDrawSetOutline(textVelocimetro[4], 0);
- TextDrawSetProportional(textVelocimetro[4], 1);
- TextDrawSetShadow(textVelocimetro[4], 1);
- TextDrawSetSelectable(textVelocimetro[4], 0);
- /* TDEditor_TD[0] = TextDrawCreate(555.651672, 3.916637, "A");
- TextDrawLetterSize(TDEditor_TD[0], 0.598652, 3.099169);
- TextDrawAlignment(TDEditor_TD[0], 1);
- TextDrawColor(TDEditor_TD[0], -16776961);
- TextDrawSetShadow(TDEditor_TD[0], 0);
- TextDrawSetOutline(TDEditor_TD[0], 0);
- TextDrawBackgroundColor(TDEditor_TD[0], 255);
- TextDrawFont(TDEditor_TD[0], 0);
- TextDrawSetProportional(TDEditor_TD[0], 1);
- TextDrawSetShadow(TDEditor_TD[0], 0);
- TDEditor_TD[1] = TextDrawCreate(572.049865, 8.000009, "labama");
- TextDrawLetterSize(TDEditor_TD[1], 0.400000, 1.600000);
- TextDrawAlignment(TDEditor_TD[1], 1);
- TextDrawColor(TDEditor_TD[1], -1);
- TextDrawSetShadow(TDEditor_TD[1], 0);
- TextDrawSetOutline(TDEditor_TD[1], 0);
- TextDrawBackgroundColor(TDEditor_TD[1], 255);
- TextDrawFont(TDEditor_TD[1], 1);
- TextDrawSetProportional(TDEditor_TD[1], 1);
- TextDrawSetShadow(TDEditor_TD[1], 0);
- TDEditor_TD[2] = TextDrawCreate(572.050415, 19.666662, "roleplay");
- TextDrawLetterSize(TDEditor_TD[2], 0.214933, 1.564999);
- TextDrawAlignment(TDEditor_TD[2], 1);
- TextDrawColor(TDEditor_TD[2], -1);
- TextDrawSetShadow(TDEditor_TD[2], 0);
- TextDrawSetOutline(TDEditor_TD[2], 0);
- TextDrawBackgroundColor(TDEditor_TD[2], 255);
- TextDrawFont(TDEditor_TD[2], 2);
- TextDrawSetProportional(TDEditor_TD[2], 1);
- TextDrawSetShadow(TDEditor_TD[2], 0); */
- /* TDEditor_TD[0] = TextDrawCreate(562.211303, 10.333308, "ALABAMA");
- TextDrawLetterSize(TDEditor_TD[0], 0.251009, 1.378334);
- TextDrawAlignment(TDEditor_TD[0], 1);
- TextDrawColor(TDEditor_TD[0], -5897985);
- TextDrawSetShadow(TDEditor_TD[0], 0);
- TextDrawSetOutline(TDEditor_TD[0], 0);
- TextDrawBackgroundColor(TDEditor_TD[0], 255);
- TextDrawFont(TDEditor_TD[0], 1);
- TextDrawSetProportional(TDEditor_TD[0], 1);
- TextDrawSetShadow(TDEditor_TD[0], 0);
- TDEditor_TD[1] = TextDrawCreate(562.210998, 20.833358, "ROLE_PLAY");
- TextDrawLetterSize(TDEditor_TD[1], 0.222898, 0.824166);
- TextDrawAlignment(TDEditor_TD[1], 1);
- TextDrawColor(TDEditor_TD[1], -111);
- TextDrawSetShadow(TDEditor_TD[1], 0);
- TextDrawSetOutline(TDEditor_TD[1], 0);
- TextDrawBackgroundColor(TDEditor_TD[1], 255);
- TextDrawFont(TDEditor_TD[1], 1);
- TextDrawSetProportional(TDEditor_TD[1], 1);
- TextDrawSetShadow(TDEditor_TD[1], 0); */
- TDEditor_TD[0] = TextDrawCreate(541.127380, 3.916668, "ALABAMA");
- TextDrawLetterSize(TDEditor_TD[0], 0.400000, 1.600000);
- TextDrawAlignment(TDEditor_TD[0], 1);
- TextDrawColor(TDEditor_TD[0], -6487809);
- TextDrawSetShadow(TDEditor_TD[0], 0);
- TextDrawSetOutline(TDEditor_TD[0], 0);
- TextDrawBackgroundColor(TDEditor_TD[0], 255);
- TextDrawFont(TDEditor_TD[0], 1);
- TextDrawSetProportional(TDEditor_TD[0], 1);
- TextDrawSetShadow(TDEditor_TD[0], 0);
- TDEditor_TD[1] = TextDrawCreate(605.783447, 6.250008, "box");
- TextDrawLetterSize(TDEditor_TD[1], 0.000000, 1.332358);
- TextDrawTextSize(TDEditor_TD[1], 619.000000, 0.000000);
- TextDrawAlignment(TDEditor_TD[1], 1);
- TextDrawColor(TDEditor_TD[1], -65281);
- TextDrawUseBox(TDEditor_TD[1], 1);
- TextDrawBoxColor(TDEditor_TD[1], -6553345);
- TextDrawSetShadow(TDEditor_TD[1], 0);
- TextDrawSetOutline(TDEditor_TD[1], 0);
- TextDrawBackgroundColor(TDEditor_TD[1], 255);
- TextDrawFont(TDEditor_TD[1], 1);
- TextDrawSetProportional(TDEditor_TD[1], 1);
- TextDrawSetShadow(TDEditor_TD[1], 0);
- TDEditor_TD[2] = TextDrawCreate(604.846496, 3.916665, "RP");
- TextDrawLetterSize(TDEditor_TD[2], 0.400000, 1.600000);
- TextDrawAlignment(TDEditor_TD[2], 1);
- TextDrawColor(TDEditor_TD[2], -1);
- TextDrawSetShadow(TDEditor_TD[2], 0);
- TextDrawSetOutline(TDEditor_TD[2], 0);
- TextDrawBackgroundColor(TDEditor_TD[2], 255);
- TextDrawFont(TDEditor_TD[2], 1);
- TextDrawSetProportional(TDEditor_TD[2], 1);
- TextDrawSetShadow(TDEditor_TD[2], 0);
- //Actor
- CreateActor(20, 1127.5110, -1414.5490, 13.5889, 180.5489);
- Create3DTextLabel("Bem vindo ao Alabama Role Play, ara!", 0xFFFF00AA, 1127.5110, -1414.5490, 13.5889, 50.0, 0, 0);
- //Veiculo
- txtveiculo1 = Create3DTextLabel("[Veiculo publico]", COLOR_LIGHTORANGE, 2794.8088, 1295.2334, 10.2656, 50.0, 0);
- txtveiculo2 = Create3DTextLabel("[Veiculo publico]", COLOR_LIGHTORANGE, 2791.4829, 1295.0797, 10.2656, 50.0, 0);
- txtveiculo3 = Create3DTextLabel("[Veiculo publico]", COLOR_LIGHTORANGE, 2788.2441, 1295.1041, 10.2659, 50.0, 0);
- txtveiculo4 = Create3DTextLabel("[Veiculo publico]", COLOR_LIGHTORANGE, 2785.0964, 1294.9896, 10.2663, 50.0, 0);
- txtveiculo5 = Create3DTextLabel("[Veiculo publico]", COLOR_LIGHTORANGE, 2781.8022, 1294.8815, 10.2661, 50.0, 0);
- txtveiculo6 = Create3DTextLabel("[Veiculo publico]", COLOR_LIGHTORANGE, 2778.7500, 1294.7993, 10.2665, 50.0, 0);
- txtveiculo7 = Create3DTextLabel("[Veiculo publico]", COLOR_LIGHTORANGE, 2775.5659, 1294.8186, 10.2667, 50.0, 0);
- taxivip1 = Create3DTextLabel("[Alabama Taxi]", COLOR_LIGHTORANGE, 0, 0, 0, 50.0, 0);
- taxivip2 = Create3DTextLabel("[Alabama Taxi]", COLOR_LIGHTORANGE, 0, 0, 0, 50.0, 0);
- taxivip3 = Create3DTextLabel("[Alabama Taxi]", COLOR_LIGHTORANGE, 0, 0, 0, 50.0, 0);
- //Bikes Spawn
- veiculo1 = AddStaticVehicle(481,362.9130,-1535.5465,32.9128,141.7329,6,6); // bike 1
- veiculo2 = AddStaticVehicle(481,367.3380,-1530.1464,32.7141,139.3316,6,6); // bike 2
- veiculo3 = AddStaticVehicle(481,371.8174,-1524.9314,32.5268,139.3303,6,6); // bike 3
- veiculo4 = AddStaticVehicle(481,377.1962,-1520.2043,32.3264,127.9304,6,6); // bike 4
- veiculo5 = AddStaticVehicle(481,383.3857,-1515.5063,32.1116,126.7084,6,6); // bike 5
- veiculo6 = AddStaticVehicle(481,389.2745,-1511.1143,31.9179,126.7013,6,6); // bike 6
- veiculo7 = AddStaticVehicle(481,394.7879,-1507.1544,31.6555,127.7597,6,6); // bike 7
- Attach3DTextLabelToVehicle(txtveiculo1, veiculo1, 0.0,0.0,0.0);
- Attach3DTextLabelToVehicle(txtveiculo2, veiculo2, 0.0,0.0,0.0);
- Attach3DTextLabelToVehicle(txtveiculo3, veiculo3, 0.0,0.0,0.0);
- Attach3DTextLabelToVehicle(txtveiculo4, veiculo4, 0.0,0.0,0.0);
- Attach3DTextLabelToVehicle(txtveiculo5, veiculo5, 0.0,0.0,0.0);
- Attach3DTextLabelToVehicle(txtveiculo6, veiculo6, 0.0,0.0,0.0);
- Attach3DTextLabelToVehicle(txtveiculo7, veiculo7, 0.0,0.0,0.0);
- Attach3DTextLabelToVehicle(taxivip1, taxi1, 0.0, 0.0, 0.0);
- Attach3DTextLabelToVehicle(taxivip2, taxi2, 0.0, 0.0, 0.0);
- Attach3DTextLabelToVehicle(taxivip3, taxi3, 0.0, 0.0, 0.0);
- SetGameModeText("Role Play");
- for(new i=1; i<MAX_VEHICLES; i++)
- {
- SetVehicleNumberPlate(i, "ALABAMA");
- }
- return 1;
- }
- public OnGameModeExit()
- {
- DOF2_Exit();
- Elevator_Destroy();
- new x=0;
- DestroyObject(gFerrisWheel);
- DestroyObject(gFerrisBase);
- x=0;
- while(x != NUM_FERRIS_CAGES) {
- DestroyObject(gFerrisCages[x]);
- x++;
- }
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- InterpolateCameraPos(playerid, 2113.331298, 1241.824584, 73.120719, 1329.608398, -1082.510742, 150.812438, 9000);
- InterpolateCameraLookAt(playerid, 2116.562988, 1244.470581, 70.372108, 1330.883300, -1078.045288, 148.959289, 9000);
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- new file[64];
- GetPlayerName(playerid,file,sizeof(file));
- format(file,sizeof(file),DOF2_File(file));
- if(DOF2_FileExists(file))
- {
- ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT,"{3ECEA7}Bem-Vindo!","{FFFFFF}Digite sua senha para logar!","Logar","Sair");
- }
- else
- {
- ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT,"{3ECEA7}Registre-se","{FFFFFF}Digite sua senha para logar.","Registrar","Sair");
- }
- if(IsPlayerNPC(playerid)) return 0;
- LoadStats(playerid);
- SetTimerEx("Upar", 30000*60, true, "i", playerid);
- RemoveBuildingForPlayer(playerid, 4024, 1479.8672, -1790.3984, 56.0234, 0.25);
- RemoveBuildingForPlayer(playerid, 4044, 1481.1875, -1785.0703, 22.3828, 0.25);
- RemoveBuildingForPlayer(playerid, 4046, 1479.5234, -1852.6406, 24.5156, 0.25);
- RemoveBuildingForPlayer(playerid, 4047, 1531.6328, -1852.6406, 24.5156, 0.25);
- RemoveBuildingForPlayer(playerid, 1527, 1448.2344, -1755.8984, 14.5234, 0.25);
- RemoveBuildingForPlayer(playerid, 4217, 1449.2500, -1852.5703, 22.3672, 0.25);
- RemoveBuildingForPlayer(playerid, 1266, 1482.0859, -1859.9688, 25.0391, 0.25);
- RemoveBuildingForPlayer(playerid, 1265, 1465.4766, -1848.2500, 12.9922, 0.25);
- RemoveBuildingForPlayer(playerid, 1372, 1466.9453, -1847.8438, 12.6641, 0.25);
- RemoveBuildingForPlayer(playerid, 1372, 1419.7344, -1846.5469, 12.6641, 0.25);
- RemoveBuildingForPlayer(playerid, 1265, 1420.4297, -1845.3438, 12.9844, 0.25);
- RemoveBuildingForPlayer(playerid, 1372, 1419.6953, -1844.2031, 12.6641, 0.25);
- RemoveBuildingForPlayer(playerid, 1220, 1420.4922, -1842.4375, 12.9297, 0.25);
- RemoveBuildingForPlayer(playerid, 1220, 1419.7266, -1842.8516, 12.9297, 0.25);
- RemoveBuildingForPlayer(playerid, 1230, 1419.6719, -1842.0313, 12.9766, 0.25);
- RemoveBuildingForPlayer(playerid, 4170, 1433.9531, -1844.4063, 21.4219, 0.25);
- RemoveBuildingForPlayer(playerid, 1260, 1482.0859, -1859.9688, 25.0391, 0.25);
- RemoveBuildingForPlayer(playerid, 4004, 1479.5234, -1852.6406, 24.5156, 0.25);
- RemoveBuildingForPlayer(playerid, 1357, 1487.6953, -1848.1094, 12.8125, 0.25);
- RemoveBuildingForPlayer(playerid, 1372, 1486.2109, -1848.1250, 12.6641, 0.25);
- RemoveBuildingForPlayer(playerid, 1372, 1468.0625, -1847.7891, 12.6641, 0.25);
- RemoveBuildingForPlayer(playerid, 1230, 1488.9219, -1848.2734, 12.9766, 0.25);
- RemoveBuildingForPlayer(playerid, 4171, 1503.3984, -1848.3359, 21.4609, 0.25);
- RemoveBuildingForPlayer(playerid, 1265, 1515.3828, -1850.0547, 12.9844, 0.25);
- RemoveBuildingForPlayer(playerid, 1265, 1514.4219, -1850.0391, 12.9922, 0.25);
- RemoveBuildingForPlayer(playerid, 1372, 1516.6875, -1850.0547, 12.6641, 0.25);
- RemoveBuildingForPlayer(playerid, 4002, 1479.8672, -1790.3984, 56.0234, 0.25);
- RemoveBuildingForPlayer(playerid, 3980, 1481.1875, -1785.0703, 22.3828, 0.25);
- RemoveBuildingForPlayer(playerid, 4003, 1481.0781, -1747.0313, 33.5234, 0.25);
- RemoveBuildingForPlayer(playerid, 4048, 1531.6328, -1852.6406, 24.5156, 0.25);
- RemoveBuildingForPlayer(playerid, 1372, 1538.9453, -1849.2734, 12.6641, 0.25);
- RemoveBuildingForPlayer(playerid, 1230, 1538.8359, -1847.6250, 13.6719, 0.25);
- RemoveBuildingForPlayer(playerid, 1220, 1538.3906, -1847.9297, 12.9297, 0.25);
- RemoveBuildingForPlayer(playerid, 1220, 1539.1016, -1847.2969, 12.9297, 0.25);
- SetPlayerMapIcon(playerid, 4, 1213.2494, -1319.8055, 13.5581, 29, 0, MAPICON_LOCAL); //Barraca do seu ze
- SetPlayerMapIcon(playerid, 5, 1172.6122, -1323.5563, 15.4031, 22, 0, MAPICON_LOCAL); //Hospital
- SetPlayerMapIcon(playerid, 6, 1127.4562, -1424.3643, 15.7969, 35, 0, MAPICON_LOCAL); //Spawn
- SetPlayerMapIcon(playerid, 7, 1286.0106, -1329.3807, 13.5514, 52, 0, MAPICON_LOCAL); //Banco
- SetPlayerMapIcon(playerid, 8, 1480.1147, -1759.8763, 13.5469, 56, 0, MAPICON_LOCAL); //Cityhall
- SetPlayerMapIcon(playerid, 9, 1362.8732, -1739.3807, 13.5469, 29, 0, MAPICON_LOCAL); //Barraca do seu ze 2
- //Entrada Banco
- CreatePickup(1274, 1, 1286.0106, -1329.3807, 13.5514, 0);
- Create3DTextLabel("[Banco]", COLOR_LIGHTORANGE, 1286.0106, -1329.3807, 13.5514, 50.0, 0, 0);
- CreatePickup(19132, 1, 1480.1147, -1759.8763, 13.5469, 0);
- Create3DTextLabel("[Hall da cidade]", COLOR_LIGHTORANGE, 1480.1147, -1759.8763, 13.5469, 50.0, 0, 0);
- CreatePickup(19132, 1, 389.9933, 173.8433, 1008.3828, 0);
- Create3DTextLabel("[Saida]", COLOR_LIGHTORANGE, 389.9933, 173.8433, 1008.3828, 50.0, 0, 0);
- PlayerVelocimetro[playerid] = false ;
- textPlayerVelocimetro[0][playerid] = CreatePlayerTextDraw(playerid,615.000000, 385.000000, "Nenhum");
- PlayerTextDrawAlignment(playerid,textPlayerVelocimetro[0][playerid], 3);
- PlayerTextDrawBackgroundColor(playerid,textPlayerVelocimetro[0][playerid], 0);
- PlayerTextDrawFont(playerid,textPlayerVelocimetro[0][playerid], 1);
- PlayerTextDrawLetterSize(playerid,textPlayerVelocimetro[0][playerid], 0.330000, 1.299999);
- PlayerTextDrawColor(playerid,textPlayerVelocimetro[0][playerid], -156);
- PlayerTextDrawSetOutline(playerid,textPlayerVelocimetro[0][playerid], 0);
- PlayerTextDrawSetProportional(playerid,textPlayerVelocimetro[0][playerid], 1);
- PlayerTextDrawSetShadow(playerid,textPlayerVelocimetro[0][playerid], 1);
- PlayerTextDrawSetSelectable(playerid,textPlayerVelocimetro[0][playerid], 0);
- textPlayerVelocimetro[1][playerid] = CreatePlayerTextDraw(playerid,615.000000, 399.000000, "000 km/h");
- PlayerTextDrawAlignment(playerid,textPlayerVelocimetro[1][playerid], 3);
- PlayerTextDrawBackgroundColor(playerid,textPlayerVelocimetro[1][playerid], 0);
- PlayerTextDrawFont(playerid,textPlayerVelocimetro[1][playerid], 2);
- PlayerTextDrawLetterSize(playerid,textPlayerVelocimetro[1][playerid], 0.250000, 1.299999);
- PlayerTextDrawColor(playerid,textPlayerVelocimetro[1][playerid], -156);
- PlayerTextDrawSetOutline(playerid,textPlayerVelocimetro[1][playerid], 0);
- PlayerTextDrawSetProportional(playerid,textPlayerVelocimetro[1][playerid], 1);
- PlayerTextDrawSetShadow(playerid,textPlayerVelocimetro[1][playerid], 1);
- PlayerTextDrawSetSelectable(playerid,textPlayerVelocimetro[1][playerid], 0);
- textPlayerVelocimetro[2][playerid] = CreatePlayerTextDraw(playerid,615.000000, 413.000000, "0 litros");
- PlayerTextDrawAlignment(playerid,textPlayerVelocimetro[2][playerid], 3);
- PlayerTextDrawBackgroundColor(playerid,textPlayerVelocimetro[2][playerid], 0);
- PlayerTextDrawFont(playerid,textPlayerVelocimetro[2][playerid], 2);
- PlayerTextDrawLetterSize(playerid,textPlayerVelocimetro[2][playerid], 0.250000, 1.299999);
- PlayerTextDrawColor(playerid,textPlayerVelocimetro[2][playerid], -156);
- PlayerTextDrawSetOutline(playerid,textPlayerVelocimetro[2][playerid], 0);
- PlayerTextDrawSetProportional(playerid,textPlayerVelocimetro[2][playerid], 1);
- PlayerTextDrawSetShadow(playerid,textPlayerVelocimetro[2][playerid], 1);
- PlayerTextDrawSetSelectable(playerid,textPlayerVelocimetro[2][playerid], 0);
- textPlayerVelocimetro[3][playerid] = CreatePlayerTextDraw(playerid,615.000000, 427.000000, "0%");
- PlayerTextDrawAlignment(playerid,textPlayerVelocimetro[3][playerid], 3);
- PlayerTextDrawBackgroundColor(playerid,textPlayerVelocimetro[3][playerid], 0);
- PlayerTextDrawFont(playerid,textPlayerVelocimetro[3][playerid], 2);
- PlayerTextDrawLetterSize(playerid,textPlayerVelocimetro[3][playerid], 0.250000, 1.299999);
- PlayerTextDrawColor(playerid,textPlayerVelocimetro[3][playerid], -156);
- PlayerTextDrawSetOutline(playerid,textPlayerVelocimetro[3][playerid], 0);
- PlayerTextDrawSetProportional(playerid,textPlayerVelocimetro[3][playerid], 1);
- PlayerTextDrawSetShadow(playerid,textPlayerVelocimetro[3][playerid], 1);
- PlayerTextDrawSetSelectable(playerid,textPlayerVelocimetro[3][playerid], 0);
- SendClientMessage(playerid, COLOR_LIGHTORANGE, "Conectado...");
- SendClientMessage(playerid, COLOR_LIGHTORANGE, "Aguarde...");
- return 1;
- }
- CMD:aduty(playerid, params[])
- {
- if(IsPlayerAdmin(playerid))
- {
- SendClientMessage(playerid, COLOR_AQUA, "Voce esta trabalhando");
- SetPlayerSkin(playerid, 217);
- SendClientMessageToAll(COLOR_AQUA, "[Administracao] Fundador: {FFFFFF}Cougar esta em modo trabalho!");
- }
- return 1;
- }
- CMD:offduty(playerid, params[])
- {
- if(IsPlayerAdmin(playerid))
- {
- SendClientMessage(playerid, COLOR_AQUA, "Voce saiu do modo trabalho!");
- SetPlayerSkin(playerid, skin);
- SendClientMessageToAll(COLOR_AQUA, "[Administracao] Fundador: {FFFFFF}Cougar saiu do modo trabalho!");
- }
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- new file[64];
- GetPlayerName(playerid,file,sizeof(file));
- format(file,sizeof(file),DOF2_File(file));
- DOF2_SetInt(file, "Kills",PlayerInfo[playerid][pKills]);
- DOF2_SetInt(file, "Deaths",PlayerInfo[playerid][pDeaths]);
- DOF2_SetInt(file, "Money",PlayerInfo[playerid][pMoney]);
- DOF2_SetInt(file, "AdminLevel",PlayerInfo[playerid][pAdmin]);
- skin = GetPlayerSkin(playerid);
- if (PlayerVelocimetro[playerid]) {
- KillTimer(PlayerVelocimetroTimer[playerid]);
- }
- if (!dini_Exists(Skin(playerid)))
- {
- dini_Create(Skin(playerid));
- }
- SaveStats(playerid);
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- if (dini_Exists(Skin(playerid))) {
- SetPlayerSkin(playerid, skin);
- }
- TextDrawShowForPlayer(playerid, TDEditor_TD[0]);
- TextDrawShowForPlayer(playerid, TDEditor_TD[1]);
- TextDrawShowForPlayer(playerid, TDEditor_TD[2]);
- return 1;
- }
- SaveStats(playerid)
- {
- dini_IntSet(Skin(playerid), "skin", (skin));
- }
- LoadStats(playerid)
- {
- skin = dini_Int(Skin(playerid), "skin");
- }
- PlayerSkin(playerid)
- {
- new player[MAX_PLAYER_NAME];
- GetPlayerName(playerid, player, sizeof(player));
- return player;
- }
- Skin(playerid)
- {
- new a[256]; format(a, sizeof(a), "%s.ini",udb_encode(PlayerSkin(playerid)));
- return a;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- PlayerInfo[killerid][pKills]++;
- PlayerInfo[playerid][pDeaths]++;
- if(killerid != INVALID_PLAYER_ID)
- {
- if(GetPlayerWeapon(killerid) == 38) Ban(killerid);
- SendClientMessageToAll(COLOR_RED, "[Aviso] Um jogador foi banido automaticamente | Motivo: Weapon Hack");
- }
- SetPlayerHealth(playerid, 15);
- SendClientMessage(playerid, COLOR_RED, "[Hospital] Voce foi nocauteado e por isso foi levado ao hospital as pressas! Voce sobreviveu!");
- SetPlayerInterior(playerid, 6);
- SetPlayerPos(playerid, 1668.7855, -1705.6234, 16.4379);
- TogglePlayerControllable(playerid, 0);
- SetTimerEx("Hospitalizado", 5000, false, "i", playerid);
- return 1;
- }
- public OnVehicleSpawn(vehicleid)
- {
- return 1;
- }
- public OnVehicleDeath(vehicleid, killerid)
- {
- return 1;
- }
- public OnPlayerText(playerid, text[])
- {
- ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,0,1,0,1,0);
- return 1;
- }
- CMD:ban(playerid, params[])
- {
- new id, reason[50], string[128], banned[MAX_PLAYER_NAME];
- if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,COLOR_RED,"[Aviso] Voce nao tem permissao para isso!");
- if(sscanf(params, "uz", id, reason)) return SendClientMessage(playerid, -1, "USO: /ban [playerid] [motivo]");
- GetPlayerName(id, banned, sizeof(banned));
- format(string, sizeof(string), "[Administrador] %s foi banido permanentemente por %s. motivo: %s", banned, GetName(playerid), reason);
- SendClientMessageToAll(COLOR_RED, string);
- SetTimerEx("Banir", 500, false, "d", id);
- return 1;
- }
- CMD:ahelp(playerid, params[])
- {
- if(IsPlayerAdmin(playerid))
- ShowPlayerDialog(playerid, 9002, DIALOG_STYLE_MSGBOX, "{EF9B12}«Admin CMDS»", "/ban\n/kick\n/clearchat\n/kick", "Okay", "");
- return 1;
- }
- CMD:kick(playerid, params[])
- {
- new id, reason[50], string[128], banned[MAX_PLAYER_NAME];
- if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,COLOR_RED,"[Aviso] Voce nao tem permissao para isso!");
- if(sscanf(params, "uz", id, reason)) return SendClientMessage(playerid, -1, "USO: /kick [playerid] [motivo]");
- GetPlayerName(id, banned, sizeof(banned));
- format(string, sizeof(string), "[Administrador] %s foi kickado por %s. motivo: %s", banned, GetName(playerid), reason);
- SendClientMessageToAll(COLOR_RED, string);
- SetTimerEx("Kickar", 500, false, "d", id);
- return 1;
- }
- CMD:afk(playerid, params[])
- {
- TogglePlayerControllable(playerid,0);
- GameTextForPlayer(playerid, "~r~Voce esta ~b~ afk !", 5000, 5);
- SetPlayerHealth(playerid, 1000000);
- SendClientMessage(playerid, -1, "{FF0000}[ --> AFK <-- ] : Digite /back quando voltar!");
- return 1;
- }
- CMD:handsup(playerid,params[])
- {
- SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Para parar uma anim aperte Y");
- return 1;
- }
- CMD:clearchat(playerid, params[])
- {
- if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, COLOR_RED, "[Aviso] Voce nao tem permissao para isso!");
- SendClientMessageToAll(-1, "");
- SendClientMessageToAll(-1, "");
- SendClientMessageToAll(-1, "");
- SendClientMessageToAll(-1, "");
- SendClientMessageToAll(-1, "");
- SendClientMessageToAll(-1, "");
- SendClientMessageToAll(-1, "");
- SendClientMessageToAll(-1, "");
- SendClientMessageToAll(-1, "");
- SendClientMessageToAll(-1, "");
- SendClientMessageToAll(-1, "");
- SendClientMessageToAll(-1, "");
- SendClientMessageToAll(-1, "");
- SendClientMessageToAll(-1, "");
- SendClientMessageToAll(-1, "");
- SendClientMessageToAll(-1, "");
- SendClientMessageToAll(-1, "");
- SendClientMessageToAll(-1, "");
- SendClientMessageToAll(COLOR_GREEN, "Um administrador limpou o chat!");
- return 1;
- }
- CMD:back(playerid, params [])
- {
- TogglePlayerControllable(playerid,1);
- GameTextForPlayer(playerid, "~r~Voce ~w~ voltou !", 5000, 5);
- SetPlayerHealth(playerid, 100);
- SendClientMessage(playerid, -1, "{FF0000}[ --> AFK <-- ] : Voce voltou ao PC!");
- return 1;
- }
- CMD:admins(playerid, params[])
- {
- new name[MAX_PLAYER_NAME], string[128];
- for(new i=0; i<MAX_PLAYERS; i++)
- {
- if(IsPlayerAdmin(i))
- {
- GetPlayerName(i, name, sizeof(name));
- format(string, sizeof(string), "%s", name);
- ShowPlayerDialog(playerid, 9000, DIALOG_STYLE_MSGBOX, "(« Admins online »)", string, "OK","");
- }
- }
- return 1;
- }
- CMD:asay(playerid,params[])
- {
- new asaytxt[60], asayftxt[128];
- if(IsPlayerAdmin(playerid))
- {
- if(sscanf(params, "s[60]", asaytxt)) return
- SendClientMessage(playerid, COLOR_LIGHTORANGE, "Uso: /asay [Text] ") &&
- SendClientMessage(playerid, COLOR_LIGHTORANGE, "Funcao: Anunciamento como Admin!");
- else
- {
- format(asayftxt, 128, "{F2F608}[Administrador] | {FFFFFF}%s ", asaytxt, playerid);
- return SendClientMessageToAll(-1, asayftxt);
- }
- }
- else return SendClientMessage(playerid, COLOR_RED, "ERRO: Voce nao tem permissao!");
- }
- CMD:beer(playerid, params[])
- {
- SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER );
- SetPlayerDrunkLevel(playerid, 2);
- return 1;
- }
- CMD:report(playerid, params[])
- {
- new string[128];
- if(!isnull(params))
- {
- SendClientMessage(playerid, COLOR_YELLOW, "Seu relatorio foi enviado a administracao:");
- format(string, sizeof(string), "%s", params);
- SendClientMessage(playerid, COLOR_YELLOW, string);
- for(new i=0; i<MAX_PLAYERS; i++)
- {
- if(IsPlayerAdmin(playerid))
- {
- format(string, sizeof(string), "Relatorio de %s[%d]: %s", GetName(playerid), playerid, params);
- SendClientMessage(i, COLOR_AQUA, string);
- }
- }
- }
- else
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "USO: /report [Texto]");
- }
- return 1;
- }
- stock GetName(playerid)
- {
- new
- pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
- return pName;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/stats", cmdtext, true, 10) == 0)
- {
- if(IsPlayerConnected(playerid))
- {
- new statstring[128];
- SendClientMessage(playerid, COLOR_GREEN, "*** Seu status ***");
- format(statstring, sizeof(statstring), "Kills: %d",PlayerInfo[playerid][pKills]);
- SendClientMessage(playerid, COLOR_WHITE, statstring);
- format(statstring, sizeof(statstring), "Mortes: %d",PlayerInfo[playerid][pDeaths]);
- SendClientMessage(playerid, COLOR_WHITE, statstring);
- format(statstring, sizeof(statstring), "Dinheiro: $%d",GetPlayerMoney(playerid));
- SendClientMessage(playerid, COLOR_WHITE, statstring);
- }
- return 1;
- }
- return SendClientMessage(playerid, COLOR_RED, "Comando Invalido! - Use /report para falar com um admin!");
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- return 1;
- }
- public OnPlayerExitVehicle(playerid, vehicleid)
- {
- return 1;
- }
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- if ( newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER) {
- ShowPlayerVelocimetro(playerid) ;
- } else {
- HidePlayerVelocimetro(playerid) ;
- }
- return 1;
- }
- public OnPlayerEnterCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerEnterRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnRconCommand(cmd[])
- {
- return 1;
- }
- public OnPlayerRequestSpawn(playerid)
- {
- return 1;
- }
- public OnObjectMoved(objectid)
- {
- new Float:x, Float:y, Float:z;
- for(new i; i < sizeof(Obj_FloorDoors); i ++)
- {
- if(objectid == Obj_FloorDoors[i][0])
- {
- GetObjectPos(Obj_FloorDoors[i][0], x, y, z);
- if(x < X_DOOR_L_OPENED - 0.5)
- {
- Elevator_MoveToFloor(ElevatorQueue[0]);
- RemoveFirstQueueFloor();
- }
- }
- }
- if(objectid == Obj_Elevator)
- {
- KillTimer(ElevatorBoostTimer);
- FloorRequestedBy[ElevatorFloor] = INVALID_PLAYER_ID;
- Elevator_OpenDoors();
- Floor_OpenDoors(ElevatorFloor);
- GetObjectPos(Obj_Elevator, x, y, z);
- Label_Elevator = Create3DTextLabel("{CCCCCC}Aperte '{FFFFFF}~k~~CONVERSATION_NO~{CCCCCC}' para usar o elevador", 0xCCCCCCAA, 1784.9822, -1302.0426, z - 0.9, 4.0, 0, 1);
- ElevatorState = ELEVATOR_STATE_WAITING;
- SetTimer("Elevator_TurnToIdle", ELEVATOR_WAIT_TIME, 0);
- }
- if(objectid != gFerrisWheel) return 0;
- SetTimer("RotateWheel",3*1000,0);
- return 1;
- }
- public OnPlayerObjectMoved(playerid, objectid)
- {
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- if(pickupid == pickupvida)
- {
- SetPlayerHealth(playerid, 100.0);
- GameTextForPlayer(playerid, "+HP!", 3000, 3);
- }
- return 1;
- }
- public OnVehicleMod(playerid, vehicleid, componentid)
- {
- return 1;
- }
- public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
- {
- return 1;
- }
- public OnVehicleRespray(playerid, vehicleid, color1, color2)
- {
- return 1;
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- return 1;
- }
- public OnPlayerExitedMenu(playerid)
- {
- return 1;
- }
- public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
- {
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- if(!IsPlayerInAnyVehicle(playerid) && (newkeys & KEY_NO))
- {
- new Float:pos[3];
- GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
- if(pos[1] < -1301.4 && pos[1] > -1303.2417 && pos[0] < 1786.2131 && pos[0] > 1784.1555) // He is using the elevator button
- ShowElevatorDialog(playerid);
- else // Is he in a floor button?
- {
- if(pos[1] > -1301.4 && pos[1] < -1299.1447 && pos[0] < 1785.6147 && pos[0] > 1781.9902)
- {
- // He is most likely using it, check floor:
- new i=20;
- while(pos[2] < GetDoorsZCoordForFloor(i) + 3.5 && i > 0)
- i --;
- if(i == 0 && pos[2] < GetDoorsZCoordForFloor(0) + 2.0)
- i = -1;
- if(i <= 19)
- {
- CallElevator(playerid, i + 1);
- GameTextForPlayer(playerid, "~r~Elevador chamado", 3500, 4);
- }
- }
- }
- }
- if(newkeys & KEY_YES)
- {
- ClearAnimations(playerid);
- }
- if(newkeys & KEY_WALK)
- {
- if(IsPlayerInRangeOfPoint(playerid, 2.0, 1172.6122,-1323.5563,15.4031)) //Hospital
- {
- SetPlayerInterior(playerid, 18);
- SetPlayerPos(playerid, 1667.9747, -1715.1517, 15.6094);
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0, 1668.3256,-1719.4587,15.6094)) //Saida hosp
- {
- SetPlayerInterior(playerid, 0);
- SetPlayerPos(playerid, 1182.4596,-1324.1005,13.5794);
- GameTextForPlayer(playerid, "Los Santos", 2000, 3);
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0, 1286.0106, -1329.3807, 13.5514)) //Entrada banco
- {
- SetPlayerPos(playerid, 2552.5757, 1961.3040, -5.4011);
- }
- if(IsPlayerInRangeOfPoint(playerid, 1.0, 2552.2229, 1955.4025, -5.4011)) //Saida banco
- {
- SetPlayerPos(playerid, 1279.7527, -1329.7865, 13.3692);
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0, 1480.1147, -1759.8763, 13.5469)) //Entrada Hall
- {
- SetPlayerInterior(playerid, 3);
- SetPlayerPos(playerid, 384.808624, 173.804992, 1008.382812);
- }
- if(IsPlayerInRangeOfPoint(playerid, 3.0, 389.9933, 173.8433, 1008.3828)) //Saida Hall
- {
- SetPlayerInterior(playerid, 0);
- SetPlayerPos(playerid, 1480.1147, -1759.8763, 13.5469);
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0, 1362.8732, -1739.3807, 13.5469)) //Barraquinha 2
- {
- GivePlayerHealth(playerid, 15.0);
- GivePlayerMoney(playerid, -5);
- SendClientMessage(playerid, COLOR_LIGHTORANGE, "[Aviso] Voce comeu um lanche e aumentou sua vida!");
- SendClientMessage(playerid, COLOR_LIGHTORANGE, "[Custo] O lanche custou R$5!");
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0, 1213.2494, -1319.8055, 13.5581)) //Barraquinha 1
- {
- GivePlayerHealth(playerid, 15.0);
- GivePlayerMoney(playerid, -5);
- SendClientMessage(playerid, COLOR_LIGHTORANGE, "[Aviso] Voce comeu um lanche e aumentou sua vida!");
- SendClientMessage(playerid, COLOR_LIGHTORANGE, "[Custo] O lanche custou R$5!");
- }
- }
- return 1;
- }
- public OnRconLoginAttempt(ip[], password[], success)
- {
- return 1;
- }
- public OnPlayerUpdate(playerid)
- {
- if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK)
- {
- SendClientMessageToAll(COLOR_RED,"[Aviso] Um jogador foi banido automaticamente || Motivo: Jetpack Hack");
- Ban(playerid);
- }
- return 1;
- }
- public OnPlayerStreamIn(playerid, forplayerid)
- {
- return 1;
- }
- public OnPlayerStreamOut(playerid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamIn(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamOut(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- switch(dialogid)
- {
- case DIALOG_REGISTER:
- {
- if(!response) Kick(playerid);
- if(!strlen(inputtext)) return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT,"{3ECEA7}Registre-se!","{FFFFFF}Digite sua senha para registrar-se.","Registrar","Sair");
- if(response)
- {
- new file[64];
- GetPlayerName(playerid,file,sizeof(file));
- format(file,sizeof(file),DOF2_File(file));
- DOF2_CreateFile(file, inputtext);
- DOF2_SetInt(file, "Kills", 0);
- DOF2_SetInt(file, "Deaths", 0);
- DOF2_SetInt(file, "Money", 1000);
- DOF2_SetInt(file, "AdminLevel", 0);
- DOF2_SaveFile();
- SetSpawnInfo(playerid, 0, 78, 398.5277, -1530.0431, 32.2734, 41.6983, 0, 0, 0, 0, 0, 0);
- SpawnPlayer(playerid);
- }
- }
- case DIALOG_LOGIN:
- {
- if(!response) Kick(playerid);
- if(response)
- {
- new file[64];
- GetPlayerName(playerid,file,sizeof(file));
- format(file,sizeof(file),DOF2_File(file));
- if(DOF2_FileExists(file))
- {
- if(DOF2_CheckLogin(file,inputtext))
- {
- PlayerInfo[playerid][pKills] = DOF2_GetInt(file,"Kills");
- PlayerInfo[playerid][pDeaths] = DOF2_GetInt(file,"Deaths");
- PlayerInfo[playerid][pMoney] = DOF2_GetInt(file,"Money");
- PlayerInfo[playerid][pAdmin] = DOF2_GetInt(file,"AdminLevel");
- SetSpawnInfo(playerid, 0, 78, 398.5277, -1530.0431, 32.2734, 41.6983, 0, 0, 0, 0, 0, 0);
- SpawnPlayer(playerid);
- GivePlayerMoney(playerid, PlayerInfo[playerid][pMoney]);
- return 1;
- }
- else
- {
- ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT,"{FF0000}Senha incorreta!","{FFFFFF}Senha incorreta, digite-a corretamente","Logar","Sair");
- return 1;
- }
- }
- }
- }
- }
- if(dialogid == DIALOG_ID)
- {
- if(!response)
- return 0;
- if(FloorRequestedBy[listitem] != INVALID_PLAYER_ID || IsFloorInQueue(listitem))
- GameTextForPlayer(playerid, "~r~O Andar ja esta na fila", 3500, 4);
- else if(DidPlayerRequestElevator(playerid))
- GameTextForPlayer(playerid, "~r~Elevador ja foi chamado", 3500, 4);
- else
- CallElevator(playerid, listitem);
- }
- return 1;
- }
- public OnPlayerClickPlayer(playerid, clickedplayerid, source)
- {
- return 1;
- }
- public UpdatePlayerVelocimetro(playerid) {
- new playervehicle;
- if ( (playervehicle = GetPlayerVehicleID(playerid)) != INVALID_VEHICLE_ID) {
- new string_velo[15];
- format(string_velo, sizeof (string_velo), "%02d km/h", GetVehicleSpeed(playervehicle));
- PlayerTextDrawSetString(playerid, textPlayerVelocimetro[1][playerid], string_velo);
- format(string_velo, sizeof (string_velo), "%.0f%", GetVehicleHealthEx(playervehicle));
- PlayerTextDrawSetString(playerid, textPlayerVelocimetro[3][playerid], string_velo);
- /* Desativado:
- format(string_velo, sizeof (string_velo), "%02d Litros", Combustivel[playervehicle]);
- PlayerTextDrawSetString(playerid, textPlayerVelocimetro[2][playerid], string_velo);
- */
- }
- return 1;
- }
- stock ShowPlayerVelocimetro(playerid) {
- if ( PlayerVelocimetro[playerid] ) {
- return 0;
- }
- PlayerTextDrawSetString(playerid, textPlayerVelocimetro[0][playerid], getVehicleName(GetPlayerVehicleID(playerid)));
- for( new text; text != 5; text++) TextDrawShowForPlayer(playerid, textVelocimetro[text]);
- for( new text; text != 4; text++) PlayerTextDrawShow(playerid, textPlayerVelocimetro[text][playerid]);
- PlayerVelocimetro[playerid] = true ;
- PlayerVelocimetroTimer[playerid] = SetTimerEx("UpdatePlayerVelocimetro", 100, true, "i", playerid);
- return 1;
- }
- stock HidePlayerVelocimetro(playerid) {
- if ( !PlayerVelocimetro[playerid] ) {
- return 0;
- }
- for( new text; text != 5; text++) TextDrawHideForPlayer(playerid, textVelocimetro[text]);
- for( new text; text != 4; text++) PlayerTextDrawHide(playerid, textPlayerVelocimetro[text][playerid]);
- PlayerVelocimetro[playerid] = false ;
- KillTimer(PlayerVelocimetroTimer[playerid]);
- return 1;
- }
- stock getVehicleName(vehicleid){
- new vehmodel = GetVehicleModel(vehicleid);
- new nameVeh[75];
- if (vehmodel < 400 || vehmodel > 611) {
- strcat(nameVeh, "Nenhum");
- return nameVeh;
- }
- strcat(nameVeh, VehicleNames[vehmodel - 400]);
- return nameVeh;
- }
- stock GetVehicleSpeed(vehicleid)
- {
- new Float:xPos[3];
- GetVehicleVelocity(vehicleid, xPos[0], xPos[1], xPos[2]);
- return floatround(floatsqroot(xPos[0] * xPos[0] + xPos[1] * xPos[1] + xPos[2] * xPos[2]) * 170.00);
- }
- forward UpdatePlayerVelocimetro(playerid);
- forward payday();
- public payday()
- {
- for(new i = 0; i < MAX_PLAYERS; i++) if(IsPlayerConnected(i))
- {
- GameTextForPlayer(i, "PAYDAY", 1000, 1);
- GivePlayerMoney(i, 1000);
- SetPlayerScore(i ,GetPlayerScore(i)+1);
- SendClientMessageToAll(-1, " ");
- SendClientMessageToAll(-1, " ");
- SendClientMessageToAll(-1, " ");
- SendClientMessageToAll(-1, " ");
- SendClientMessageToAll(-1, " ");
- SendClientMessageToAll(-1, " ");
- SendClientMessageToAll(-1, " ");
- SendClientMessageToAll(-1, " ");
- SendClientMessageToAll(-1, " ");
- SendClientMessageToAll(-1, " ");
- SendClientMessageToAll(-1, " ");
- SendClientMessageToAll(COLOR_YELLOW, "=========================");
- SendClientMessageToAll(COLOR_YELLOW, "=========================");
- SendClientMessageToAll(COLOR_YELLOW, "====== Payday =======");
- SendClientMessageToAll(COLOR_YELLOW, "=========================");
- SendClientMessageToAll(COLOR_YELLOW, "=========================");
- SendClientMessageToAll(-1, " ");
- SendClientMessageToAll(COLOR_YELLOW, "Todos ganharam +1 Score e 1k de money!");
- }
- return 1;
- }
- forward Banir(playerid);
- public Banir(playerid)
- {
- Ban(playerid);
- return 1;
- }
- forward Kickar(playerid);
- public Kickar(playerid)
- {
- Kick(playerid);
- return 1;
- }
- forward SendMSG();
- public SendMSG()
- {
- new randMSG = random(sizeof(RandomMSG));
- SendClientMessageToAll(-1, RandomMSG[randMSG]);
- }
- forward Upar(playerid);
- public Upar(playerid)
- {
- new str[256];
- XP[playerid] ++;
- if(XP[playerid] == 4) // Checa se o jogador tem 4 pontos de XP
- {
- new Nivel = GetPlayerScore(playerid);
- SetPlayerScore(playerid,Nivel+1); // Seta o Nivel do Jogador
- XP[playerid] = 0; // Reseta os XP após upar
- PlayerPlaySound(playerid,1149,0.0,0.0,0.0), GameTextForPlayer(playerid,"UP!",5000,6);
- return false;
- }
- PlayerPlaySound(playerid,1139,0.0,0.0,0.0), GameTextForPlayer(playerid,"+XP",5000,6);
- return true;
- }
- stock GivePlayerHealth(playerid,Float:quantiahealth)
- {
- new Float:health;
- GetPlayerHealth(playerid,health);
- SetPlayerHealth(playerid,health+quantiahealth);
- }
- forward RotateWheel();
- UpdateWheelTarget()
- {
- gCurrentTargetYAngle += 36.0;
- if(gCurrentTargetYAngle >= 360.0) {
- gCurrentTargetYAngle = 0.0;
- }
- if(gWheelTransAlternate) gWheelTransAlternate = 0;
- else gWheelTransAlternate = 1;
- }
- public RotateWheel()
- {
- UpdateWheelTarget();
- new Float:fModifyWheelZPos = 0.0;
- if(gWheelTransAlternate) fModifyWheelZPos = 0.05;
- MoveObject( gFerrisWheel, gFerrisOrigin[0], gFerrisOrigin[1], gFerrisOrigin[2]+fModifyWheelZPos,
- FERRIS_WHEEL_SPEED, 0.0, gCurrentTargetYAngle, FERRIS_WHEEL_Z_ANGLE );
- }
- forward CallElevator(playerid, floorid);
- forward ShowElevatorDialog(playerid);
- forward Elevator_Initialize();
- forward Elevator_Destroy();
- forward Elevator_OpenDoors();
- forward Elevator_CloseDoors();
- forward Floor_OpenDoors(floorid);
- forward Floor_CloseDoors(floorid);
- forward Elevator_MoveToFloor(floorid);
- forward Elevator_Boost(floorid);
- forward Elevator_TurnToIdle();
- forward ReadNextFloorInQueue();
- forward RemoveFirstQueueFloor();
- forward AddFloorToQueue(floorid);
- forward IsFloorInQueue(floorid);
- forward ResetElevatorQueue();
- forward DidPlayerRequestElevator(playerid);
- forward Float:GetElevatorZCoordForFloor(floorid);
- forward Float:GetDoorsZCoordForFloor(floorid);
- stock Elevator_Initialize()
- {
- // Initializes the elevator.
- Obj_Elevator = CreateObject(18755, 1786.678100, -1303.459472, GROUND_Z_COORD + ELEVATOR_OFFSET, 0.000000, 0.000000, 270.000000);
- Obj_ElevatorDoors[0] = CreateObject(18757, X_DOOR_CLOSED, -1303.459472, GROUND_Z_COORD, 0.000000, 0.000000, 270.000000);
- Obj_ElevatorDoors[1] = CreateObject(18756, X_DOOR_CLOSED, -1303.459472, GROUND_Z_COORD, 0.000000, 0.000000, 270.000000);
- Label_Elevator = Create3DTextLabel("{CCCCCC}Aperte '{FFFFFF}~k~~CONVERSATION_NO~{CCCCCC}' para usar o elevador", 0xCCCCCCAA, 1784.9822, -1302.0426, 13.6491, 4.0, 0, 1);
- new string[128],
- Float:z;
- for(new i; i < sizeof(Obj_FloorDoors); i ++)
- {
- Obj_FloorDoors[i][0] = CreateObject(18757, X_DOOR_CLOSED, -1303.171142, GetDoorsZCoordForFloor(i), 0.000000, 0.000000, 270.000000);
- Obj_FloorDoors[i][1] = CreateObject(18756, X_DOOR_CLOSED, -1303.171142, GetDoorsZCoordForFloor(i), 0.000000, 0.000000, 270.000000);
- format(string, sizeof(string), "{CCCCCC}[%s]\n{CCCCCC}Aperte '{FFFFFF}~k~~CONVERSATION_NO~{CCCCCC}' para chamar", FloorNames[i]);
- if(i == 0)
- z = 13.4713;
- else
- z = 13.4713 + 8.7396 + ((i-1) * 5.45155);
- Label_Floors[i] = Create3DTextLabel(string, 0xCCCCCCAA, 1783.9799, -1300.7660, z, 10.5, 0, 1);
- // Label_Elevator, Text3D:Label_Floors[21];
- }
- // Open ground floor doors:
- Floor_OpenDoors(0);
- Elevator_OpenDoors();
- return 1;
- }
- stock Elevator_Destroy()
- {
- // Destroys the elevator.
- DestroyObject(Obj_Elevator);
- DestroyObject(Obj_ElevatorDoors[0]);
- DestroyObject(Obj_ElevatorDoors[1]);
- Delete3DTextLabel(Label_Elevator);
- for(new i; i < sizeof(Obj_FloorDoors); i ++)
- {
- DestroyObject(Obj_FloorDoors[i][0]);
- DestroyObject(Obj_FloorDoors[i][1]);
- Delete3DTextLabel(Label_Floors[i]);
- }
- return 1;
- }
- stock Elevator_OpenDoors()
- {
- // Opens the elevator's doors.
- new Float:x, Float:y, Float:z;
- GetObjectPos(Obj_ElevatorDoors[0], x, y, z);
- MoveObject(Obj_ElevatorDoors[0], X_DOOR_L_OPENED, y, z, DOORS_SPEED);
- MoveObject(Obj_ElevatorDoors[1], X_DOOR_R_OPENED, y, z, DOORS_SPEED);
- return 1;
- }
- stock Elevator_CloseDoors()
- {
- // Closes the elevator's doors.
- if(ElevatorState == ELEVATOR_STATE_MOVING)
- return 0;
- new Float:x, Float:y, Float:z;
- GetObjectPos(Obj_ElevatorDoors[0], x, y, z);
- MoveObject(Obj_ElevatorDoors[0], X_DOOR_CLOSED, y, z, DOORS_SPEED);
- MoveObject(Obj_ElevatorDoors[1], X_DOOR_CLOSED, y, z, DOORS_SPEED);
- return 1;
- }
- stock Floor_OpenDoors(floorid)
- {
- // Opens the doors at the specified floor.
- MoveObject(Obj_FloorDoors[floorid][0], X_DOOR_L_OPENED, -1303.171142, GetDoorsZCoordForFloor(floorid), DOORS_SPEED);
- MoveObject(Obj_FloorDoors[floorid][1], X_DOOR_R_OPENED, -1303.171142, GetDoorsZCoordForFloor(floorid), DOORS_SPEED);
- PlaySoundForPlayersInRange(6401, 50.0, X_DOOR_CLOSED, -1303.171142, GetDoorsZCoordForFloor(floorid) + 5.0);
- return 1;
- }
- stock Floor_CloseDoors(floorid)
- {
- MoveObject(Obj_FloorDoors[floorid][0], X_DOOR_CLOSED, -1303.171142, GetDoorsZCoordForFloor(floorid), DOORS_SPEED);
- MoveObject(Obj_FloorDoors[floorid][1], X_DOOR_CLOSED, -1303.171142, GetDoorsZCoordForFloor(floorid), DOORS_SPEED);
- PlaySoundForPlayersInRange(6401, 50.0, X_DOOR_CLOSED, -1303.171142, GetDoorsZCoordForFloor(floorid) + 5.0);
- return 1;
- }
- stock Elevator_MoveToFloor(floorid)
- {
- ElevatorState = ELEVATOR_STATE_MOVING;
- ElevatorFloor = floorid;
- MoveObject(Obj_Elevator, 1786.678100, -1303.459472, GetElevatorZCoordForFloor(floorid), 0.25);
- MoveObject(Obj_ElevatorDoors[0], X_DOOR_CLOSED, -1303.459472, GetDoorsZCoordForFloor(floorid), 0.25);
- MoveObject(Obj_ElevatorDoors[1], X_DOOR_CLOSED, -1303.459472, GetDoorsZCoordForFloor(floorid), 0.25);
- Delete3DTextLabel(Label_Elevator);
- ElevatorBoostTimer = SetTimerEx("Elevator_Boost", 2000, 0, "i", floorid);
- return 1;
- }
- public Elevator_Boost(floorid)
- {
- StopObject(Obj_Elevator);
- StopObject(Obj_ElevatorDoors[0]);
- StopObject(Obj_ElevatorDoors[1]);
- MoveObject(Obj_Elevator, 1786.678100, -1303.459472, GetElevatorZCoordForFloor(floorid), ELEVATOR_SPEED);
- MoveObject(Obj_ElevatorDoors[0], X_DOOR_CLOSED, -1303.459472, GetDoorsZCoordForFloor(floorid), ELEVATOR_SPEED);
- MoveObject(Obj_ElevatorDoors[1], X_DOOR_CLOSED, -1303.459472, GetDoorsZCoordForFloor(floorid), ELEVATOR_SPEED);
- return 1;
- }
- public Elevator_TurnToIdle()
- {
- ElevatorState = ELEVATOR_STATE_IDLE;
- ReadNextFloorInQueue();
- return 1;
- }
- stock RemoveFirstQueueFloor()
- {
- for(new i; i < sizeof(ElevatorQueue) - 1; i ++)
- ElevatorQueue[i] = ElevatorQueue[i + 1];
- ElevatorQueue[sizeof(ElevatorQueue) - 1] = INVALID_FLOOR;
- return 1;
- }
- stock AddFloorToQueue(floorid)
- {
- new slot = -1;
- for(new i; i < sizeof(ElevatorQueue); i ++)
- {
- if(ElevatorQueue[i] == INVALID_FLOOR)
- {
- slot = i;
- break;
- }
- }
- if(slot != -1)
- {
- ElevatorQueue[slot] = floorid;
- if(ElevatorState == ELEVATOR_STATE_IDLE)
- ReadNextFloorInQueue();
- return 1;
- }
- return 0;
- }
- stock ResetElevatorQueue()
- {
- for(new i; i < sizeof(ElevatorQueue); i ++)
- {
- ElevatorQueue[i] = INVALID_FLOOR;
- FloorRequestedBy[i] = INVALID_PLAYER_ID;
- }
- return 1;
- }
- stock IsFloorInQueue(floorid)
- {
- for(new i; i < sizeof(ElevatorQueue); i ++)
- if(ElevatorQueue[i] == floorid)
- return 1;
- return 0;
- }
- stock ReadNextFloorInQueue()
- {
- if(ElevatorState != ELEVATOR_STATE_IDLE || ElevatorQueue[0] == INVALID_FLOOR)
- return 0;
- Elevator_CloseDoors();
- Floor_CloseDoors(ElevatorFloor);
- return 1;
- }
- stock DidPlayerRequestElevator(playerid)
- {
- for(new i; i < sizeof(FloorRequestedBy); i ++)
- if(FloorRequestedBy[i] == playerid)
- return 1;
- return 0;
- }
- stock ShowElevatorDialog(playerid)
- {
- new string[512];
- for(new i; i < sizeof(ElevatorQueue); i ++)
- {
- if(FloorRequestedBy[i] != INVALID_PLAYER_ID)
- strcat(string, "{FF0000}");
- strcat(string, FloorNames[i]);
- strcat(string, "\n");
- }
- ShowPlayerDialog(playerid, DIALOG_ID, DIALOG_STYLE_LIST, "Elevador", string, "Aceitar", "Cancelar");
- return 1;
- }
- stock CallElevator(playerid, floorid)
- {
- if(FloorRequestedBy[floorid] != INVALID_PLAYER_ID || IsFloorInQueue(floorid))
- return 0;
- FloorRequestedBy[floorid] = playerid;
- AddFloorToQueue(floorid);
- return 1;
- }
- stock Float:GetElevatorZCoordForFloor(floorid)
- return (GROUND_Z_COORD + FloorZOffsets[floorid] + ELEVATOR_OFFSET); // A small offset for the elevator object itself.
- stock Float:GetDoorsZCoordForFloor(floorid)
- return (GROUND_Z_COORD + FloorZOffsets[floorid]);
- forward Hospitalizado(playerid);
- public Hospitalizado(playerid) return TogglePlayerControllable(playerid, 1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement