07.01.2015, 00:55
F:\lvcnrr\gamemodes\LVCNR1(4).pwn(169) : error 018: initialization data exceeds declared size
F:\lvcnrr\gamemodes\LVCNR1(4).pwn(15289) : error 017: undefined symbol "checkpointIndex"
F:\lvcnrr\gamemodes\LVCNR1(4).pwn(15289) : warning 215: expression has no effect
F:\lvcnrr\gamemodes\LVCNR1(4).pwn(15289) : error 001: expected token: ";", but found "]"
F:\lvcnrr\gamemodes\LVCNR1(4).pwn(15289) : error 029: invalid expression, assumed zero
F:\lvcnrr\gamemodes\LVCNR1(4).pwn(15289) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
F:\lvcnrr\gamemodes\LVCNR1(4).pwn(15289) : error 017: undefined symbol "checkpointIndex"
F:\lvcnrr\gamemodes\LVCNR1(4).pwn(15289) : warning 215: expression has no effect
F:\lvcnrr\gamemodes\LVCNR1(4).pwn(15289) : error 001: expected token: ";", but found "]"
F:\lvcnrr\gamemodes\LVCNR1(4).pwn(15289) : error 029: invalid expression, assumed zero
F:\lvcnrr\gamemodes\LVCNR1(4).pwn(15289) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
pawn Код:
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
new message[128], tickCountResult = GetTickCount(), reducedValue;
if(!IsPlayerInAnyVehicle(playerid))
{
for(new i; i < MAX_ROB_CHECKPOINT; i++)
{
if(checkpointid == checkpointIndex[i][0]) // Thisisisisisisisisi
{
reducedValue = tickCountResult - playerCPtime[playerid];
if(reducedValue > 3000)
{
playerCPtime[playerid] = GetTickCount();
SetPlayerPos(playerid, checkpointData[i][exitpointLoc][0], checkpointData[i][exitpointLoc][1], checkpointData[i][exitpointLoc][2]);
SetPlayerInterior(playerid, checkpointData[i][interiorWorld]);
SetPlayerVirtualWorld(playerid, checkpointData[i][virtualWorld]);
lastEnteredID[playerid] = i;
}
}
//And then seee ittt
{1, {2019.4158,1007.6879,10.8203}, {2019.0691,1017.8607,996.8750}, {1952.6168,1039.4839,992.8594}, 1, 2000, 8000, 1, 10, "4 Dragons Casino", 0}, //Four Dragons
{2, {2227.1394,1837.1366,10.8203}, {221.3884,1810.1395,2001.0867}, {232.8971,1823.1140,2001.0887}, 1, 1000, 7000, 2, 5, "Clowns' Pockets", 0}, //Clowns' Pockets
{3, {2196.9663,1677.1306,12.3672}, {2233.9924,1714.6750,1012.3828}, {2152.9424,1599.2810,1006.1784}, 1, 2000, 9000, 6, 1, "Caligulas Casino", 0}, //Caligulas Casino
{4, {2194.8633,1991.0637,12.2969}, {-31.0124,-92.0109,1003.5469}, {-21.7558,-90.7759,1003.5469}, 1, 2000, 4000, 7, 17, "24/7", 0}, //24/7
{5, {2085.1201,2073.9355,11.0547}, {-100.3233,-25.0388,1000.7188}, {-105.4745,-8.6427,1000.7188}, 1, 2000, 4000, 8, 3, "Sex Shop", 0}, //Sex Shop
{6, {2094.7214,2122.8630,10.8203}, {-204.4267,-44.4020,1002.2734}, {-201.4843,-40.1860,1002.2734}, 1, 2000, 4500, 8, 3, "Tatto Parlour", 0}, //Tatto Parlour
{7, {2080.3555,2122.8577,10.8203}, {418.6407,-84.3587,1001.8047}, {418.6193,-75.5524,1001.8047}, 1, 2000, 4000, 16, 3, "Barber", 0}, //Barber
{8, {2224.9878,2522.8696,11.2222}, {1963.9492,-349.6305,1092.9454}, {1956.3756,-373.2999,1093.7289}, 1, 1500, 3000, 19, 1, "Church", 0}, //Church
{9, {1968.7388,2295.8733,16.4559}, {773.8405,-78.8361,1000.6628}, {758.4125,-75.9888,1000.6484}, 1, 1000, 3500, 20, 7, "Gym", 0}, //LV Gym
{10, {1937.8248,2307.2158,10.8203}, {-25.9433,-188.1893,1003.5469}, {-10.1060,-177.8195,1003.5469}, 1, 1300, 3500, 21, 17, "24/7", 0}, //24/7 near Gym
{11, {2169.4146,2795.9197,10.8203}, {362.8762,-75.1538,1001.5078}, {378.7856,-59.8341,1001.5078}, 1, 1000, 3500, 22, 10, "Burger Shot", 0}, //Spinybed Burger Shot
{12, {2447.6890,2376.2092,12.1635}, {1456.8580,-986.0427,996.1050}, {1435.5022,-974.8480,983.5342}, 1, 2000, 11000, 23, 10, "Las Venturas Bank", 0}, //Bank
{13, {1694.0564,2208.9199,11.0692}, {460.5569,-88.5976,999.5547}, {449.0758,-80.5166,999.5547}, 1, 1000, 4000, 24, 4, "Steakhouse", 0}, //Steakhouse
{14, {2159.5442,943.1652,10.8203}, {296.8485,-112.0704,1001.5156}, {288.5795,-103.9176,1001.5229}, 1, 1300, 4500, 25, 6, "Ammu-Nation", 0}, //Ammu-Nation
{15, {1157.9313,2072.2795,11.0625}, {362.9004,-75.1982,1001.5078}, {379.0156,-59.6213,1001.5078}, 1, 1300, 3000, 26, 10, "Burger Shot", 0}, //Whitewood Estates Burger Shot
{16, {2247.7041,2396.1680,10.8203}, {-25.9635,-188.2596,1003.5469}, {-10.7758,-177.6647,1003.5469}, 1, 1300, 3500, 27, 17, "24/7", 0}, //24/7 near PD
{17, {1872.7087,2071.7888,11.0625}, {362.8762,-75.1538,1001.5078}, {378.7856,-59.8341,1001.5078}, 1, 1000, 3700, 28, 10, "Burger Shot", 0}, //Redsans East Burger Shot
{18, {1658.5118,2250.2388,11.0701}, {1133.0883,-15.8315,1000.6797}, {1141.9746,2.0668,1000.6797}, 1, 2000, 5000, 29, 12, "Casino", 0}, //Casino
{19, {2083.2908,2224.7012,11.0234}, {372.3393,-133.5239,1001.4922}, {376.5401,-115.2720,1001.4922}, 1, 1000, 3700, 30, 5, "Well Stacked Pizza", 0}, //Well Stacked Pizza near The Emerald Isle
{20, {2090.4722,2224.7012,11.0234}, {161.3858,-97.1047,1001.8047}, {161.4138,-78.8775,1001.8047}, 1, 1000, 3000, 31, 18, "Zip", 0}, //Zip near The Emerald Isle
{21, {2097.6616,2224.7007,11.0234}, {-31.0124,-92.0109,1003.5469}, {-21.7558,-90.7759,1003.5469}, 1, 2000, 4000, 32, 17, "24/7", 0}, //24/7 near The Emerald Isle
{22, {2101.8960,2228.8403,11.0234}, {364.9505,-11.8171,1001.8516}, {369.1836,-4.2035,1001.8516}, 1, 2000, 3500, 33, 9, "Cluckin' Bell", 0}, //Cluckin' Bell near The Emerald Isle
{23, {2101.8931,2257.4180,11.0234}, {207.6115,-111.2646,1005.1328}, {206.9151,-98.0406,1005.2578}, 1, 1000, 3500, 34, 15, "Binco", 0}, //Binco near The Emerald Isle
{24, {2367.0576,2071.1216,10.8203}, {362.8762,-75.1538,1001.5078}, {378.7856,-59.8341,1001.5078}, 1, 1000, 3500, 35, 10, "Burger Shot", 0}, //OVS Burger Shot
{25, {2393.2573,2041.5623,10.8203}, {364.9505,-11.8171,1001.8516}, {369.1836,-4.2035,1001.8516}, 1, 2000, 3500, 36, 9, "Cluckin' Bell", 0}, //Cluckin' Bell near OVS
{26, {2441.1482,2065.4841,10.8203}, {501.9716,-67.5629,998.7578}, {497.8345,-78.1502,998.7651}, 1, 1000, 3500, 37, 11, "The Craw Bar", 0}, //The Craw Bar
{27, {2539.5430,2083.9448,10.8203}, {296.8485,-112.0704,1001.5156}, {288.5795,-103.9176,1001.5229}, 1, 1300, 4500, 38, 6, "Ammu-Nation", 0}, //Ammu-Nation
{28, {2472.8657,2034.2283,11.0625}, {362.8762,-75.1538,1001.5078}, {378.7856,-59.8341,1001.5078}, 1, 1000, 3500, 39, 10, "Burger Shot", 0}, //OVS Burger Shot 2
{29, {2546.5530,1972.3528,10.8203}, {-25.9635,-188.2596,1003.5469}, {-10.7758,-177.6647,1003.5469}, 1, 1200, 3500, 40, 17, "24/7", 0}, //24/7 near Starfish Casino
{30, {2572.0430,1904.9447,11.0234}, {161.3858,-97.1047,1001.8047}, {161.4138,-78.8775,1001.8047}, 1, 1000, 3000, 41, 18, "Zip", 0}, //Zip near Starfish Casino
{31, {2638.7883,1849.7966,11.0234}, {372.3393,-133.5239,1001.4922}, {376.5401,-115.2720,1001.4922}, 1, 1000, 3700, 42, 5, "Well Stacked Pizza", 0}, //Well Stacked Pizza near Starfish Casino
{32, {2638.4194,1672.0005,11.0234}, {364.9505,-11.8171,1001.8516}, {369.1836,-4.2035,1001.8516}, 1, 2000, 3500, 43, 9, "Cluckin' Bell", 0}, //Cluckin' Bell near Starfish Casino
{33, {2351.9041,2533.4934,10.8203}, {372.3393,-133.5239,1001.4922}, {376.5401,-115.2720,1001.4922}, 1, 1000, 3700, 44, 5, "Well Stacked Pizza", 0}, //Well Stacked Pizza near Roca Escalante // this is line 169
{34, {-1817.2532, 617.6090, 32.7799}, {364.9505,-11.8171,1001.8516}, {369.1836,-4.2035,1001.8516}, 1, 2000, 3500, 36, 9, "Cluckin' Bell", 0} //Cluckin' Bell
},
checkpointIndex[MAX_ROB_CHECKPOINT][3],
Text3D:checkpointLabel[MAX_ROB_CHECKPOINT][3][2];