[Map] [Mapping] Federal Bureau of Investigation - FBI. [Textured]
#1

This was one of the ones that cost me the most, the most hours I spent and where I learned most things.
It has interior, just in case.


Video
https://www.youtube.com/watch?v=SO5QkIYvcHY

Textures
Code:
new planta1;
planta1 = CreateObject(19353, 2497.48120, 2380.34448, 12.38460,   0.00000, 0.00000, 0.00000);
SetObjectMaterialText(planta1, "Piso 1", 0, 50, "Arial", 24, 0, 0xFFFFFFFF, 0, 1);
new planta2;
planta2 = CreateObject(19353, 2497.48267, 2384.75806, 5.76400,   0.00000, 0.00000, 0.00000);
SetObjectMaterialText(planta2, "Piso 2", 0, 50, "Arial", 24, 0, 0xFFFFFFFF, 0, 1);
Code:
new techo;
techo = CreateObject(4639, 2485.65015, 2357.67334, 71.76790,   0.00000, 0.00000, -90.00000);
SetObjectMaterial(techo, 0, 6863, "vgsnbuild07", "luxorwall01_128", -1);
SetObjectMaterial(techo, 1, 6863, "vgsnbuild07", "luxorwall01_128", -1);
SetObjectMaterial(techo, 2, 6863, "vgsnbuild07", "luxorwall01_128", -1);

new interior;
interior = CreateObject(14846, 2446.54248, 2359.70239, -94.74467,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(interior, 10, 11491, "des_ranch", "des_flatlogs", -1);
SetObjectMaterial(interior, 11, 11491, "des_ranch", "des_flatlogs", -1);
SetObjectMaterial(interior, 0, 6883, "vgnland", "indund_64", -1);
SetObjectMaterial(interior, 8, 16138, "des_bigearstuff", "puttywall1", -1);
SetObjectMaterial(interior, 7, 16138, "des_bigearstuff", "puttywall1", -1);
SetObjectMaterial(interior, 6, 16138, "des_bigearstuff", "puttywall1", -1);

new puerta;
puerta = CreateObject(11714, 2431.55542, 2355.03735, -95.93600,   0.00000, 0.00000, 0.00000);
SetObjectMaterial(puerta, 0, 8409, "gnhotel1", "gnhoteldoor05_128", -1);
CreateObject
Code:
CreateDynamicObject(7090, 2444.69849, 2371.79712, 19.22640,   0.00000, 0.00000, -180.00000);
CreateDynamicObject(7090, 2444.66821, 2381.89600, 19.16640,   0.00000, 0.00000, -180.00000);
CreateDynamicObject(966, 2490.54004, 2350.78735, 9.81590,   0.00000, 0.00000, -180.00000);
CreateDynamicObject(968, 2490.50073, 2350.79004, 10.72760,   0.00000, 91.00000, 0.00000);
CreateDynamicObject(967, 2489.53052, 2351.29785, 9.81600,   0.00000, 0.00000, -90.00000);
CreateDynamicObject(19313, 2481.75000, 2350.65405, 13.10960,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(9241, 2464.01758, 2386.61255, 71.76886,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(1689, 2494.68213, 2358.31348, 71.27140,   0.00000, 0.00000, -90.00000);
CreateDynamicObject(19827, 2487.40405, 2400.96948, 4.51074,   0.00000, 0.00000, 90.00000);
CreateDynamicObject(19827, 2487.39722, 2400.96680, 11.46390,   0.00000, 0.00000, 90.00000);
Code:
CreateObject(14846, 2446.54248, 2359.70239, -94.74467,   0.00000, 0.00000, 0.00000);
CreateObject(14842, 2439.93921, 2339.88110, -95.55770,   0.00000, 0.00000, 0.00000);
CreateObject(2235, 2440.46387, 2336.46558, -96.66810,   0.00000, 0.00000, 0.00000);
CreateObject(19874, 2440.49512, 2337.15454, -96.18310,   0.00000, 0.00000, -83.45999);
CreateObject(19874, 2441.38770, 2337.15161, -96.18306,   0.00000, 0.00000, -67.31998);
CreateObject(19874, 2440.86792, 2337.04932, -96.18306,   0.00000, 0.00000, 15.54000);
CreateObject(11707, 2441.48291, 2340.22046, -96.20580,   0.00000, 0.00000, -90.00000);
CreateObject(14898, 2439.99170, 2353.52344, -91.84961,   0.00000, 0.00000, 270.00000);
CreateObject(14845, 2454.19922, 2344.50342, -95.13696,   0.00000, 0.00000, -90.00000);
CreateObject(14844, 2441.27173, 2359.54297, -94.77000,   0.00000, 0.00000, 0.00000);
CreateObject(2610, 2445.39429, 2368.15601, -94.95140,   0.00000, 0.00000, 180.00000);
CreateObject(2610, 2444.87451, 2368.15601, -94.95140,   0.00000, 0.00000, 180.00000);
CreateObject(2165, 2443.31494, 2370.02905, -95.78260,   0.00000, 0.00000, -180.00000);
CreateObject(2165, 2442.32104, 2369.04980, -95.78260,   0.00000, 0.00000, 0.00000);
CreateObject(2165, 2443.38550, 2365.03418, -95.78260,   0.00000, 0.00000, -180.00000);
CreateObject(2165, 2442.39380, 2364.04102, -95.78260,   0.00000, 0.00000, 0.00000);
CreateObject(2165, 2448.51587, 2368.87915, -95.78260,   0.00000, 0.00000, 0.00000);
CreateObject(2165, 2449.52002, 2369.85400, -95.78260,   0.00000, 0.00000, -180.00000);
CreateObject(2165, 2449.60010, 2365.15405, -95.78260,   0.00000, 0.00000, -180.00000);
CreateObject(2165, 2448.59497, 2364.16797, -95.78260,   0.00000, 0.00000, 0.00000);
CreateObject(1806, 2448.97778, 2368.02612, -95.78130,   0.00000, 0.00000, -5.82000);
CreateObject(1806, 2442.80371, 2370.93042, -95.78130,   0.00000, 0.00000, -182.88000);
CreateObject(1806, 2442.84180, 2363.17798, -95.78130,   0.00000, 0.00000, -5.82000);
CreateObject(1806, 2442.92529, 2366.13843, -95.78130,   0.00000, 0.00000, -182.88000);
CreateObject(1806, 2449.13550, 2366.06616, -95.78130,   0.00000, 0.00000, -182.88000);
CreateObject(1806, 2449.02588, 2370.86255, -95.78130,   0.00000, 0.00000, -182.88000);
CreateObject(1806, 2448.99683, 2363.10034, -95.78130,   0.00000, 0.00000, -5.82000);
CreateObject(1806, 2442.78662, 2368.15479, -95.78130,   0.00000, 0.00000, -5.82000);
CreateObject(941, 2445.35864, 2384.35742, -95.30955,   0.00000, 0.00000, -89.99998);
CreateObject(1810, 2444.38916, 2384.35522, -95.78200,   0.00000, 0.00000, 90.00000);
CreateObject(1810, 2446.39722, 2383.87402, -95.78200,   0.00000, 0.00000, -90.00000);
CreateObject(14843, 2450.41284, 2335.48828, -98.53780,   0.00000, 0.00000, 0.00000);
CreateObject(1771, 2446.13257, 2338.73242, -99.51210,   0.00000, 0.00000, -90.00000);
CreateObject(1771, 2455.13745, 2338.68213, -99.51210,   0.00000, 0.00000, -90.00000);
CreateObject(1771, 2450.80542, 2338.53394, -99.51210,   0.00000, 0.00000, -90.00000);
CreateObject(19302, 2456.69922, 2335.53906, -98.55720,   0.00000, 0.00000, -180.00000);
CreateObject(19302, 2452.20557, 2335.52661, -98.55720,   0.00000, 0.00000, -180.00000);
CreateObject(2165, 2460.02148, 2332.09497, -99.78344,   0.00000, 0.00000, 52.79999);
CreateObject(1806, 2461.18066, 2331.77075, -99.78114,   0.00000, 0.00000, 55.01999);
CreateObject(2172, 2440.14697, 2345.60522, -97.18410,   0.00000, 0.00000, -90.00000);
CreateObject(2172, 2440.13135, 2349.44092, -97.18410,   0.00000, 0.00000, -90.00000);
CreateObject(1806, 2433.31348, 2344.99316, -97.18248,   0.00000, 0.00000, 92.93999);
CreateObject(1806, 2439.15698, 2348.92139, -97.18248,   0.00000, 0.00000, -88.62000);
CreateObject(1806, 2439.14600, 2345.03052, -97.18248,   0.00000, 0.00000, -88.62000);
CreateObject(11714, 2431.55542, 2355.03735, -95.93600,   0.00000, 0.00000, 0.00000);
CreateObject(11743, 2431.80908, 2344.26514, -96.41860,   0.00000, 0.00000, 90.00000);
CreateObject(11741, 2431.99341, 2344.84302, -96.41850,   0.00000, 0.00000, 0.00000);
CreateObject(11711, 2431.19482, 2355.05933, -94.05010,   0.00000, 0.00000, 90.00000);
CreateObject(19810, 2447.47876, 2379.44604, -94.03650,   0.00000, 0.00000, -180.00000);
CreateObject(18637, 2447.23755, 2343.06738, -96.68510,   69.00000, 0.00000, -180.00000);
CreateObject(19142, 2447.03613, 2348.71606, -96.96160,   0.00000, -90.00000, 180.00000);
CreateObject(18637, 2447.31299, 2348.82959, -96.66550,   69.00000, -4.00000, 4.00000);
CreateObject(356, 2447.44995, 2343.13721, -96.95220,   11.04000, -90.00000, 0.00000);
CreateObject(18755, 2453.85498, 2371.76611, -93.86750,   0.00000, 0.00000, 0.00000);
CreateObject(18756, 2453.83154, 2373.85767, -93.90090,   0.00000, 0.00000, 0.00000);
CreateObject(18757, 2453.82617, 2369.86621, -93.90120,   0.00000, 0.00000, 0.00000);
CreateObject(19827, 2451.81714, 2368.92920, -94.59900,   0.00000, 0.00000, -90.00000);
Others ((Optional))
Code:
CreateDynamic3DTextLabel ("{DBED15} Vest \ n {FFFFFF} uses {DBED15} / chalecofbi {FFFFFF} to put on a vest", 0xEB0000FF, 2447.2632,2348.3169, -96.1822, 5.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);
****CreateDynamic3DTextLabel ("{DBED15} Weapons \ n {FFFFFF} uses {DBED15} / armasfbi {FFFFFF} to take your weapons", 0xEB0000FF, 2447.1316,2343.4915, -96.1822, 5.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);
****Create3DTextLabel ("{00CA00} Federal Bureau of Investigation \ n \ n {FFFFFF} Enter {DBED15} / enter {FFFFFF} to enter.", 0xEB0000FF, 2447.6101,2376.1895,12.1635,20, 0, 1);
****CreateDynamic3DTextLabel ("Enter {DBED15} / exit {FFFFFF} to exit.", 0xFFFFFFFF, 2431.9346,2355.0559, -96.1822,5.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);
****Create3DTextLabel ("{00CA00} Upstairs \ n \ n {FFFFFF} Enter {DBED15} / enter {FFFFFF} to enter.", 0xEB0000FF, 2435.5889,2359.5623, -96.1822,20, 0, 1);
****CreateDynamic3DTextLabel ("Enter {DBED15} / exit {FFFFFF} to exit.", 0xFFFFFFFF, 2483.4602,2357.9609,71.0496,5.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);
****Create3DTextLabel ("{00CA00} Parking Elevator \ n \ n {FFFFFF} Enter {DBED15} / enter {FFFFFF} to enter.", 0xEB0000FF, 2451.4651,2369.0889, -94.7837.20, 0, 1);
****Create3DTextLabel ("{00CA00} Elevator office \ n \ n {FFFFFF} Enter {DBED15} / enter {FFFFFF} to enter.", 0xEB0000FF, 2487.8750,2400.9814.10.8203.20, 0, 1);
****Create3DTextLabel ("{00CA00} Elevator first floor \ n \ n {FFFFFF} Enter {DBED15} / enter {FFFFFF} to enter.", 0xEB0000FF, 2487.7483,2400.8254,4.2109,20, 0, 1);
Entry
Code:
if (IsPlayerInRangeOfPoint (playerid, 2.0, 2447.6101,2376.1895,12.1635)) // Door fbi
****{
********SetPosEx (playerid, 2431.9346,2355.0559, -96.1822,355.6106,5,5);
********FreezeEx (playerid);
********return 1;
****}
****if (IsPlayerInRangeOfPoint (playerid, 2.0, 2435.5889,2359.5623, -96.1822)) // fbi ladder
****{
********SetPosEx (playerid, 2483.4602,2357.9609,71.0496,355.6106,0,0);
********FreezeEx (playerid);
********return 1;
****}
****if (IsPlayerInRangeOfPoint (playerid, 2.0, 2451.4651,2369.0889, -94.7837)) // Elevator fbi
****{
********SetPosEx (playerid, 2487.7415,2397.3235,10.8203,355.6106,0,0);
********FreezeEx (playerid);
********return 1;
****}
****if (IsPlayerInRangeOfPoint (playerid, 2.0, 2487.8750,2400.9814,10.8203)) // Elevator fbi1
****{
********SetPosEx (playerid, 2451.4463.2371.8389, -94.7837.355.6106,0.0);
********FreezeEx (playerid);
********return 1;
****}
****if (IsPlayerInRangeOfPoint (playerid, 2.0, 2487.7483,2400.8254,4.2109)) // Elevator fbi2
****{
********SetPosEx (playerid, 2487.7415,2397.3235,10.8203,355.6106,0,0);
********FreezeEx (playerid);
********return 1;
****}
Exit
Code:
if (IsPlayerInRangeOfPoint (playerid, 2.0,2431.9346,2355.0559, -96.1822)) // FBI Door
**** {
******** SetPosEx (playerid, 2447.6101,2376.1895,12.1635,0,0,0);
******** return 1;
**** }
**** if (IsPlayerInRangeOfPoint (playerid, 2.0,2483.4602,2357.9609,71.0496)) // FBI Staircase
**** {
******** SetPosEx (playerid, 2435.5889,2359.5623, -96.1822,0,0,0);
******** return 1;
**** }
*
// Cmd //
CMD: chalecofbi (playerid, params [])
{
**** if (PlayerInfo [playerid] [pDuty]! = 2) return 1;
**** if (IsPlayerInRangeOfPoint (playerid, 1.0, 2447.2632,2348.3169, -96.1822))
**** {
*
******** SetChaleco (playerid, 100);
******** }
**** return 1;
}
Code:
CreateDynamic3DTextLabel ("{DBED15} Vest \ n {FFFFFF} uses {DBED15} / chalecofbi {FFFFFF} to put on a vest", 0xEB0000FF, 2447.2632,2348.3169, -96.1822, 5.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);
****CreateDynamic3DTextLabel ("{DBED15} Weapons \ n {FFFFFF} uses {DBED15} / armasfbi {FFFFFF} to take your weapons", 0xEB0000FF, 2447.1316,2343.4915, -96.1822, 5.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);
****Create3DTextLabel ("{00CA00} Federal Bureau of Investigation \ n \ n {FFFFFF} Enter {DBED15} / enter {FFFFFF} to enter.", 0xEB0000FF, 2447.6101,2376.1895,12.1635,20, 0, 1);
****CreateDynamic3DTextLabel ("Enter {DBED15} / exit {FFFFFF} to exit.", 0xFFFFFFFF, 2431.9346,2355.0559, -96.1822,5.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);
****Create3DTextLabel ("{00CA00} Upstairs \ n \ n {FFFFFF} Enter {DBED15} / enter {FFFFFF} to enter.", 0xEB0000FF, 2435.5889,2359.5623, -96.1822,20, 0, 1);
****CreateDynamic3DTextLabel ("Enter {DBED15} / exit {FFFFFF} to exit.", 0xFFFFFFFF, 2483.4602,2357.9609,71.0496,5.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);
****Create3DTextLabel ("{00CA00} Parking Elevator \ n \ n {FFFFFF} Enter {DBED15} / enter {FFFFFF} to enter.", 0xEB0000FF, 2451.4651,2369.0889, -94.7837.20, 0, 1);
****Create3DTextLabel ("{00CA00} Elevator office \ n \ n {FFFFFF} Enter {DBED15} / enter {FFFFFF} to enter.", 0xEB0000FF, 2487.8750,2400.9814.10.8203.20, 0, 1);
****Create3DTextLabel ("{00CA00} Elevator first floor \ n \ n {FFFFFF} Enter {DBED15} / enter {FFFFFF} to enter.", 0xEB0000FF, 2487.7483,2400.8254,4.2109,20, 0, 1);
Code:
CMD:chalecofbi(playerid,params[])
{
    if(PlayerInfo[playerid][pDuty] != 2) return 1;
    if(IsPlayerInRangeOfPoint(playerid, 1.0, 2447.2632,2348.3169,-96.1822))
    {
 
        EstablecerChaleco(playerid, 100);
        }
    return 1;
}
Reply
#2

Nice work!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)