22.07.2013, 11:30
I keep getting this warning:
My OnGameModeInit:
Код:
ssscanf warning: Unenclosed specifier parameters are deprecated, consider using something like p<,>
pawn Код:
public OnGameModeInit()
{
SetTimer("UpdateSpeed", 180, true);
SetTimer("ServerMessage", (1000000), 1);
// LSPD INT DOORS
LSPDdoor1 = CreateObject(1536, 253.0591, 107.4883, 1002.2159, 0.0, 0.0, 90.0);
LSPDdoor2 = CreateObject(1536, 253.0248, 110.4713, 1002.2159, 0.0, 0.0, 270.0);
LSPDdoor3 = CreateObject(1536, 239.7026, 119.0939, 1002.2154, 0.0, 0.0, 270.0);
LSPDdoor4 = CreateObject(1536, 239.7403, 116.1315, 1002.2154, 0.0, 0.0, 90.0);
// LOADING INFO
LoadHouses();
LoadMOTDs();
LoadDynamicDoors();
LoadBusiness();
LoadGarages();
LoadGates();
LoadDFU();
// removing marker shit
ShowPlayerMarkers(0);
// Door text labels - Pickups(for)
Create3DTextLabel("{FFFFFF}Insurance\n{EEE72A}(/buyinsurance to get insurance)", 0x008080FF, 1173.0682,-1320.7957,15.3968, 20.0, 0, 0);
Create3DTextLabel("{FFFFFF}Insurance\n{EEE72A}(/buyinsurance to get insurance)", 0x008080FF, 2034.5278,-1405.1096,17.2423, 20.0, 0, 0);
Create3DTextLabel("{FFFFFF}Materials Point\n{EEE72A}(/getmats to get materials)", 0x008080FF, 1424.4006,-1354.8746,13.5736, 20.0, 0, 0);
Create3DTextLabel("{FFFFFF}Arms Dealer Job\n{EEE72A}(/joinjob to be a Arms Dealer)", 0x008080FF, 1366.6293,-1268.5525,13.5469, 20.0, 0, 0);
Create3DTextLabel("{FFFFFF}Mechanic Job\n{EEE72A}(/joinjob to be a Mechanic)", 0x008080FF, 1229.4076,-1269.0873,13.5477, 15.0, 0, 0);
Create3DTextLabel("{FFFFFF}Materials Drop-off\n{EEE72A}(/delivermats to recieve your materials)", 0x008080FF, 2179.7886,-2263.6206,14.7734, 15.0, 0, 0);
Create3DTextLabel("{FFFFFF}Trucker Job\n{EEE72A}(/joinjob to be a Trucker)", 0x008080FF, 2441.7449,-2132.2417,17.2712, 10.0, 0, 0);
Create3DTextLabel("{FFFFFF}Trucker Load-up\n{EEE72A}(/transportgoods to get goods!)", 0x008080FF, 2458.6956,-2079.3833,13.5469, 10.0, 0, 0);
Create3DTextLabel("{FFFFFF}Trucker Delivery Point\n{EEE72A}(/delivergoods to recieve payment!)", 0x008080FF, 638.0516,-508.9352,16.3359,10.0, 0, 0);
Create3DTextLabel("{FFFFFF}Arrest Point\n{EEE72A}(/arrest to arrest the suspect)", 0x008080FF, 1525.2659,-1677.8910,5.8906,5.0, 0, 0);
Create3DTextLabel("{FFFFFF}VIP Locker\n{EEE72A}(/viplocker to access the locker)", 0x008080FF, 1779.4269, -1575.2034, 900.3774,5.0, 0, 0);
// Doors below, end of text labels
// Doors - Pickups
materialspoint[4] = CreatePickup(1239, 23, 1424.4006,-1354.8746,13.5736, -1);
armsdealerjob[5] = CreatePickup(1239, 23, 1366.6293,-1268.5525,13.5469, -1);
mechanicjob[5] = CreatePickup(1239, 23, 1229.4076,-1269.0873,13.5477, -1);
matsdropoff[6] = CreatePickup(1239, 23, 2179.7886,-2263.6206,14.7734, -1);
truckerjob[11] = CreatePickup(1239, 23, 2441.7449,-2132.2417,17.2712, -1);
// End of doors - Vehicles
// Trucker Job vehicles
TruckerVehicles[0] = AddStaticVehicleEx(414, 2476.8940,-2117.7888,13.3488, 0.0, 0, 1, VEHICLE_RESPAWN); // Truck
TruckerVehicles[1] = AddStaticVehicleEx(414, 2472.2693,-2117.6851,13.3488, 0.0, 0, 1, VEHICLE_RESPAWN); // Truck
TruckerVehicles[2] = AddStaticVehicleEx(414, 2466.7097,-2117.5601,13.3488, 0.0, 0, 1, VEHICLE_RESPAWN); /// Truck
TruckerVehicles[3] = AddStaticVehicleEx(414, 2453.7852,-2117.2698,13.3488, 0.0, 0, 1, VEHICLE_RESPAWN); /// Truck
TruckerVehicles[4] = AddStaticVehicleEx(414, 2448.3091,-2117.1467,13.3488, 0.0, 0, 1, VEHICLE_RESPAWN); // Truck
TruckerVehicles[5] = AddStaticVehicleEx(414, 2491.3760,-2118.1121,13.3489, 0.0, 0, 1, VEHICLE_RESPAWN); // Truck
TruckerVehicles[6] = AddStaticVehicleEx(414, 2496.1724,-2118.2200,13.3489, 0.0, 0, 1, VEHICLE_RESPAWN); // Truck
TruckerVehicles[7] = AddStaticVehicleEx(414, 2502.9534,-2118.3718,13.3489, 0.0, 0, 1, VEHICLE_RESPAWN); // Truck
TruckerVehicles[8] = AddStaticVehicleEx(414, 2514.9856,-2118.6418,13.3489, 0.0, 0, 1, VEHICLE_RESPAWN); // Truck
TruckerVehicles[9] = AddStaticVehicleEx(414, 2522.7886,-2118.8164,13.3489, 0.0, 0, 1, VEHICLE_RESPAWN); // Truck
// LSPD Vehicles
BankCashVehicles[0] = AddStaticVehicleEx(428, 1564.6780,-1710.9980,6.0165, 0.0, 8, 46, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[0] = AddStaticVehicleEx(596, 1601.795898, -1684.209350, 5.631327, 90.0, 0, 1, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[1] = AddStaticVehicleEx(596, 1601.790527, -1688.099243, 5.611071, 90.0, 0, 1, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[2] = AddStaticVehicleEx(596, 1601.790649, -1692.043945, 5.627151, 90.0, 0, 1, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[3] = AddStaticVehicleEx(596, 1601.790527, -1696.380981, 5.617440, 90.0, 0, 1, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[4] = AddStaticVehicleEx(596, 1601.790161, -1700.374267, 5.618237, 90.0, 0, 1, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[5] = AddStaticVehicleEx(596, 1601.791015, -1704.578247, 5.613302, 90.0, 0, 1, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[6] = AddStaticVehicleEx(596, 1595.375122, -1710.665039, 5.629010, 0.0, 0, 1, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[7] = AddStaticVehicleEx(596, 1591.266113, -1711.172851, 5.562825, 0.0, 0, 1, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[8] = AddStaticVehicleEx(596, 1587.176269, -1711.167724, 5.559627, 0.0, 0, 1, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[9] = AddStaticVehicleEx(596, 1583.157104, -1711.164550, 5.575726, 0.0, 0, 1, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[10] = AddStaticVehicleEx(596, 1578.746948, -1711.159790, 5.579936, 0.0, 0, 1, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[11] = AddStaticVehicleEx(596, 1574.747192, -1711.155517, 5.616508, 0.0, 0, 1, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[12] = AddStaticVehicleEx(596, 1570.507080, -1711.150390, 5.631289, 0.0, 0, 1, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[13] = AddStaticVehicleEx(525, 1545.363403, -1684.183715, 5.776185, 90.0, 0, 79, VEHICLE_RESPAWN); // Tow Truck
LSPDVehicles[14] = AddStaticVehicleEx(525, 1545.271606, -1680.033325, 5.789134, 90.0, 0, 79, VEHICLE_RESPAWN); // Tow Truck
LSPDVehicles[15] = AddStaticVehicleEx(525, 1545.206909, -1676.062377, 5.768874, 90.0, 0, 79, VEHICLE_RESPAWN); // Tow Truck
LSPDVehicles[16] = AddStaticVehicleEx(525, 1545.136840, -1671.935791, 5.796144, 90.0, 0, 79, VEHICLE_RESPAWN); // Tow Truck
LSPDVehicles[17] = AddStaticVehicleEx(525, 1545.113891, -1667.590332, 5.768740, 90.0, 0, 79, VEHICLE_RESPAWN); // Tow Truck
LSPDVehicles[18] = AddStaticVehicleEx(525, 1545.052978, -1663.159057, 5.769451, 90.0, 0, 79, VEHICLE_RESPAWN); // Tow Truck
LSPDVehicles[19] = AddStaticVehicleEx(528, 1539.080932, -1644.956298, 6.022599, 180.0, 0, 1, VEHICLE_RESPAWN); // FBI Truck
LSPDVehicles[20] = AddStaticVehicleEx(528, 1534.736694, -1644.953979, 6.025968, 180.0, 0, 1, VEHICLE_RESPAWN); // FBI Truck
LSPDVehicles[21] = AddStaticVehicleEx(601, 1530.765136, -1644.953735, 5.626488, 180.0, 0, 0, VEHICLE_RESPAWN); // S.W.A.T. Van
LSPDVehicles[22] = AddStaticVehicleEx(601, 1526.807250, -1644.952392, 5.685305, 180.0, 0, 0, VEHICLE_RESPAWN); // S.W.A.T. Van
LSPDVehicles[23] = AddStaticVehicleEx(523, 1586.753173, -1680.919067, 5.467967, 270.0, 0, 0, VEHICLE_RESPAWN); // HPV-1000
LSPDVehicles[24] = AddStaticVehicleEx(523, 1583.504272, -1680.935913, 5.456614, 270.0, 0, 0, VEHICLE_RESPAWN); // HPV-1000
LSPDVehicles[25] = AddStaticVehicleEx(523, 1583.508789, -1678.958862, 5.454283, 270.0, 0, 0, VEHICLE_RESPAWN); // HPV-1000
LSPDVehicles[26] = AddStaticVehicleEx(523, 1583.510498, -1677.093017, 5.481368, 270.0, 0, 0, VEHICLE_RESPAWN); // HPV-1000
LSPDVehicles[27] = AddStaticVehicleEx(523, 1583.519409, -1675.270629, 5.453042, 270.0, 0, 0, VEHICLE_RESPAWN); // HPV-1000
LSPDVehicles[28] = AddStaticVehicleEx(523, 1586.685302, -1678.958740, 5.490104, 270.0, 0, 0, VEHICLE_RESPAWN); // HPV-1000
LSPDVehicles[29] = AddStaticVehicleEx(523, 1586.702880, -1677.099365, 5.452620, 270.0, 0, 0, VEHICLE_RESPAWN); // HPV-1000
LSPDVehicles[30] = AddStaticVehicleEx(523, 1586.705566, -1675.270629, 5.434679, 270.0, 0, 0, VEHICLE_RESPAWN); // HPV-1000
LSPDVehicles[31] = AddStaticVehicleEx(599, 1585.306152, -1667.855957, 6.086935, 270.0, 0, 1, VEHICLE_RESPAWN); // Police Ranger
LSPDVehicles[32] = AddStaticVehicleEx(599, 1585.286010, -1671.934448, 6.118605, 270.0, 0, 1, VEHICLE_RESPAWN); // Police Ranger
LSPDVehicles[33] = AddStaticVehicleEx(427, 1544.986694, -1659.187500, 6.019245, 90.0, 0, 1, VEHICLE_RESPAWN); // Enforcer
LSPDVehicles[34] = AddStaticVehicleEx(427, 1544.987060, -1655.224243, 6.054365, 90.0, 0, 1, VEHICLE_RESPAWN); // Enforcer
LSPDVehicles[35] = AddStaticVehicleEx(427, 1544.987182, -1651.171020, 6.010422, 90.0, 0, 1, VEHICLE_RESPAWN); // Enforcer
LSPDVehicles[36] = AddStaticVehicleEx(599, 1558.675781, -1711.144897, 6.032533, 0.0, 0, 1, VEHICLE_RESPAWN); // Police Ranger
// Detectives
LSPDVehicles[37] = AddStaticVehicleEx(497,1569.1587,-1641.0361,28.5788,89.5537,0,1, VEHICLE_RESPAWN); // Maverick
LSPDVehicles[38] = AddStaticVehicleEx(497,1567.7852,-1710.9760,28.6107,90.9795,0,1, VEHICLE_RESPAWN); // Maverick
LSPDVehicles[39] = AddStaticVehicleEx(497,1549.1937,-1707.2985,28.5714,90.9819,0,1, VEHICLE_RESPAWN); // Maverick
LSPDVehicles[40] = AddStaticVehicleEx(497,1547.7992,-1643.6317,28.5923,91.2595,0,1, VEHICLE_RESPAWN); // Maverick
LSPDVehicles[41] = AddStaticVehicleEx(551,686.6260,-1571.0070,14.0447,179.8466,0,0, VEHICLE_RESPAWN); // DetHQ Merit
LSPDVehicles[42] = AddStaticVehicleEx(551,691.2723,-1570.9224,14.0427,179.7639,0,0, VEHICLE_RESPAWN); // DetHQ Merit
LSPDVehicles[43] = AddStaticVehicleEx(551,695.9762,-1571.0244,14.0429,178.9482,0,0, VEHICLE_RESPAWN); // DetHQ Merit
LSPDVehicles[44] = AddStaticVehicleEx(490,701.1321,-1570.7312,14.3707,178.9190,0,0, VEHICLE_RESPAWN); // DetHQ Rancher
LSPDVehicles[45] = AddStaticVehicleEx(596,686.4545,-1530.1440,14.5710,179.7704,0,1, VEHICLE_RESPAWN); // DetHQ Cruiser
LSPDVehicles[46] = AddStaticVehicleEx(596,686.3165,-1538.0665,14.5733,178.8539,0,1, VEHICLE_RESPAWN); // DetHQ Cruiser
LSPDVehicles[47] = AddStaticVehicleEx(596,672.5143,-1538.3750,14.5730,179.9648,0,1, VEHICLE_RESPAWN); // DetHQ Cruiser
LSPDVehicles[48] = AddStaticVehicleEx(596,669.0104,-1538.4214,14.5726,180.9618,0,1, VEHICLE_RESPAWN); // DetHQ Cruiser
LSPDVehicles[49] = AddStaticVehicleEx(596,678.7454,-1538.3799,14.5729,179.5551,0,1, VEHICLE_RESPAWN); // DetHQ Cruiser
LSPDVehicles[50] = AddStaticVehicleEx(490,685.6243,-1550.0826,14.9809,89.9892,0,0, VEHICLE_RESPAWN); // DetHQ Rancher
LSPDVehicles[51] = AddStaticVehicleEx(490,674.6499,-1549.9993,14.9790,88.9546,0,0, VEHICLE_RESPAWN); // DetHQ Rancher
LSPDVehicles[52] = AddStaticVehicleEx(490,664.0718,-1550.0337,14.9791,90.3095,0,0, VEHICLE_RESPAWN); // DetHQ Rancher
LSPDVehicles[53] = AddStaticVehicleEx(490,653.0613,-1550.0519,14.9800,90.5943,0,0, VEHICLE_RESPAWN); // DetHQ Rancher
LSPDVehicles[54] = AddStaticVehicleEx(497,691.8584,-1561.4351,18.1217,90.0907,0,0, VEHICLE_RESPAWN); // DetHQ Maverick
LSPDVehicles[55] = AddStaticVehicleEx(497,653.2834,-1568.6703,19.4531,179.3152,0,0, VEHICLE_RESPAWN); // DetHQ Maverick
LSPDVehicles[56] = AddStaticVehicleEx(430,712.2878,-1561.5061,-0.3203,176.7431,0,0, VEHICLE_RESPAWN); // DetHQ Predator
// VIP LOUNGE
CreateObject(19450, 1787.64, -1564.55, 900.90, 0.00, 0.00, 0.00);
CreateObject(19450, 1787.64, -1574.12, 900.90, 0.00, 0.00, 0.00);
CreateObject(19129, 1778.31, -1568.86, 899.11, 0.00, 0.00, 0.00);
CreateObject(19450, 1782.97, -1578.79, 900.90, 0.00, 0.00, 90.00);
CreateObject(1536, 1787.56, -1577.66, 899.18, 0.00, 0.00, 90.00);
CreateObject(1536, 1787.52, -1574.64, 899.18, 0.00, 0.00, 270.00);
CreateObject(626, 1787.33, -1578.35, 901.13, 0.00, 0.00, 0.00);
CreateObject(1536, 1783.56, -1578.71, 899.18, 0.00, 0.00, 0.00);
CreateObject(1536, 1786.56, -1578.68, 899.18, 0.00, 0.00, 180.00);
CreateObject(626, 1787.33, -1574.21, 901.13, 0.00, 0.00, 0.00);
CreateObject(626, 1783.21, -1578.30, 901.13, 0.00, 0.00, 0.00);
CreateObject(19450, 1786.69, -1573.10, 900.90, 0.00, 0.00, 90.00);
CreateObject(19450, 1778.11, -1574.01, 900.90, 0.00, 0.00, 0.00);
CreateObject(14782, 1778.55, -1575.25, 900.18, 0.00, 0.00, 90.00);
CreateObject(2001, 1778.49, -1571.80, 899.18, 0.00, 0.00, 0.00);
CreateObject(19450, 1773.26, -1574.38, 900.90, 0.00, 0.00, 90.00);
CreateObject(16151, 1773.22, -1573.26, 899.68, 0.00, 0.00, 270.00);
CreateObject(19450, 1768.51, -1569.76, 900.90, 0.00, 0.00, 0.00);
CreateObject(19450, 1768.51, -1560.15, 900.90, 0.00, 0.00, 0.00);
CreateObject(1726, 1769.28, -1562.91, 899.18, 0.00, 0.00, 90.00);
CreateObject(1726, 1772.38, -1563.92, 899.18, 0.00, 0.00, 180.00);
CreateObject(2024, 1770.90, -1562.42, 899.18, 0.00, 0.00, 0.00);
CreateObject(1726, 1770.37, -1559.88, 899.18, 0.00, 0.00, 0.00);
CreateObject(1726, 1785.93, -1572.44, 899.18, 0.00, 0.00, 180.00);
CreateObject(1726, 1782.99, -1571.20, 899.18, 0.00, 0.00, 90.00);
CreateObject(2024, 1785.45, -1570.69, 899.18, 0.00, 0.00, 90.00);
CreateObject(1726, 1786.93, -1569.21, 899.18, 0.00, 0.00, 270.00);
CreateObject(627, 1786.84, -1572.11, 901.07, 0.00, 0.00, 0.00);
CreateObject(19450, 1785.05, -1561.14, 900.90, 0.00, 0.00, 40.00);
CreateObject(19450, 1773.23, -1559.14, 900.90, 0.00, 0.00, 90.00);
CreateObject(19450, 1782.81, -1559.14, 900.90, 0.00, 0.00, 90.00);
CreateObject(1726, 1784.01, -1567.73, 899.18, 0.00, 0.00, 0.00);
CreateObject(1726, 1784.61, -1561.37, 899.18, 0.00, 0.00, -50.00);
CreateObject(2024, 1783.04, -1563.33, 899.18, 0.00, 0.00, -50.00);
CreateObject(5302, 1768.58, -1567.99, 900.15, 0.00, 0.00, 0.00);
CreateObject(19378, 1782.55, -1562.90, 902.67, 0.00, 90.00, 0.00);
CreateObject(19378, 1772.10, -1562.90, 902.67, 0.00, 90.00, 0.00);
CreateObject(19378, 1772.28, -1572.53, 902.67, 0.00, 90.00, 0.00);
CreateObject(19378, 1782.76, -1572.54, 902.67, 0.00, 90.00, 0.00);
CreateObject(19378, 1782.76, -1582.14, 902.66, 0.00, 90.00, 0.00);
// VIP HOUSING OBJECTS
// AVERAGE ONE FLOORED HOUSE
CreateDynamicObject(19379, -5.11, -12.34, 1198.59, 0.00, 90.00, 0.00);
CreateDynamicObject(19379, -5.11, -2.72, 1198.59, 0.00, 90.00, 0.00);
CreateDynamicObject(19453, 0.07, -2.76, 1200.43, 0.00, 0.00, 0.00);
CreateDynamicObject(19453, 0.06, -12.36, 1200.43, 0.00, 0.00, 0.00);
CreateDynamicObject(1536, 0.01, -3.40, 1198.66, 0.00, 0.00, 90.00);
CreateDynamicObject(1536, -0.03, -0.41, 1198.66, 0.00, 0.00, 270.00);
CreateDynamicObject(19453, -4.61, 1.46, 1200.43, 0.00, 0.00, 90.00);
CreateDynamicObject(19453, -9.25, -3.20, 1200.43, 0.00, 0.00, 0.00);
CreateDynamicObject(19453, -9.24, -12.83, 1200.43, 0.00, 0.00, 0.00);
CreateDynamicObject(19453, -4.62, -16.80, 1200.43, 0.00, 0.00, 90.00);
CreateDynamicObject(19453, -10.15, -13.47, 1200.43, 0.00, 0.00, 90.00);
CreateDynamicObject(19390, -5.42, -15.15, 1200.43, 0.00, 0.00, 0.00);
CreateDynamicObject(1502, -5.39, -15.89, 1198.67, 0.00, 0.00, 90.00);
CreateDynamicObject(19453, -7.98, -4.82, 1200.43, 0.00, 0.00, 90.00);
CreateDynamicObject(19453, -3.25, 3.28, 1200.43, 0.00, 0.00, 0.00);
CreateDynamicObject(19390, -3.25, -3.14, 1200.43, 0.00, 0.00, 0.00);
CreateDynamicObject(1502, -3.22, -3.89, 1198.66, 0.00, 0.00, 90.00);
CreateDynamicObject(19378, -5.19, -2.79, 1202.20, 0.00, 90.00, 0.00);
CreateDynamicObject(19378, -5.16, -12.38, 1202.20, 0.00, 90.00, 0.00);
// SCHOOL FOR TUTORIAL FAIL
CreateObject(19379, 1486.79, -1690.08, 1300.50, 0.00, 90.00, 0.00);
CreateObject(19379, 1486.79, -1680.54, 1300.50, 0.00, 90.00, 0.00);
CreateObject(19453, 1481.62, -1680.52, 1302.30, 0.05, 0.00, 0.00);
CreateObject(19453, 1486.43, -1675.73, 1302.30, 0.05, 0.00, 90.00);
CreateObject(19453, 1491.34, -1680.50, 1302.30, 0.05, 0.00, 0.00);
CreateObject(19453, 1486.45, -1685.26, 1302.30, 0.05, 0.00, 90.00);
CreateObject(14455, 1491.09, -1682.90, 1302.18, 0.00, 0.00, 90.00);
CreateObject(2205, 1483.28, -1682.94, 1300.58, 0.00, 0.00, 0.00);
CreateObject(2001, 1482.06, -1684.86, 1300.59, 0.00, 0.00, 0.00);
CreateObject(2205, 1487.86, -1682.94, 1300.58, 0.00, 0.00, 0.00);
CreateObject(2121, 1488.56, -1684.03, 1301.09, 0.00, 0.00, 180.00);
CreateObject(2121, 1484.02, -1683.91, 1301.09, 0.00, 0.00, 180.00);
CreateObject(2205, 1487.86, -1679.94, 1300.58, 0.00, 0.00, 0.00);
CreateObject(2205, 1483.28, -1679.94, 1300.58, 0.00, 0.00, 0.00);
CreateObject(2206, 1487.33, -1677.70, 1300.58, 0.00, 0.00, 180.00);
CreateObject(2121, 1484.02, -1680.94, 1301.09, 0.00, 0.00, 180.00);
CreateObject(2121, 1488.60, -1680.84, 1301.09, 0.00, 0.00, 180.00);
CreateObject(2894, 1483.90, -1680.13, 1301.52, 0.00, 0.00, 0.00);
CreateObject(2894, 1483.97, -1683.09, 1301.52, 0.00, 0.00, 0.00);
CreateObject(2894, 1488.61, -1683.11, 1301.52, 0.00, 0.00, 0.00);
CreateObject(2894, 1488.48, -1680.16, 1301.52, 0.00, 0.00, 0.00);
CreateObject(1846, 1486.45, -1674.86, 1302.54, 90.00, 0.00, 0.00);
CreateObject(1846, 1486.46, -1674.88, 1302.54, 90.00, 0.00, 0.00);
CreateObject(1846, 1486.46, -1674.94, 1302.54, 90.00, 0.00, 0.00);
CreateObject(1846, 1486.48, -1674.96, 1302.54, 90.00, 0.00, 0.00);
CreateObject(19378, 1486.79, -1680.54, 1304.04, 0.00, 90.00, 0.00);
CreateObject(1714, 1486.42, -1676.49, 1300.59, 0.00, 0.00, 0.00);
CreateObject(2894, 1486.16, -1677.53, 1301.52, 0.00, 0.00, 180.00);
CreateObject(2894, 1485.66, -1677.76, 1301.52, 0.00, 0.00, 130.00);
CreateObject(2894, 1486.97, -1677.62, 1301.52, 0.00, 0.00, -120.00);
CreateObject(2894, 1486.49, -1677.86, 1301.52, 0.00, 0.00, -150.00);
CreateObject(2200, 1482.31, -1675.92, 1300.58, 0.00, 0.00, 0.00);
CreateObject(2197, 1490.59, -1677.16, 1300.58, 0.00, 0.00, 0.00);
CreateObject(2197, 1489.91, -1677.16, 1300.58, 0.00, 0.00, 0.00);
CreateObject(2001, 1484.43, -1676.19, 1300.59, 0.00, 0.00, 0.00);
CreateObject(1536, 1484.96, -1685.39, 1300.59, 0.00, 0.00, 0.00);
CreateObject(1536, 1487.97, -1685.35, 1300.59, 0.00, 0.00, 180.00);
CreateObject(19453, 1490.05, -1690.03, 1302.30, 0.05, 0.00, 0.00);
CreateObject(19453, 1482.75, -1690.10, 1302.30, 0.05, 0.00, 0.00);
CreateObject(19453, 1486.30, -1692.05, 1302.30, 0.05, 0.00, 90.00);
CreateObject(626, 1489.48, -1685.94, 1302.59, 0.00, 0.00, 0.00);
CreateObject(626, 1489.67, -1691.49, 1302.59, 0.00, 0.00, 0.00);
CreateObject(626, 1483.58, -1691.49, 1302.59, 0.00, 0.00, 0.00);
CreateObject(626, 1483.62, -1685.85, 1302.59, 0.00, 0.00, 0.00);
CreateObject(1710, 1483.27, -1690.46, 1300.59, 0.00, 0.00, 90.00);
CreateObject(1710, 1489.46, -1686.86, 1300.59, 0.00, 0.00, 270.00);
CreateObject(1710, 1488.25, -1691.43, 1300.59, 0.00, 0.00, 180.00);
CreateObject(2024, 1485.92, -1688.92, 1300.59, 0.00, 0.00, 0.00);
CreateObject(19378, 1486.79, -1690.13, 1304.04, 0.00, 90.00, 0.00);
// END OF VIP HOUSING OBJECTS
//===============================STUNT DISABLE=====================================
EnableStuntBonusForAll(0);
//===============================DEALERSHIP=====================================
LoadHouses();
LoadMOTDs();
LoadDynamicDoors();
LoadVehicles();
LoadDealerships();
LoadFuelStations();
for(new i=1; i < MAX_DVEHICLES; i++)
{
UpdateVehicle(i, 0);
}
for(new i=1; i < MAX_DEALERSHIPS; i++)
{
UpdateDealership(i, 0);
}
for(new i=1; i < MAX_FUEL_STATIONS; i++)
{
UpdateFuelStation(i, 0);
}
SetTimer("MainTimer", 1000, true);
SetTimer("SaveTimer", 2222, true);
//==============================================================================
SetGameModeText("..");
gettime(ghour, gminute, gsecond);
FixHour(ghour);
ghour = shifthour;
if (realtime)
{
new tmphour;
new tmpminute;
new tmpsecond;
gettime(tmphour, tmpminute, tmpsecond);
FixHour(tmphour);
tmphour = shifthour;
SetWorldTime(tmphour);
}
DisableInteriorEnterExits();
//============================[Menus]===========================================
Paper = CreateMenu("Paper", 2, 200.0, 100.0, 150.0, 150.0);
AddMenuItem(Paper, 0, "Next Page");
AddMenuItem(Paper, 0, "How to get a license");
AddMenuItem(Paper, 0, "How to call a taxi");
AddMenuItem(Paper, 0, "Where to live");
AddMenuItem(Paper, 0, "Medic Help");
AddMenuItem(Paper, 0, "SAPD help");
AddMenuItem(Paper, 0, "OOC:Forums");
Paper2 = CreateMenu("Paper2", 2, 200.0, 100.0, 150.0, 150.0);
AddMenuItem(Paper2, 0, "Next Page");
AddMenuItem(Paper2, 0, "Garbage Collector");
AddMenuItem(Paper2, 0, "Taximeter");
AddMenuItem(Paper2, 0, "Fishing");
AddMenuItem(Paper2, 0, "Mechanic");
//================================[TIMERS]=========================================
SetTimer("SyncTime", 60000, 1);
SetTimer("ScoreUpdate", 1000, 1);
SetTimer("SetPlayerUnMute", 1000, 1);
SetTimer("newbietimer", 30000, 1);
//===============================[PICKUPS]==========================================
AddStaticPickup(1239, 23, 1707.8434,-2331.6506,-2.6797);
AddStaticPickup(1240, 23, 1173.112426, -1320.917602, 15.396226);
AddStaticPickup(1318, 23, 1172.914794, -1325.471313, 15.398929);
AddStaticPickup(1318, 23, 1482.534423, -1771.555541, 18.795755);
AddStaticPickup(1318, 23, 1555.134277, -1675.773071, 16.195312);
AddStaticPickup(1318, 23, 1565.185180, -1666.162963, 28.395606);
AddStaticPickup(1318, 23, 1653.883056, -1655.420898, 22.515625);
AddStaticPickup(1247, 23, 1525.285278, -1677.911865, 5.890625);
AddStaticPickup(1318, 23, 1568.560302, -1690.335815, 5.890625);
AddStaticPickup(1318, 23, 1727.056884, -1636.913208, 20.217334);
AddStaticPickup(1318, 23, 1797.998046, -1578.819091, 14.090865);
AddStaticPickup(1240, 23, 2034.583374, -1405.004516, 17.244943);
AddStaticPickup(1318, 23, 2233.053955, -1333.350463, 23.981575);
AddStaticPickup(1318, 23, 2232.929931, -1159.893554, 25.890625);
AddStaticPickup(1318, 23, 2351.947021, -1170.659545, 28.074401);
AddStaticPickup(1318, 23, 2421.583496, -1219.243041, 25.561477);
AddStaticPickup(1318, 23, 2166.275634, -1671.659545, 15.073946);
AddStaticPickup(1239, 23, 2165.229736, -1672.992187, 15.077716);
AddStaticPickup(1239, 23, 1666.597900, -1524.166992, 13.546875);
AddStaticPickup(1318, 23, 1667.901611, -1521.946777, 13.546875);
AddStaticPickup(1318, 23, 1568.028320, -1898.009155, 13.560886);
AddStaticPickup(1239, 23, 2162.161376, -102.522369, 2.750000);
//==============================[VEHICLES]==========================================
AddStaticVehicle(416,1177.8341,-1338.3657,14.0368,270.3866,1,3); // //Ambulance EMS Car 35
AddStaticVehicle(416,1176.9736,-1308.6931,14.0205,267.3689,1,3); // //Ambulance EMS Car 36
AddStaticVehicle(442,1146.2450,-1295.7229,13.4723,90.3940,1,3); // Hearse for EMS Car 37
AddStaticVehicle(489,1146.2805,-1302.9196,13.8021,88.5398,1,3); // Rancher for EMS Car 38
AddStaticVehicle(489,1146.2393,-1309.4309,13.8083,91.4548,1,3); // Rancher for EMS Car 39
AddStaticVehicle(442,1145.8127,-1316.3143,13.4507,92.9838,1,3); // Hearse for EMS Car 40
AddStaticVehicle(563,1162.4646,-1301.3418,32.2003,277.2430,1,3); // EMS Heli 41
AddStaticVehicle(563,1163.9746,-1318.8575,32.1941,271.8757,1,3); // EMS Heli 42
AddStaticVehicle(416,2037.2849,-1425.5010,17.1416,359.6898,1,3); // //County hospital ambulance Car 51
AddStaticVehicle(416,2007.9158,-1410.9948,17.1415,90.1937,1,3); // //County hospital ambulance Car 52
AddStaticVehicle(416,2001.8311,-1399.1924,18.3391,181.5330,1,3); // //County hospital ambulance Car 53
AddStaticVehicle(416,2033.9324,-1447.6057,17.3766,270.3489,1,3); // //County hospital ambulance Car 54
dmvc = AddStaticVehicle(405,2065.6416,-1904.0743,13.2667,180.2654,0,6); //
dmvc1 = AddStaticVehicle(405,2062.3501,-1904.1578,13.2682,180.9880,0,6); //
dmvc2 = AddStaticVehicle(405,2059.1780,-1904.2225,13.2669,178.9843,0,1); //
dmvc3 = AddStaticVehicle(405,2055.9702,-1904.0724,13.421,178.9843,0,1); //
dmvc4 = AddStaticVehicle(405,2052.5291,-1903.7775,13.4219,178.9843,0,1); //
dmvc5 = AddStaticVehicle(405,2062.2891,-1919.2926,13.4333,178.9843,0,1); //
UsePlayerPedAnims();
return 1;
}