PHP код:
/*Mapping San Fierro Medical Center by Medvedev_Pavel
большое спасибо автору этой работы DJJulien71
----по всем вопросам обращайтесь в скайп brian_okkonor97*/
#include <a_samp>
#include <a_samp>
#include <zcmd>
#include <dutils>
#include <sscanf2>
#include <streamer>
#include <audio>
#include <dini>
new entrer1;
new entrer2;
new entrer3;
new entrer4;
new toit1;
new toit2;
new etage0;
new etage1;
new etage2;
new parking;
new parking2;
new etage3;
forward PlayerToPoint (playerid, Float:radi, Float:x, Float:y, Float:z);
public OnGameModeInit()
{
entrer1 = CreatePickup(1318,1,-2234.4175,262.2649,35.1587); //Entrer de devant a gauche
entrer2 = CreatePickup(1318,1,-2207.8110,212.2384,39.4188); //Entrer de devant a droite
entrer3 = CreatePickup(1318,1,-2204.0923,287.6711,1.0156); //Entrer interieur de gauche
entrer4 = CreatePickup(1318,1,-2215.6118,251.0596,1.0078); //Entrer interieur de droite
toit1 = CreatePickup(1318,1,-2208.4854,259.2734,1.0156); //Assenceur 1 ( interieur )
toit2 = CreatePickup(1318,1,-2221.4878,287.2677,71.4181); //Assenceur 1 ( toit )
etage0 = CreatePickup(1318,1,-2196.8765,255.3862,35.1587); //Assenceur parking etage 0
etage1 = CreatePickup(1318,1,-2216.5176,284.1443,27.9716); //Assenceur parking etage -1
etage2 = CreatePickup(1318,1,-2216.2351,284.3649,17.2450); //Assenceur parking etage -2
parking = CreatePickup (1318,1,-2208.4875,264.6552,1.0156); //Assenceur direction parking employer
parking2 = CreatePickup (1318,1,-2214.0730,255.4052,35.1587); //Assenceur2 du parking direction etage -1
etage3 = CreatePickup (1318,1,-2242.2185,270.3696,27.9169); //Assenceur2 Etage -1 direction Etage -2
return 1;
}
#define FILTERSCRIPT
public OnFilterScriptInit()
{
//Mapping caserne interieur + exterieur
CreateObject(19313, -2194.03, 197.36, 37.06, 0.00, 0.00, 0.00);
CreateObject(7010, -2233.43, 208.74, 35.83, 0.00, 0.00, -90.00);
CreateObject(7009, -2202.07, 225.60, 48.20, 0.00, 0.00, -90.00);
CreateObject(7184, -2174.61, 301.17, 36.34, 0.00, 0.00, 0.00);
CreateObject(7244, -2202.55, 283.60, 25.12, 0.00, 0.00, -90.00);
CreateObject(6959, -2213.74, 301.62, 34.19, 0.00, 0.00, 0.00);
CreateObject(6959, -2223.46, 244.05, 34.19, 0.00, 0.00, 0.00);
CreateObject(3660, -2161.85, 300.69, 36.68, 0.00, 0.00, 90.00);
CreateObject(3660, -2159.92, 300.69, 36.68, 0.00, 0.00, 90.00);
CreateObject(3660, -2157.93, 300.69, 36.68, 0.00, 0.00, 90.00);
CreateObject(3660, -2161.85, 281.12, 36.68, 0.00, 0.00, 90.00);
CreateObject(3660, -2161.85, 261.63, 36.68, 0.00, 0.00, 90.00);
CreateObject(3660, -2159.92, 281.12, 36.68, 0.00, 0.00, 90.00);
CreateObject(3660, -2157.93, 281.12, 36.68, 0.00, 0.00, 90.00);
CreateObject(3660, -2159.92, 261.63, 36.68, 0.00, 0.00, 90.00);
CreateObject(3660, -2157.93, 261.63, 36.68, 0.00, 0.00, 90.00);
CreateObject(3660, -2161.85, 242.03, 36.68, 0.00, 0.00, 90.00);
CreateObject(3660, -2161.85, 222.42, 36.68, 0.00, 0.00, 90.00);
CreateObject(3660, -2161.85, 202.78, 36.68, 0.00, 0.00, 90.00);
CreateObject(3660, -2172.10, 199.75, 36.68, 0.00, 0.00, 0.00);
CreateObject(3660, -2159.92, 242.03, 36.68, 0.00, 0.00, 90.00);
CreateObject(3660, -2157.93, 242.03, 36.68, 0.00, 0.00, 90.00);
CreateObject(3660, -2159.92, 222.42, 36.68, 0.00, 0.00, 90.00);
CreateObject(3660, -2157.93, 222.42, 36.68, 0.00, 0.00, 90.00);
CreateObject(3660, -2159.92, 202.78, 36.68, 0.00, 0.00, 90.00);
CreateObject(3660, -2157.93, 202.78, 36.68, 0.00, 0.00, 90.00);
CreateObject(6959, -2172.44, 323.61, 34.19, 0.00, 0.00, 0.00);
CreateObject(19371, -2234.57, 260.82, 43.39, 0.00, 0.00, 0.00);
CreateObject(19371, -2234.57, 264.01, 43.39, 0.00, 0.00, 0.00);
CreateObject(19371, -2242.80, 310.83, 35.00, 0.00, 0.00, 0.00);
CreateObject(11245, -2235.52, 262.33, 43.87, 0.00, 0.00, 180.00);
CreateObject(11245, -2235.62, 260.17, 43.87, 0.00, 0.00, 196.00);
CreateObject(11245, -2235.62, 264.54, 43.87, 0.00, 0.00, -196.00);
CreateObject(19371, -2207.15, 210.78, 47.56, 0.00, 0.00, 0.00);
CreateObject(19371, -2207.15, 214.00, 47.56, 0.00, 0.00, 0.00);
CreateObject(19371, -2222.64, 217.10, 37.16, 0.00, 0.00, 60.00);
CreateObject(19371, -2221.38, 216.35, 37.16, 0.00, 0.00, 60.00);
CreateObject(19371, -2241.27, 312.41, 35.00, 0.00, 0.00, 90.00);
CreateObject(19371, -2180.52, 305.24, 43.38, 0.00, 0.00, 0.00);
CreateObject(19371, -2180.52, 302.04, 43.38, 0.00, 0.00, 0.00);
CreateObject(18850, -2195.04, 273.28, 58.18, 0.00, 0.00, 0.00);
CreateObject(3881, -2221.04, 290.27, 72.24, 0.00, 0.00, 90.00);
CreateObject(620, -2229.91, 220.63, 35.31, 0.00, 0.00, 0.00);
CreateObject(620, -2233.29, 235.68, 35.31, 0.00, 0.00, 0.00);
CreateObject(620, -2238.09, 226.14, 35.31, 0.00, 0.00, 0.00);
CreateObject(620, -2217.18, 207.31, 37.88, 0.00, 0.00, 0.00);
CreateObject(620, -2221.33, 200.77, 36.00, 0.00, 0.00, 0.00);
CreateObject(712, -2230.67, 227.41, 46.74, 0.00, 0.00, 0.00);
CreateObject(712, -2236.04, 230.47, 44.74, 0.00, 0.00, 0.00);
CreateObject(712, -2228.96, 233.04, 46.74, 0.00, 0.00, 0.00);
CreateObject(712, -2238.14, 220.25, 44.36, 0.00, 0.00, 0.00);
CreateObject(712, -2218.56, 203.43, 46.74, 0.00, 0.00, 0.00);
CreateObject(647, -2241.08, 215.12, 35.66, 0.00, 0.00, 0.00);
CreateObject(647, -2241.13, 218.89, 35.66, 0.00, 0.00, 0.00);
CreateObject(647, -2241.10, 223.20, 35.66, 0.00, 0.00, 0.00);
CreateObject(647, -2241.20, 227.68, 35.66, 0.00, 0.00, 0.00);
CreateObject(647, -2241.10, 231.34, 35.66, 0.00, 0.00, 0.00);
CreateObject(647, -2241.04, 235.37, 35.66, 0.00, 0.00, 0.00);
CreateObject(647, -2240.92, 239.56, 35.66, 0.00, 0.00, 0.00);
CreateObject(700, -2240.91, 309.40, 34.86, 0.00, 0.00, 0.00);
CreateObject(700, -2240.95, 299.94, 34.86, 0.00, 0.00, 0.00);
CreateObject(700, -2240.83, 291.29, 34.86, 0.00, 0.00, 0.00);
CreateObject(700, -2241.09, 283.72, 34.86, 0.00, 0.00, 0.00);
CreateObject(7213, -2198.77, 287.08, 36.00, 0.00, 0.00, -90.00);
CreateObject(968, -2215.12, 314.21, 35.00, 0.00, 0.00, 0.00);
CreateObject(9897, -2215.67, 292.94, 36.14, 0.00, 0.00, 45.00);
CreateObject(9897, -2215.73, 222.12, 36.14, 0.00, 0.00, 45.00);
CreateObject(9897, -2200.56, 287.35, 36.14, 0.00, 0.00, 225.00);
CreateObject(9897, -2171.57, 207.78, 40.28, 0.00, 0.00, 225.00);
CreateObject(1692, -2193.21, 203.77, 62.68, 0.00, 0.00, 0.00);
CreateObject(1692, -2193.21, 212.79, 62.68, 0.00, 0.00, 0.00);
CreateObject(1692, -2193.21, 222.25, 62.68, 0.00, 0.00, 0.00);
CreateObject(1697, -2198.62, 247.40, 63.72, 0.00, 0.00, 90.00);
CreateObject(1697, -2198.62, 241.89, 63.72, 0.00, 0.00, 90.00);
CreateObject(1697, -2198.62, 236.27, 63.72, 0.00, 0.00, 90.00);
CreateObject(1697, -2198.62, 230.67, 63.72, 0.00, 0.00, 90.00);
CreateObject(1697, -2191.99, 247.40, 63.72, 0.00, 0.00, 90.00);
CreateObject(1697, -2198.62, 247.40, 63.72, 0.00, 0.00, 90.00);
CreateObject(1697, -2191.99, 241.89, 63.72, 0.00, 0.00, 90.00);
CreateObject(1697, -2191.99, 236.27, 63.72, 0.00, 0.00, 90.00);
CreateObject(1697, -2191.99, 230.67, 63.72, 0.00, 0.00, 90.00);
CreateObject(16773, -2156.08, 258.53, 28.84, 0.00, 0.00, 0.00);
CreateObject(16773, -2212.54, 212.05, 32.89, 0.00, 0.00, -30.00);
CreateObject(712, -2159.75, 305.17, 44.36, 0.00, 0.00, 0.00);
CreateObject(712, -2159.67, 294.97, 44.36, 0.00, 0.00, 0.00);
CreateObject(712, -2159.41, 282.67, 44.36, 0.00, 0.00, 0.00);
CreateObject(712, -2159.82, 272.40, 44.36, 0.00, 0.00, 0.00);
CreateObject(712, -2159.79, 262.04, 44.36, 0.00, 0.00, 0.00);
CreateObject(712, -2159.73, 250.57, 44.36, 0.00, 0.00, 0.00);
CreateObject(712, -2159.43, 238.13, 44.36, 0.00, 0.00, 0.00);
CreateObject(712, -2159.47, 226.52, 44.36, 0.00, 0.00, 0.00);
CreateObject(712, -2159.43, 214.79, 44.36, 0.00, 0.00, 0.00);
CreateObject(712, -2159.43, 202.39, 44.36, 0.00, 0.00, 0.00);
CreateObject(1468, -2210.66, 292.84, 71.60, 0.00, 0.00, 180.00);
CreateObject(1468, -2215.83, 292.84, 71.60, 0.00, 0.00, 180.00);
CreateObject(1468, -2208.05, 290.27, 71.60, 0.00, 0.00, 90.00);
CreateObject(1468, -2227.63, 292.89, 71.60, 0.00, 0.00, 0.00);
CreateObject(1468, -2231.13, 290.48, 71.60, 0.00, 0.00, 70.00);
CreateObject(1468, -2232.67, 285.55, 71.60, 0.00, 0.00, 76.00);
CreateObject(1468, -2233.69, 280.53, 71.60, 0.00, 0.00, 82.00);
CreateObject(1468, -2234.17, 275.37, 71.60, 0.00, 0.00, 88.00);
CreateObject(1468, -2234.23, 270.20, 71.60, 0.00, 0.00, 90.00);
CreateObject(1468, -2234.22, 265.04, 71.60, 0.00, 0.00, 90.00);
CreateObject(1468, -2234.22, 259.88, 71.60, 0.00, 0.00, 90.00);
CreateObject(1468, -2234.24, 254.72, 71.60, 0.00, 0.00, 90.00);
CreateObject(1468, -2231.68, 252.12, 71.60, 0.00, 0.00, 180.00);
CreateObject(1468, -2226.52, 252.11, 71.60, 0.00, 0.00, 180.00);
CreateObject(1468, -2221.37, 252.06, 71.60, 0.00, 0.00, 180.00);
CreateObject(1468, -2216.22, 252.04, 71.60, 0.00, 0.00, 180.00);
CreateObject(1468, -2211.01, 252.05, 71.60, 0.00, 0.00, 180.00);
CreateObject(1468, -2208.36, 254.66, 71.60, 0.00, 0.00, -90.00);
CreateObject(1468, -2208.36, 259.83, 71.60, 0.00, 0.00, -90.00);
CreateObject(1468, -2208.04, 285.10, 71.60, 0.00, 0.00, 90.00);
CreateObject(1468, -2171.36, 258.44, 27.12, 0.00, 90.00, 0.00);
CreateObject(3526, -2185.24, 283.26, 70.50, 0.00, 0.00, 0.00);
CreateObject(3526, -2185.25, 263.28, 70.50, 0.00, 0.00, 0.00);
CreateObject(3526, -2204.48, 263.35, 70.50, 0.00, 0.00, 180.00);
CreateObject(3526, -2204.52, 283.33, 70.50, 0.00, 0.00, 180.00);
CreateObject(3526, -2232.13, 255.42, 70.48, 0.00, 0.00, 180.00);
CreateObject(3526, -2231.51, 277.00, 70.48, 0.00, 0.00, 180.00);
CreateObject(3526, -2211.71, 255.24, 70.48, 0.00, 0.00, 0.00);
CreateObject(3526, -2212.27, 277.00, 70.48, 0.00, 0.00, 0.00);
CreateObject(3526, -2242.53, 210.81, 34.25, 0.00, 0.00, 0.00);
CreateObject(3526, -2242.59, 199.55, 34.39, 0.00, 0.00, 0.00);
CreateObject(3526, -2208.03, 314.90, 34.39, 0.00, 0.00, 0.00);
CreateObject(3526, -2216.75, 314.84, 34.39, 0.00, 0.00, 180.00);
CreateObject(9897, -2210.96, 271.84, 36.10, 0.00, 0.00, 135.00);
CreateObject(1676, -2216.39, 321.28, 17.52, 0.00, 0.00, 90.00);
CreateObject(1676, -2216.25, 325.11, 17.52, 0.00, 0.00, 90.00);
CreateObject(939, -2212.62, 333.14, 18.34, 0.00, 0.00, 0.00);
CreateObject(1218, -2198.52, 333.62, 16.44, 0.00, 0.00, 0.00);
CreateObject(1218, -2199.54, 333.52, 16.44, 0.00, 0.00, 0.00);
CreateObject(1218, -2198.53, 332.45, 16.44, 0.00, 0.00, 0.00);
CreateObject(1218, -2198.53, 332.99, 17.52, 0.00, 0.00, 0.00);
CreateObject(939, -2216.27, 329.53, 18.34, 0.00, 0.00, 90.00);
CreateObject(937, -2198.58, 330.79, 16.43, 0.00, 0.00, 90.00);
CreateObject(941, -2198.62, 328.07, 16.47, 0.00, 0.00, 90.00);
CreateObject(2063, -2201.33, 333.86, 16.82, 0.00, 0.00, 0.00);
CreateObject(2063, -2201.33, 333.86, 18.60, 0.00, 0.00, 0.00);
CreateObject(1221, -2203.68, 333.84, 16.92, 0.00, 0.00, 0.00);
CreateObject(1219, -2204.45, 332.93, 16.24, 0.00, 0.00, 0.00);
CreateObject(1221, -2204.75, 333.86, 16.92, 0.00, 0.00, 0.00);
CreateObject(1221, -2203.68, 332.68, 16.92, 0.00, 0.00, 0.00);
CreateObject(1221, -2204.78, 332.73, 16.92, 0.00, 0.00, 0.00);
CreateObject(1221, -2204.23, 333.89, 17.82, 0.00, 0.00, 0.00);
CreateObject(1438, -2199.11, 319.40, 15.98, 0.00, 0.00, -90.00);
CreateObject(1327, -2197.97, 322.43, 16.87, 0.00, 0.00, 0.00);
CreateObject(1338, -2198.84, 324.77, 16.69, 0.00, 0.00, 0.00);
CreateObject(928, -2198.40, 328.97, 17.20, 0.00, 0.00, 0.00);
CreateObject(3666, -2199.69, 316.71, 15.97, 0.00, 0.00, 0.00);
CreateObject(3666, -2215.68, 316.73, 15.97, 0.00, 0.00, 0.00);
CreateObject(3265, -2217.51, 315.28, 34.09, 0.00, 0.00, 180.00);
CreateObject(3265, -2217.92, 214.77, 29.18, 0.00, 0.00, -30.00);
CreateObject(3265, -2225.91, 219.37, 29.18, 0.00, 0.00, -30.00);
CreateObject(7981, -2197.45, 296.14, 60.39, 0.00, 0.00, 0.00);
CreateObject(1682, -2192.72, 297.72, 71.76, 0.00, 0.00, 0.00);
CreateObject(10183, -2208.33, 229.50, 34.17, 0.00, 0.00, -45.00);
CreateObject(925, -2207.76, 333.37, 17.04, 0.00, 0.00, 0.00);
CreateObject(3578, -2229.17, 311.91, 16.19, 0.00, 0.00, 90.00);
CreateObject(3578, -2226.79, 311.77, 16.19, 0.00, 0.00, 90.00);
CreateObject(3578, -2222.09, 311.77, 16.19, 0.00, 0.00, 90.00);
CreateObject(3578, -2224.34, 311.77, 16.19, 0.00, 0.00, 90.00);
CreateObject(6959, -2251.00, 283.95, 34.19, 0.00, 0.00, 0.00);
CreateObject(19371, -2238.22, 305.54, 34.07, 0.00, 90.00, 0.00);
CreateObject(19371, -2238.22, 308.76, 34.07, 0.00, 90.00, 0.00);
CreateObject(19371, -2234.73, 308.73, 34.07, 0.00, 90.00, 0.00);
CreateObject(19371, -2234.73, 305.54, 34.07, 0.00, 90.00, 0.00);
CreateObject(6959, -2205.48, 273.96, 34.19, 0.00, 0.00, 0.00);
CreateObject(14594, -2204.13, 260.86, 0.00, 0.00, 0.00, -90.00);
CreateObject(2009, -2202.41, 265.11, 0.00, 0.00, 0.00, 0.00);
CreateObject(1533, -2216.44, 249.60, 0.00, 0.00, 0.00, 90.00);
CreateObject(1533, -2216.44, 251.10, 0.00, 0.00, 0.00, 90.00);
CreateObject(1533, -2204.13, 288.28, 0.00, 0.00, 0.00, 0.00);
CreateObject(1533, -2205.64, 288.28, 0.00, 0.00, 0.00, 0.00);
CreateObject(1502, -2209.16, 285.29, 0.00, 0.00, 0.00, 90.00);
CreateObject(1502, -2217.50, 278.19, 0.00, 0.00, 0.00, 90.00);
CreateObject(1502, -2187.19, 259.38, 0.00, 0.00, 0.00, 90.00);
CreateObject(1502, -2185.71, 247.41, 0.00, 0.00, 0.00, 0.00);
CreateObject(1502, -2197.19, 247.40, 0.00, 0.00, 0.00, 0.00);
CreateObject(1502, -2215.17, 247.42, 0.00, 0.00, 0.00, 0.00);
CreateObject(19371, -2192.48, 282.31, 1.66, 0.00, 0.00, 90.00);
CreateObject(19371, -2192.48, 282.31, 5.16, 0.00, 0.00, 90.00);
CreateObject(1533, -2193.18, 282.17, 0.00, 0.00, 0.00, 0.00);
CreateObject(1999, -2202.39, 263.10, 0.00, 0.00, 0.00, 90.00);
CreateObject(1999, -2202.39, 260.16, 0.00, 0.00, 0.00, 90.00);
CreateObject(2009, -2201.40, 258.16, 0.00, 0.00, 0.00, 90.00);
CreateObject(2186, -2200.45, 266.03, 0.00, 0.00, 0.00, 0.00);
CreateObject(1806, -2201.41, 264.88, 0.00, 0.00, 0.00, 0.00);
CreateObject(1806, -2201.49, 263.60, 0.00, 0.00, 0.00, 55.00);
CreateObject(1806, -2201.28, 261.11, 0.00, 0.00, 0.00, 90.00);
CreateObject(1806, -2201.31, 259.15, 0.00, 0.00, 0.00, 90.00);
CreateObject(1776, -2218.08, 272.93, 1.12, 0.00, 0.00, -90.00);
CreateObject(12842, -2220.20, 251.57, 0.44, 0.00, 0.00, 0.00);
CreateObject(12842, -2227.10, 251.57, 0.44, 0.00, 0.00, 0.00);
CreateObject(12842, -2227.10, 258.69, 0.44, 0.00, 0.00, 0.00);
CreateObject(12842, -2220.20, 258.69, 0.44, 0.00, 0.00, 0.00);
CreateObject(2438, -2223.85, 281.14, 1.42, 0.00, 0.00, 0.00);
CreateObject(2425, -2223.06, 277.85, 0.95, -0.02, 0.00, 180.00);
CreateObject(2453, -2228.73, 279.40, 1.28, 0.00, 0.00, 0.00);
CreateObject(2840, -2221.91, 261.37, 0.69, 0.00, 0.00, 0.00);
CreateObject(2838, -2218.48, 259.52, 0.68, 0.00, 0.00, 0.00);
CreateObject(2858, -2222.00, 254.21, 0.68, 0.00, 0.00, 0.00);
CreateObject(2859, -2228.88, 255.98, 0.68, 0.00, 0.00, 0.00);
CreateObject(1848, -2220.15, 280.94, 0.01, 0.00, 0.00, 0.00);
CreateObject(16151, -2225.31, 278.91, 0.33, 0.00, 0.00, 90.00);
CreateObject(1890, -2223.04, 269.01, 0.01, 0.00, 0.00, 0.00);
CreateObject(1890, -2226.03, 269.04, 0.01, 0.00, 0.00, 0.00);
CreateObject(1703, -2199.71, 245.09, 0.01, 0.00, 0.00, -90.00);
CreateObject(2001, -2199.52, 242.00, 0.01, 0.00, 0.00, 0.00);
CreateObject(1703, -2200.66, 242.06, 0.01, 0.00, 0.00, 180.00);
CreateObject(1817, -2202.27, 243.65, 0.01, 0.00, 0.00, 0.00);
CreateObject(1703, -2205.72, 242.06, 0.01, 0.00, 0.00, 180.00);
CreateObject(2001, -2208.62, 242.00, 0.01, 0.00, 0.00, 0.00);
CreateObject(1703, -2208.56, 243.28, 0.01, 0.00, 0.00, 90.00);
CreateObject(1817, -2207.24, 243.65, 0.01, 0.00, 0.00, 0.00);
CreateObject(2167, -2204.18, 241.45, 0.01, 0.00, 0.00, 180.00);
CreateObject(18051, -2185.00, 238.47, 1.52, 0.00, 0.00, 180.00);
CreateObject(2514, -2189.62, 233.00, 0.04, 0.00, 0.00, -90.00);
CreateObject(2514, -2189.62, 234.55, 0.04, 0.00, 0.00, -90.00);
CreateObject(2514, -2189.62, 236.03, 0.04, 0.00, 0.00, -90.00);
CreateObject(2514, -2189.62, 237.58, 0.04, 0.00, 0.00, -90.00);
CreateObject(2514, -2189.62, 239.08, 0.04, 0.00, 0.00, -90.00);
CreateObject(2514, -2189.62, 240.60, 0.04, 0.00, 0.00, -90.00);
CreateObject(2514, -2189.62, 241.99, 0.04, 0.00, 0.00, -90.00);
CreateObject(2514, -2189.62, 243.59, 0.04, 0.00, 0.00, -90.00);
CreateObject(2518, -2194.94, 246.44, 0.01, 0.00, 0.00, 0.00);
CreateObject(2741, -2193.85, 246.90, 1.46, 0.00, 0.00, 0.00);
CreateObject(2742, -2192.83, 246.80, 1.46, 0.00, 0.00, 0.00);
CreateObject(2520, -2196.91, 232.93, 0.01, 0.00, 0.00, 90.00);
CreateObject(2520, -2196.91, 234.12, 0.01, 0.00, 0.00, 90.00);
CreateObject(2520, -2196.91, 235.29, 0.01, 0.00, 0.00, 90.00);
CreateObject(2520, -2196.91, 236.48, 0.01, 0.00, 0.00, 90.00);
CreateObject(2520, -2196.91, 237.65, 0.01, 0.00, 0.00, 90.00);
CreateObject(2627, -2222.09, 234.14, 0.00, 0.00, 0.00, 180.00);
CreateObject(1985, -2222.14, 239.36, 3.62, 0.00, 0.00, 0.00);
CreateObject(1985, -2222.14, 241.97, 3.62, 0.00, 0.00, 0.00);
CreateObject(2627, -2220.82, 234.14, 0.00, 0.00, 0.00, 180.00);
CreateObject(2627, -2219.58, 234.14, 0.00, 0.00, 0.00, 180.00);
CreateObject(2627, -2218.31, 234.14, 0.00, 0.00, 0.00, 180.00);
CreateObject(2628, -2212.19, 234.05, -0.01, 0.00, 0.00, 180.00);
CreateObject(2628, -2213.66, 234.05, -0.01, 0.00, 0.00, 180.00);
CreateObject(2629, -2219.74, 245.85, 0.01, 0.00, 0.00, 0.00);
CreateObject(2629, -2217.77, 245.85, 0.01, 0.00, 0.00, 0.00);
CreateObject(2629, -2216.05, 245.85, 0.01, 0.00, 0.00, 0.00);
CreateObject(2630, -2211.94, 242.31, 0.01, 0.00, 0.00, -90.00);
CreateObject(2630, -2211.94, 240.55, 0.01, 0.00, 0.00, -90.00);
CreateObject(2630, -2211.94, 238.87, 0.01, 0.00, 0.00, -90.00);
CreateObject(2630, -2211.94, 243.95, 0.01, 0.00, 0.00, -90.00);
CreateObject(1613, -2199.12, 269.65, 3.00, 0.00, 0.00, 0.00);
CreateObject(2961, -2199.14, 259.68, 2.00, 0.00, 0.00, 90.00);
CreateObject(2964, -2227.57, 285.54, 0.01, 0.00, 0.00, 90.00);
CreateObject(2296, -2226.32, 291.67, 0.01, 0.00, 0.00, 90.00);
CreateObject(2099, -2219.15, 282.50, 0.02, 0.00, 0.00, 180.00);
CreateObject(2229, -2220.64, 282.56, 0.01, 0.00, 0.00, 180.00);
CreateObject(2229, -2218.33, 282.56, 0.01, 0.00, 0.00, 180.00);
CreateObject(1703, -2222.49, 295.34, 0.01, 0.00, 0.00, -90.00);
CreateObject(1703, -2222.49, 292.24, 0.01, 0.00, 0.00, -90.00);
CreateObject(1817, -2224.05, 292.17, 0.01, 0.00, 0.00, 90.00);
CreateObject(2603, -2210.74, 294.39, 0.41, 0.00, 0.00, 0.00);
CreateObject(2603, -2212.88, 294.39, 0.41, 0.00, 0.00, 0.00);
CreateObject(2603, -2215.13, 294.39, 0.41, 0.00, 0.00, 0.00);
CreateObject(2603, -2210.74, 289.73, 0.41, 0.00, 0.00, 0.00);
CreateObject(2603, -2212.88, 289.73, 0.41, 0.00, 0.00, 0.00);
CreateObject(2603, -2215.13, 289.73, 0.41, 0.00, 0.00, 0.00);
CreateObject(2690, -2209.74, 284.71, 1.57, 0.00, 0.00, -90.00);
CreateObject(2001, -2210.07, 282.88, 0.01, 0.00, 0.00, 0.00);
CreateObject(2162, -2214.89, 282.51, 0.01, 0.00, 0.00, 180.00);
CreateObject(2164, -2212.34, 282.50, 0.01, 0.00, 0.00, 180.00);
CreateObject(2001, -2222.18, 289.63, 0.01, 0.00, 0.00, 0.00);
CreateObject(2690, -2199.22, 256.68, 1.51, 0.00, 0.00, -90.00);
CreateObject(2690, -2197.85, 246.87, 1.69, 0.00, 0.00, 0.00);
CreateObject(2690, -2212.93, 246.76, 1.31, 0.00, 0.00, 0.00);
CreateObject(2690, -2186.36, 246.87, 1.15, 0.00, 0.00, 0.00);
CreateObject(2690, -2187.70, 261.53, 1.92, 0.00, 0.00, -90.00);
CreateObject(2165, -2193.85, 260.12, 0.00, 0.00, 0.00, -90.00);
CreateObject(2166, -2194.86, 262.09, 0.00, 0.00, 0.00, -90.00);
CreateObject(1806, -2194.84, 259.40, 0.01, 0.00, 0.00, -54.00);
CreateObject(1776, -2223.72, 283.00, 1.12, 0.00, 0.00, 180.00);
CreateObject(2002, -2218.17, 295.10, 0.01, 0.00, 0.00, 0.00);
CreateObject(2002, -2218.17, 271.16, 0.01, 0.00, 0.00, -90.00);
CreateObject(2002, -2199.62, 269.03, 0.01, 0.00, 0.00, -90.00);
CreateObject(1722, -2192.25, 261.55, 0.01, 0.00, 0.00, 127.00);
CreateObject(1722, -2192.36, 259.50, 0.01, 0.00, 0.00, 40.00);
CreateObject(2164, -2196.99, 259.17, 0.01, 0.00, 0.00, 90.00);
CreateObject(2186, -2195.12, 264.42, 0.01, 0.00, 0.00, 0.00);
CreateObject(2001, -2196.48, 264.43, 0.01, 0.00, 0.00, 0.00);
CreateObject(2167, -2196.97, 262.47, 0.11, 0.00, 0.00, 90.00);
CreateObject(2162, -2189.63, 264.81, 0.01, 0.00, 0.00, 0.00);
CreateObject(2164, -2187.62, 263.19, 0.01, 0.00, 0.00, -90.00);
CreateObject(2166, -2180.91, 243.43, 0.01, 0.00, 0.00, 90.00);
CreateObject(2165, -2181.89, 245.41, 0.01, 0.00, 0.00, 90.00);
CreateObject(1806, -2180.89, 246.14, 0.01, 0.00, 0.00, -229.00);
CreateObject(1722, -2183.47, 244.11, 0.01, 0.00, 0.00, -62.00);
CreateObject(1722, -2183.40, 245.94, 0.01, 0.00, 0.00, -135.00);
CreateObject(2162, -2178.78, 246.39, 0.01, 0.00, 0.00, -90.00);
CreateObject(2167, -2178.71, 244.23, 0.01, 0.00, 0.00, -90.00);
CreateObject(2186, -2181.11, 239.67, 0.01, 0.00, 0.00, 180.00);
CreateObject(2001, -2179.22, 239.75, 0.01, 0.00, 0.00, 0.00);
CreateObject(2001, -2187.90, 239.63, 0.01, 0.00, 0.00, 0.00);
CreateObject(1703, -2185.05, 239.88, 0.00, 0.00, 0.00, 180.00);
CreateObject(1703, -2187.78, 240.66, 0.00, 0.00, 0.00, 90.00);
CreateObject(2164, -2188.38, 245.24, 0.04, 0.00, 0.00, 90.00);
CreateObject(2164, -2199.14, 262.73, 0.01, 0.00, 0.00, -90.00);
CreateObject(3934, -2221.70, 266.97, 70.42, 0.00, 0.00, 0.00);
CreateObject(2681, -2228.24, 281.37, 0.01, 0.00, 0.00, 180.00);
CreateObject(19371, -2229.55, 264.89, 34.07, 0.00, 90.00, 0.00);
CreateObject(6959, -2204.49, 286.00, 34.19, 0.00, 0.00, 0.00);
//Ces vйhicules servent d'exemples, ils ne peuvent кtre utiliser.
CreateVehicle(563, -2195.1147, 274.8811, 72.1400, 0.0000, -1, -1, 100);
CreateVehicle(417, -2221.7197, 267.2690, 71.4930, 0.0000, -1, -1, 100);
CreateVehicle(416, -2208.9497, 246.9590, 35.2385, 90.0000, -1, -1, 100);
CreateVehicle(416, -2209.0208, 241.9531, 35.2385, 90.0000, -1, -1, 100);
CreateVehicle(416, -2208.9326, 236.9256, 35.2385, 90.0000, -1, -1, 100);
CreateVehicle(416, -2208.9214, 232.1938, 35.2385, 90.0000, -1, -1, 100);
CreateVehicle(416, -2234.1824, 235.8797, 27.7672, -90.0000, -1, -1, 100);
CreateVehicle(416, -2234.1824, 240.4882, 27.7672, -90.0000, -1, -1, 100);
CreateVehicle(416, -2234.1824, 244.6383, 27.7672, -90.0000, -1, -1, 100);
CreateVehicle(416, -2234.1824, 249.1598, 27.7672, -90.0000, -1, -1, 100);
CreateVehicle(416, -2234.1824, 253.5576, 27.7672, -90.0000, -1, -1, 100);
CreateVehicle(416, -2234.1824, 257.7224, 27.7672, -90.0000, -1, -1, 100);
CreateVehicle(416, -2234.1824, 262.1976, 27.7672, -90.0000, -1, -1, 100);
CreateVehicle(416, -2234.1824, 266.7191, 27.7672, -90.0000, -1, -1, 100);
CreateVehicle(407, -2234.6353, 275.2816, 27.9061, -90.0000, -1, -1, 100);
CreateVehicle(407, -2234.6353, 279.5037, 27.9061, -90.0000, -1, -1, 100);
CreateVehicle(407, -2234.6353, 284.2318, 27.9061, -90.0000, -1, -1, 100);
CreateVehicle(407, -2234.6353, 288.4518, 27.9061, -90.0000, -1, -1, 100);
CreateVehicle(407, -2234.6353, 292.7195, 27.9061, -90.0000, -1, -1, 100);
CreateVehicle(407, -2234.6353, 297.2545, 27.9061, -90.0000, -1, -1, 100);
CreateVehicle(544, -2233.4219, 301.7087, 27.8632, -90.0000, -1, -1, 100);
CreateVehicle(544, -2233.4219, 306.0723, 27.8632, -90.0000, -1, -1, 100);
CreateVehicle(490, -2213.8481, 255.0711, 27.8033, 180.0000, -1, -1, 100);
CreateVehicle(490, -2209.4949, 255.0711, 27.8033, 180.0000, -1, -1, 100);
CreateVehicle(490, -2205.0671, 255.0711, 27.8033, 180.0000, -1, -1, 100);
CreateVehicle(490, -2200.8835, 255.0711, 27.8033, 180.0000, -1, -1, 100);
CreateVehicle(599, -2191.4731, 266.6539, 27.7977, -90.0000, -1, -1, 100);
CreateVehicle(599, -2191.4731, 271.1191, 27.7977, -90.0000, -1, -1, 100);
CreateVehicle(599, -2191.4731, 275.6167, 27.7977, -90.0000, -1, -1, 100);
CreateVehicle(599, -2191.4731, 279.8977, 27.7977, -90.0000, -1, -1, 100);
CreateVehicle(599, -2191.4731, 284.4618, 27.7977, -90.0000, -1, -1, 100);
CreateVehicle(599, -2191.4731, 288.7949, 27.7977, -90.0000, -1, -1, 100);
CreateVehicle(597, -2227.9741, 312.5920, 27.3459, 180.0000, -1, -1, 100);
CreateVehicle(597, -2223.4417, 312.5920, 27.3459, 180.0000, -1, -1, 100);
CreateVehicle(597, -2217.9939, 312.5920, 27.3459, 180.0000, -1, -1, 100);
CreateVehicle(597, -2213.7092, 312.5920, 27.3459, 180.0000, -1, -1, 100);
CreateVehicle(597, -2209.0371, 312.5920, 27.3459, 180.0000, -1, -1, 100);
CreateVehicle(597, -2204.1548, 312.5920, 27.3459, 180.0000, -1, -1, 100);
CreateVehicle(597, -2199.2732, 312.5920, 27.3459, 180.0000, -1, -1, 100);
CreateVehicle(597, -2194.4932, 312.5920, 27.3459, 180.0000, -1, -1, 100);
CreateVehicle(597, -2189.6685, 312.5920, 27.3459, 180.0000, -1, -1, 100);
CreateVehicle(573, -2165.3884, 237.6745, 28.2000, 0.0000, -1, -1, 100);
CreateVehicle(573, -2170.3926, 237.6745, 28.2000, 0.0000, -1, -1, 100);
CreateVehicle(573, -2175.3862, 237.6745, 28.2000, 0.0000, -1, -1, 100);
CreateVehicle(573, -2180.4980, 237.6745, 28.2000, 0.0000, -1, -1, 100);
CreateVehicle(573, -2185.1267, 237.6745, 28.2000, 0.0000, -1, -1, 100);
CreateVehicle(525, -2190.2966, 237.5796, 27.5045, 0.0000, -1, -1, 100);
CreateVehicle(525, -2195.2632, 237.5796, 27.5045, 0.0000, -1, -1, 100);
CreateVehicle(525, -2200.1216, 237.5796, 27.5045, 0.0000, -1, -1, 100);
CreateVehicle(552, -2205.1970, 237.7025, 27.2863, 0.0000, -1, -1, 100);
CreateVehicle(552, -2210.0125, 237.7025, 27.2863, 0.0000, -1, -1, 100);
CreateVehicle(472, -2223.2322, 311.5809, 17.2154, 180.0000, -1, -1, 100);
CreateVehicle(473, -2227.9993, 309.1410, 16.9354, 180.0000, -1, -1, 100);
CreateVehicle(473, -2227.9788, 313.9214, 16.9354, 180.0000, -1, -1, 100);
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
public OnPlayerConnect(playerid)
{
RemoveBuildingForPlayer(playerid, 11025, -2199.3281, 264.3281, 42.1953, 0.25);
RemoveBuildingForPlayer(playerid, 11060, -2169.2891, 208.0234, 34.2422, 0.25);
RemoveBuildingForPlayer(playerid, 11402, -2199.3281, 252.0078, 53.2500, 0.25);
RemoveBuildingForPlayer(playerid, 792, -2229.4688, 314.2500, 34.4375, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2241.8906, 213.4609, 34.3125, 0.25);
RemoveBuildingForPlayer(playerid, 792, -2229.5859, 202.5078, 34.4375, 0.25);
RemoveBuildingForPlayer(playerid, 956, -2229.1875, 286.4141, 34.7031, 0.25);
RemoveBuildingForPlayer(playerid, 1226, -2216.5391, 212.3750, 38.1875, 0.25);
RemoveBuildingForPlayer(playerid, 792, -2197.0547, 214.2656, 34.4375, 0.25);
RemoveBuildingForPlayer(playerid, 1226, -2176.8281, 204.2734, 38.1875, 0.25);
RemoveBuildingForPlayer(playerid, 11110, -2169.2891, 208.0234, 34.2422, 0.25);
RemoveBuildingForPlayer(playerid, 10973, -2199.3281, 264.3281, 42.1953, 0.25);
RemoveBuildingForPlayer(playerid, 10974, -2199.3281, 252.0078, 53.2500, 0.25);
RemoveBuildingForPlayer(playerid, 792, -2161.3828, 202.3203, 34.4063, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2156.7969, 203.2266, 34.3125, 0.25);
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if ( pickupid == entrer1 )
{
SetPlayerPos(playerid,-2203.8850,285.3800,1.0156);
}
if ( pickupid == entrer2 )
{
SetPlayerPos(playerid,-2213.5732,251.0563,1.0156);
}
if ( pickupid == entrer3 )
{
SetPlayerPos(playerid,-2236.3870,262.3225,35.1587);
}
if ( pickupid == entrer4 )
{
SetPlayerPos(playerid,-2209.9448,212.2157,39.4188);
}
if ( pickupid == toit1 )
{
SetPlayerPos(playerid,-2221.1956,285.0268,71.4181);
}
if ( pickupid == toit2 )
{
SetPlayerPos(playerid,-2206.9810,259.3881,1.0156);
}
if ( pickupid == etage0 )
{
SetPlayerPos(playerid,-2207.1133,264.8616,1.0156);
}
if ( pickupid == etage1 )
{
SetPlayerPos(playerid,-2207.1133,264.8616,1.0156);
}
if ( pickupid == etage2 )
{
SetPlayerPos(playerid,-2207.1133,264.8616,1.0156);
}
if ( pickupid == parking )
{
SetPlayerPos(playerid,-2196.7297,257.8498,35.1587);
}
if ( pickupid == parking2 )
{
SetPlayerPos(playerid,-2219.6108,284.1623,27.9716);
}
if ( pickupid == etage3 )
{
SetPlayerPos(playerid,-2219.2737,283.8754,17.2450);
}
return 1;
}
public PlayerToPoint(playerid, Float:radi, Float:x, Float:y, Float:z)
{
new Float:oldposx, Float:oldposy, Float:oldposz;
new Float:tempposx, Float:tempposy, Float:tempposz;
GetPlayerPos(playerid, oldposx, oldposy, oldposz);
tempposx = (oldposx -x);
tempposy = (oldposy -y);
tempposz = (oldposz -z);
if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
{
return 1;
}
return 0;
}