[Map] HQ Sencilla
#1

Es un map que hice yo mismo para un uso personal, pero como vi que por mucho que rolearб hacerlo no me lo pondran pues he decidido dejarlo aquн, aunque dudo que se necesite xD. El map estб bбsicamente pensado para servidores Role Play de supervivencia, tipo Zombie RP. Tambien consta de un sencillo script para abrir y cerrar unas puertas. Imбgenes del map sin las puertas del script (йstas vienen creadas dentro del mismo script) excepto en la primera imagen, que se ve como quedarнa con la reja 2. PD: Quizбs se quejaran de que es muy sencillo y cutre, pensad que este map es para hacer un refugio IC sencillo, dudo que os pueda dar alguna utilidad pero os lo dejo igualmente.








pawn Код:
AddStaticVehicleEx(478,735.67523193,-1433.17248535,13.61182022,87.34008789,-1,-1,15); //Walton
AddStaticVehicleEx(478,735.52868652,-1436.95263672,13.61182022,87.33581543,-1,-1,15); //Walton
AddStaticVehicleEx(478,711.33819580,-1455.72875977,17.84879684,270.67431641,-1,-1,15); //Walton
CreateObject(1452,717.48028564,-1450.76989746,17.75433731,0.00000000,0.00000000,179.36511230); //object(dyn_outhouse) (1)
CreateObject(1457,719.88214111,-1449.28930664,18.35473633,0.00000000,0.00000000,180.63171387); //object(dyn_outhouse_2) (1)
CreateObject(3403,725.10644531,-1435.09863281,15.59746170,0.00000000,0.00000000,0.00000000); //object(sw_logcover) (1)
CreateObject(3403,736.61584473,-1435.23828125,15.59746170,0.00000000,0.00000000,0.00000000); //object(sw_logcover) (2)
CreateObject(1457,715.15631104,-1449.41137695,18.35473633,0.00000000,0.00000000,180.62622070); //object(dyn_outhouse_2) (1)
CreateObject(3168,742.91357422,-1434.44311523,12.53906059,0.00000000,0.00000000,0.00000000); //object(trailer2_01) (1)
CreateObject(922,743.71801758,-1436.44604492,16.57134819,0.00000000,0.00000000,89.32501221); //object(packing_carates1) (1)
CreateObject(922,743.74237061,-1432.66186523,16.57134819,0.00000000,0.00000000,89.32434082); //object(packing_carates1) (2)
CreateObject(10245,706.61761475,-1465.05664062,16.50000000,0.00000000,0.00000000,43.66516113); //object(ottos_ramp) (1)
CreateObject(2988,700.20117188,-1441.47949219,12.53182030,0.00000000,0.00000000,89.32501221); //object(comp_wood_gate) (1)
CreateObject(2988,708.42810059,-1441.54724121,12.53182030,0.00000000,0.00000000,269.95935059); //object(comp_wood_gate) (1)
CreateObject(2514,717.52069092,-1450.66674805,16.69531250,0.00000000,0.00000000,185.32012939); //object(cj_toilet1) (1)
CreateObject(1800,730.47485352,-1450.02172852,16.20000076,0.00000000,0.00000000,359.99938965); //object(low_bed_1) (1)
CreateObject(1793,719.39624023,-1451.78295898,16.69531250,0.00000000,0.00000000,0.00000000); //object(low_bed_2) (1)
CreateObject(1771,714.21441650,-1455.99218750,21.84460449,0.00000000,0.00000000,0.00000000); //object(cj_bunk_bed1) (1)
CreateObject(1793,714.53857422,-1451.98498535,16.69531250,0.00000000,0.00000000,0.00000000); //object(low_bed_2) (1)
CreateObject(3040,733.92352295,-1452.07556152,19.10000038,0.00000000,0.00000000,180.63500977); //object(ct_stall2) (1)
CreateObject(3040,730.41442871,-1451.93798828,19.10000038,0.00000000,0.00000000,180.63500977); //object(ct_stall2) (2)
CreateObject(1299,729.77752686,-1445.54992676,17.15117264,0.00000000,0.00000000,0.00000000); //object(smashboxpile) (10)
CreateObject(1299,730.82214355,-1445.71276855,17.15117264,0.00000000,0.00000000,0.00000000); //object(smashboxpile) (11)
CreateObject(1299,729.07904053,-1445.80053711,17.15117264,0.00000000,0.00000000,0.00000000); //object(smashboxpile) (12)
CreateObject(1299,733.40435791,-1445.81323242,17.15117264,0.00000000,0.00000000,0.00000000); //object(smashboxpile) (13)
CreateObject(1299,734.12036133,-1446.16174316,17.15117264,0.00000000,0.00000000,0.00000000); //object(smashboxpile) (14)
CreateObject(1299,732.10687256,-1445.89147949,17.15117264,0.00000000,0.00000000,0.00000000); //object(smashboxpile) (15)
CreateObject(3040,733.89117432,-1445.51696777,19.10000038,0.00000000,0.00000000,180.63171387); //object(ct_stall2) (3)
CreateObject(3040,730.39489746,-1445.33886719,19.10000038,0.00000000,0.00000000,180.63171387); //object(ct_stall2) (4)
CreateObject(1800,734.03338623,-1450.35131836,16.20000076,0.00000000,0.00000000,359.99450684); //object(low_bed_1) (1)
CreateObject(1800,736.58477783,-1443.59301758,16.20000076,0.00000000,0.00000000,89.31884766); //object(low_bed_1) (1)
CreateObject(1800,733.21636963,-1443.53320312,16.20000076,0.00000000,0.00000000,89.31335449); //object(low_bed_1) (1)
CreateObject(1457,724.63116455,-1449.40051270,18.35473633,0.00000000,0.00000000,180.63171387); //object(dyn_outhouse_2) (1)
CreateObject(1793,724.14508057,-1451.88793945,16.69531250,0.00000000,0.00000000,0.00000000); //object(low_bed_2) (1)
CreateObject(1452,721.99145508,-1450.38623047,17.75433731,0.00000000,0.00000000,179.36279297); //object(dyn_outhouse) (1)
CreateObject(2514,722.03216553,-1450.28283691,16.69531250,0.00000000,0.00000000,185.31738281); //object(cj_toilet1) (1)
CreateObject(1457,724.61395264,-1441.70056152,18.35473633,0.00000000,0.00000000,1.26599121); //object(dyn_outhouse_2) (1)
CreateObject(1457,719.62133789,-1441.53295898,18.35473633,0.00000000,0.00000000,1.26599121); //object(dyn_outhouse_2) (1)
CreateObject(1457,714.46789551,-1441.62438965,18.35473633,0.00000000,0.00000000,1.26342773); //object(dyn_outhouse_2) (1)
CreateObject(1793,723.94830322,-1443.86071777,16.69531250,0.00000000,0.00000000,0.00000000); //object(low_bed_2) (1)
CreateObject(1793,719.40277100,-1443.40173340,16.69531250,0.00000000,0.00000000,0.00000000); //object(low_bed_2) (1)
CreateObject(1793,714.13653564,-1443.43066406,16.69531250,0.00000000,0.00000000,0.00000000); //object(low_bed_2) (1)
CreateObject(1431,717.13354492,-1440.18212891,17.24292564,0.00000000,0.00000000,0.00000000); //object(dyn_box_pile) (4)
CreateObject(1431,721.96020508,-1440.12426758,17.24292564,0.00000000,0.00000000,0.00000000); //object(dyn_box_pile) (5)
CreateObject(1431,712.11865234,-1439.77514648,17.24292564,0.00000000,0.00000000,0.00000000); //object(dyn_box_pile) (6)
CreateObject(1431,710.30828857,-1439.96423340,17.24292564,0.00000000,0.00000000,0.00000000); //object(dyn_box_pile) (7)
CreateObject(1431,708.91638184,-1440.52416992,17.24292564,0.00000000,0.00000000,89.32501221); //object(dyn_box_pile) (8)
CreateObject(3414,712.60583496,-1456.96850586,18.89431572,0.00000000,0.00000000,0.00000000); //object(ce_oldhut1) (1)
CreateObject(2988,706.29418945,-1454.33142090,16.00000000,0.00000000,0.00000000,0.00000000); //object(comp_wood_gate) (1)
CreateObject(1491,708.78997803,-1459.00000000,16.30999947,0.00000000,0.00000000,0.00000000); //object(gen_doorint01) (1)
CreateObject(2988,709.37744141,-1453.93127441,15.60000038,0.00000000,0.00000000,93.29501343); //object(comp_wood_gate) (1)
CreateObject(975,719.40411377,-1427.72412109,14.19812775,0.00000000,0.00000000,89.32501221); //object(columbiangate) (1)
pawn Код:
#include <a_samp>
#define FILTERSCRIPT

new Reja1,
    Reja2;


public OnFilterScriptInit()
{
    Reja1 = CreateObject(2988,700.2,-1441.5,12.5,0.00000000,0.00000000,0.00000000);
    Reja2 = CreateObject(975,719.6,-1436.5,14.2,0.00000000,0.00000000,270.00000000);
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext,"/abrirreja1",true) == 0)
    {
        if(!IsPlayerInRangeOfPoint(playerid, 7.0, 700.2,-1441.5,12.5))return SendClientMessage(playerid, -1, "No estas serca de la reja!");
        MoveObject(Reja1, 700.2, -1441.5, 5.0, 3.0);
        return 1;
    }
    if(strcmp(cmdtext,"/cerrarreja1",true) == 0)
    {
        if(!IsPlayerInRangeOfPoint(playerid, 7.0, 700.2,-1441.5,12.5))return SendClientMessage(playerid, -1, "No estбs cerca de la reja cacho carne con ojos!");
        MoveObject(Reja1, 700.2, -1441.5, 12.5, 3.0);
        return 1;
    }
    if(strcmp(cmdtext,"/abrirreja2",true) == 0)
    {
        if(!IsPlayerInRangeOfPoint(playerid, 7.0, 719.6,-1436.5,14.2))return SendClientMessage(playerid, -1, "No estas serca de la reja!");
        MoveObject(Reja2, 719.6, -1436.5, 5.0, 3.0);
        return 1;
    }
    if(strcmp(cmdtext,"/cerrarreja2",true) == 0)
    {
        if(!IsPlayerInRangeOfPoint(playerid, 7.0, 719.6,-1436.5,14.2))return SendClientMessage(playerid, -1, "No estбs cerca de la reja cacho carne con ojos!");
        MoveObject(Reja2, 719.6, -1436.5, 14.2, 3.0);
        return 1;
    }
    return 0;
}
Crйditos: Crazyjackas69 / Joe Smith
Agradecimientos a:
Jovanny por mejorar el script
SuperMarioRol / Mario Luigi por permitir que me aburra tanto y me dedique ha hacer estas cosas
Reply
#2

Muy Simple, se ve bien !
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)