Sziasztok!
Elkészítettem a saját Nemzeti Adó- és Vámhivatalomat. :smokin:
Ez egy épület lefoglalt jármûvekkel,szolgálati jarmûvekkel.
A bejáratnál van egy pickup amibe ha belementek bedob SFPD-re.
Ez RP-szerverekre talán jó lehetne.
Objectek száma:20,ami nem sok mert most nem volt kedven tovább fejleszteni.
Jármûvek száma:24,aminek szinte fele lefoglalt jármû.
Képek:
http://kepfeltoltes.hu/130608/322279836sa-mp-030_www.kepfeltoltes.hu_.pnghttp://kepfeltoltes.hu/130608/284136157sa-mp-031_www.kepfeltoltes.hu_.pnghttp://kepfeltoltes.hu/130608/sa-mp-032_www.kepfeltoltes.hu_.pnghttp://kepfeltoltes.hu/130608/1304728874sa-mp-033_www.kepfeltoltes.hu_.pnghttp://kepfeltoltes.hu/130608/201564185sa-mp-034_www.kepfeltoltes.hu_.pnghttp://kepfeltoltes.hu/130608/sa-mp-035_www.kepfeltoltes.hu_.pnghttp://kepfeltoltes.hu/130608/sa-mp-037_www.kepfeltoltes.hu_.pnghttp://kepfeltoltes.hu/130608/sa-mp-038_www.kepfeltoltes.hu_.pnghttp://kepfeltoltes.hu/130608/113152625sa-mp-039_www.kepfeltoltes.hu_.pnghttp://kepfeltoltes.hu/130608/658832155sa-mp-040_www.kepfeltoltes.hu_.pngRemélem tetszik.
Tessék:
new Nahbejarat;
new Nahkijarat;
public OnGameModeInit()
{
// Nemzeti adó és Vámhivatal
AddStaticVehicleEx(598,1476.0000000,-2151.3000500,13.4000000,180.0000000,8,74,15); //Police Car (LVPD)
AddStaticVehicleEx(599,1478.3000500,-2181.8000500,13.9000000,94.0000000,13,74,15); //Police Ranger
AddStaticVehicleEx(598,1469.1999500,-2151.3999000,13.4000000,182.0000000,12,73,15); //Police Car (LVPD)
AddStaticVehicleEx(598,1472.5999800,-2151.1999500,13.4000000,182.0000000,15,92,15); //Police Car (LVPD)
AddStaticVehicleEx(567,1422.3000500,-2151.1001000,13.5000000,206.0000000,13,18,15); //Savanna
AddStaticVehicleEx(421,1426.1999500,-2150.3999000,13.5000000,226.0000000,15,134,15); //Washington
AddStaticVehicleEx(579,1430.5000000,-2149.6999500,13.6000000,0.0000000,133,56,15); //Huntley
AddStaticVehicleEx(502,1433.5000000,-2152.0000000,13.5000000,150.0000000,37,114,15); //Hotring Racer A
AddStaticVehicleEx(568,1423.6999500,-2156.0000000,13.5000000,168.0000000,94,112,15); //Bandito
AddStaticVehicleEx(504,1427.9000200,-2155.5000000,13.5000000,54.0000000,68,7,15); //Bloodring Banger
AddStaticVehicleEx(522,1426.5000000,-2157.6001000,13.2000000,232.0000000,215,142,15); //NRG-500
AddStaticVehicleEx(418,1433.5000000,-2156.8000500,13.7000000,308.0000000,111,103,15); //Moonbeam
AddStaticVehicleEx(411,1424.8000500,-2162.1999500,13.3000000,0.0000000,89,110,15); //Infernus
AddStaticVehicleEx(558,1428.4000200,-2161.3000500,13.3000000,150.0000000,37,37,15); //Uranus
AddStaticVehicleEx(565,1435.0000000,-2161.1001000,13.2000000,210.0000000,156,161,15); //Flash
AddStaticVehicleEx(517,1431.0000000,-2163.6001000,13.5000000,160.0000000,45,58,15); //Majestic
AddStaticVehicleEx(412,1428.5999800,-2167.8999000,13.5000000,230.0000000,151,149,15); //Voodoo
AddStaticVehicleEx(576,1434.0000000,-2166.6999500,13.3000000,328.0000000,106,122,15); //Tornado
AddStaticVehicleEx(458,1425.6999500,-2170.0000000,13.5000000,26.0000000,71,53,15); //Solair
AddStaticVehicleEx(599,1477.8000500,-2178.3000500,13.9000000,94.0000000,3,56,15); //Police Ranger
AddStaticVehicleEx(599,1477.5999800,-2174.5000000,13.9000000,96.0000000,7,133,15); //Police Ranger
AddStaticVehicleEx(523,1477.1999500,-2171.6999500,13.2000000,98.0000000,14,163,15); //HPV1000
AddStaticVehicleEx(523,1476.9000200,-2170.1001000,13.2000000,96.0000000,-1,-1,15); //HPV1000
AddStaticVehicleEx(523,1476.6999500,-2168.6001000,13.2000000,94.0000000,-1,-1,15); //HPV1000
AddStaticVehicleEx(523,1476.5000000,-2167.0000000,13.2000000,100.0000000,-1,-1,15); //HPV1000
CreateObject(12941,1451.8000500,-2158.5000000,12.5000000,0.0000000,0.0000000,359.5000000); //object(sw_lastdrop) (1)
CreateObject(987,1429.5999800,-2144.3999000,12.5000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (21)
CreateObject(987,1417.6999500,-2145.6001000,12.5000000,0.0000000,0.0000000,6.0000000); //object(elecfence_bar) (22)
CreateObject(987,1421.9000200,-2156.8000500,12.5000000,0.0000000,0.0000000,109.7500000); //object(elecfence_bar) (23)
CreateObject(987,1421.8000500,-2157.0000000,12.5000000,0.0000000,0.0000000,276.0000000); //object(elecfence_bar) (24)
CreateObject(987,1423.0999800,-2168.8999000,12.5000000,0.0000000,0.0000000,280.0000000); //object(elecfence_bar) (25)
CreateObject(987,1424.8000500,-2180.1999500,12.5000000,0.0000000,0.0000000,338.0000000); //object(elecfence_bar) (26)
CreateObject(987,1467.0000000,-2144.5000000,12.5000000,0.0000000,0.0000000,356.0000000); //object(elecfence_bar) (27)
CreateObject(987,1478.8000500,-2145.6999500,12.6000000,0.0000000,0.0000000,278.0000000); //object(elecfence_bar) (28)
CreateObject(987,1480.5000000,-2157.6001000,12.5000000,0.0000000,0.0000000,278.0000000); //object(elecfence_bar) (29)
CreateObject(987,1482.0999800,-2169.5000000,12.5000000,0.0000000,0.0000000,276.0000000); //object(elecfence_bar) (30)
CreateObject(987,1472.8000500,-2184.5000000,12.5000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (31)
CreateObject(987,1460.8000500,-2184.3000500,12.5000000,0.0000000,0.0000000,359.5000000); //object(elecfence_bar) (32)
CreateObject(987,1436.0000000,-2184.5000000,12.5000000,0.0000000,0.0000000,2.0000000); //object(elecfence_bar) (33)
CreateObject(987,1484.0000000,-2184.6001000,12.5000000,0.0000000,0.0000000,96.0000000); //object(elecfence_bar) (34)
CreateObject(1250,1448.3000500,-2182.3999000,13.6000000,0.0000000,0.0000000,90.0000000); //object(smashbarpost) (1)
CreateObject(1251,1450.1999500,-2182.1999500,16.1000000,46.0000000,0.0000000,268.0000000); //object(smashbar) (1)
CreateObject(1250,1460.6999500,-2182.8000500,13.6000000,0.0000000,0.0000000,272.0000000); //object(smashbarpost) (3)
CreateObject(1251,1459.0999800,-2182.3000500,16.3000000,53.9980000,0.0000000,90.0000000); //object(smashbar) (3)
CreateObject(979,1428.3000500,-2173.3999000,13.4000000,0.0000000,0.0000000,190.0000000); //object(sub_roadleft) (5)
CreateObject(979,1436.0000000,-2171.8000500,13.4000000,0.0000000,0.0000000,194.0000000); //object(sub_roadleft) (11)
Nahbejarat = CreatePickup(1318,1,1451.7028,-2173.3423,13.8984);
Nahkijarat = CreatePickup(1318,1,246.4184,107.3042,1003.2188);
Create3DTextLabel(\"Nemzeti Adó- és Vámhivatal\",0x0910e6AA,1451.7028,-2173.3423,13.8984,50.0,0);// a bejárathoz kiirja a szöveget
Create3DTextLabel(\"Kijárat\",0x0910e6AA,246.4184,107.3042,1003.2188,50.0,0);// a kijárathoz kiirja a szöveget
Create3DTextLabel(\"Lefoglalt jármûvek!BELÉPNI TILOS!!!\",0xe60e27AA,1431.6748,-2173.5598,13.5469,50.0,0);
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid==Nahbejarat)
{
SetPlayerInterior(playerid,10);//ez azért kell hogy ne gabalyodjön össze
SetPlayerPos(playerid,246.4718,110.1235,1003.2257);// ide az kell hogy az interioron belül hova tegyen le
SetPlayerFacingAngle(playerid,357.4059);// ez azt jelenti hogy merre nézzen a játékos
}
if(pickupid==Nahkijarat)
{
SetPlayerInterior(playerid,0);// ez visszaálítja az utcai interiorra
SetPlayerPos(playerid,1451.9922,-2176.2329,13.5469);//utcai spawnhely
SetPlayerFacingAngle(playerid,180.7072);//utcai arcállás
}
return 1;
}