Please HELP ME
#1

Am facut si eu 2 scripturi cu obiecte, pt 2 vame, una la iesire din LS (inclusiv tunel) si alta la intrare in SF. Am pus si porti si obiecte si tot ce imi trebuie, dar nu stiu cum sa pun comenzi la porti.

Prima vama, adik VamaLS. As dorii, si la iesire din LS pe drumul prinsipal, si prin tunel, sa fie aceasi comanda la poarta. Cand cineva scrie comanda, pt a deschide poarta, sa se deschida ambele.

Code:
// This is a comment
// uncomment the line below if you want to write a filterscript
#define FILTERSCRIPT

#include <a_samp>

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
CreateObject(8556, 64.971802, -1533.563110, 8.669244, 0.0000, 0.0000, 83.3654);
CreateObject(987, 67.970367, -1533.145264, 4.100361, 0.0000, 0.0000, 88.4179); //poarta spre SF
CreateObject(987, 66.932320, -1546.759888, 4.200747, 0.0000, 0.0000, 86.8031); //poarta spre LS
CreateObject(2048, 68.613815, -1533.884521, 6.928740, 0.0000, 0.0000, 83.2615);
CreateObject(2047, 68.596207, -1533.895996, 5.858660, 0.0000, 0.0000, 83.3654);
CreateObject(16782, 60.861996, -1533.230713, 6.216563, 0.0000, 0.0000, 171.0278);
CreateObject(3877, -11.321592, -1519.043945, 2.994865, 0.0000, 0.0000, 349.6868);
CreateObject(3877, -5.511387, -1520.296021, 3.369648, 0.0000, 0.0000, 0.0000);
CreateObject(3877, 0.183609, -1521.489136, 3.751804, 0.0000, 0.0000, 0.0000);
CreateObject(3877, 6.113144, -1522.656006, 4.163090, 0.0000, 0.0000, 0.0000);
CreateObject(3877, 12.190056, -1524.054199, 4.577875, 0.0000, 0.0000, 0.0000);
CreateObject(3877, 18.246994, -1525.618408, 4.988152, 0.0000, 0.0000, 0.0000);
CreateObject(3877, 25.819733, -1527.043457, 5.500717, 0.0000, 0.0000, 0.0000);
CreateObject(3877, 34.469986, -1528.318481, 6.085960, 0.0000, 0.0000, 0.0000);
CreateObject(3877, 39.660614, -1529.505615, 6.067516, 0.0000, 0.0000, 0.0000);
CreateObject(3877, 47.291000, -1530.673950, 5.991841, 0.0000, 0.0000, 0.0000);
CreateObject(3877, 55.050453, -1531.763062, 5.922871, 0.0000, 0.0000, 0.0000);
CreateObject(3525, 71.005943, -1535.379639, 4.909583, 0.0000, 0.0000, 344.5301);
CreateObject(3525, 71.286896, -1533.162354, 4.906283, 0.0000, 0.0000, 177.9035);
CreateObject(11417, -110.275345, -1177.699951, 6.764472, 0.0000, 0.0000, 13.7510);
CreateObject(3463, 78.058273, -1535.484131, 4.693575, 0.0000, 0.0000, 79.0682);
CreateObject(969, 606.734558, -1202.376953, 17.519156, 0.0000, 0.0000, 18.9076); //poarta spre LS (tunel)
CreateObject(969, 627.173950, -1194.553833, 17.283802, 0.0000, 0.0000, 24.9237); //poarta spre SF (tunel)
CreateObject(2047, 621.372314, -1198.035156, 19.835083, 0.0000, 0.0000, 21.4859);
CreateObject(6865, 621.537537, -1198.372559, 25.088879, 0.0000, 0.0000, 69.6143);
CreateObject(3528, 642.698853, -1188.883179, 25.884037, 0.0000, 0.0000, 300.8028);
CreateObject(3528, 599.308777, -1207.472534, 26.644314, 0.0000, 0.0000, 292.2084);
CreateObject(991, 603.502441, -1203.641968, 18.621490, 0.0000, 0.0000, 21.4859);
CreateObject(991, 618.170044, -1198.348877, 18.625996, 0.0000, 0.0000, 20.6265);
CreateObject(991, 623.959045, -1196.079224, 18.643948, 0.0000, 0.0000, 205.4057);
CreateObject(991, 638.162537, -1189.519409, 18.621490, 0.0000, 0.0000, 203.6868);
print("\n--------------------------------------");
print(" Vama LS by iNT3X            ");
print("--------------------------------------\n");
return 1;
}

public OnFilterScriptExit()
{
return 1;
}
#endif
Aceasta este cea de a 2-a vama, adica cea de la intrare in SF. Am scris care sunt portile sa ii fie mai usor celui ce ma ajuta.

Code:
// This is a comment
// uncomment the line below if you want to write a filterscript
#define FILTERSCRIPT

#include <a_samp>

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
CreateObject(1776, 890.254456, -1635.781006, 15.035238, 0.0000, 0.0000, 0.0000);
CreateObject(5837, -1529.943970, -816.776184, 57.043556, 0.0000, 351.4056, 350.5462);
CreateObject(966, -1525.196411, -816.564941, 56.084187, 0.0000, 3.4377, 250.9556);
CreateObject(968, -1525.216431, -816.601624, 56.777897, 0.0000, 85.0842, 71.3332); //poarta spre SF
CreateObject(966, -1526.011597, -819.122986, 56.051781, 0.0000, 3.4377, 83.3654);
CreateObject(968, -1526.028564, -819.174622, 56.748024, 0.0000, 274.0563, 83.3654); //poarta spre LS
CreateObject(3528, -1527.784180, -811.534912, 65.095367, 0.0000, 0.0000, 347.9679);
CreateObject(3528, -1528.921021, -821.366211, 65.033699, 0.0000, 0.0000, 348.8273);
CreateObject(1767, -1532.540649, -817.100159, 55.270443, 0.0000, 2.5783, 87.5585);
CreateObject(1819, -1530.518066, -817.288818, 55.524563, 0.0000, 353.9839, 0.0000);
CreateObject(2306, -1527.804565, -817.197693, 56.162876, 0.0000, 0.8594, 264.7064);
CreateObject(1738, -1531.225952, -817.735901, 56.078751, 0.0000, 353.9839, 350.5462);
CreateObject(1786, -1526.451294, -817.240479, 57.157974, 0.0000, 0.0000, 262.1281);
CreateObject(1790, -1530.014648, -816.817444, 56.150078, 0.0000, 0.0000, 86.1513);
CreateObject(2344, -1532.255981, -817.161987, 55.977879, 0.0000, 0.0000, 85.9437);
CreateObject(2813, -1532.039795, -815.495544, 55.253510, 0.0000, 0.0000, 0.0000);
CreateObject(979, -1525.972656, -806.462952, 57.224598, 0.0000, 0.0000, 311.1158);
CreateObject(978, -1529.986206, -829.383667, 57.019871, 0.0000, 0.0000, 227.7509);
CreateObject(3877, -1524.780518, -817.717102, 57.853287, 0.0000, 0.0000, 0.0000);
CreateObject(3877, -1525.816406, -826.872375, 58.270725, 0.0000, 0.0000, 0.0000);
CreateObject(3877, -1522.265747, -808.931702, 58.391777, 0.0000, 0.0000, 0.0000);
CreateObject(3877, -1525.629150, -807.934265, 57.783634, 0.0000, 0.0000, 0.0000);
CreateObject(3877, -1528.967041, -826.367554, 57.727448, 0.0000, 0.0000, 0.0000);
CreateObject(14608, -1527.046997, -816.428467, 64.148560, 0.0000, 0.0000, 214.8593);
CreateObject(1828, -1529.336670, -816.824097, 55.793262, 0.0000, 352.2651, 347.9679);
print("\n--------------------------------------");
print(" Jail walls by iNT3X          ");
print("--------------------------------------\n");
return 1;
}

public OnFilterScriptExit()
{
return 1;
}
#endif
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)