robbery
#1

i want to increase roobery loot about 20k or 30k
public countRobTime()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(playerData[i][playerLoggedIn])
{
if(playerData[i][playerRobTime] > 0)
{
if(playerData[i][playerStoreID] > 0)
{
if(IsPlayerInDynamicCP(i, playerData[i][playerCheckID]))
{
new pl = playerData[i][robberyFriend];
playerData[i][playerRobTime]--;
updatePlayerRobbingProgress(i, playerData[i][playerRobTime]);
if(IsPlayerConnected(pl))
{
if(playerData[pl][playerLoggedIn])
{
if(GetPlayerTargetActor(pl) != playerData[pl][targetActor])
{
updatePlayerRobbingProgress(pl, 0);
TextDrawHideForPlayer(pl, newRob);
HideProgressBarForPlayer(pl, playerData[pl][robbery]);
ClearActorAnimations(playerData[pl][targetActor]);
SendClientMessage(i, -1, "{B7B7B7}[SERVER] {FFFFFF}Robbery failed, your team is no longer aiming store actor.");
playerData[i][robberyFriend] = INVALID_PLAYER_ID;
forceRobberyCancel(i);
}
}
}

if(playerData[i][playerRobTime] == 0)
{
new moneyToGive, message2[328], playerName[24], currentStoreID, robberyBonus;
new randomNum = random(4);
if (randomNum != 0 || playerData[i][luckyCharm] || playerData[i][playerRobberies] < 5)
{
currentStoreID = playerData[i][playerStoreID] - 1;

if (playerData[i][playerBiggerPockets])
{
// $500 bonus
moneyToGive = randomEx(checkpointData[currentStoreID][lowestCash], checkpointData[currentStoreID][highestCash]);
robberyBonus = (moneyToGive / 2);
}
else
{
// No bonuses
moneyToGive = randomEx(checkpointData[currentStoreID][lowestCash], checkpointData[currentStoreID][highestCash]);
}

checkpointData[currentStoreID][lastRobbed] = GetTickCount();
checkpointData[currentStoreID][storeStatus] = 1;

playerData[i][playerRobTime] = -1;
playerData[i][playerRobberies]++;
playerGiveMoney(i, moneyToGive);
playerGiveMoney(i, robberyBonus);
GetPlayerName(i, playerName, sizeof(playerName));
ClearAnimations(i);
RemovePlayerAttachedObject(i, 0);
DestroyDynamicObject(playerData[i][playerSafeObj]);

if(IsPlayerConnected(pl))
{
if(playerData[pl][playerLoggedIn])
{
playerGiveMoney(pl, moneyToGive);
playerGiveMoney(pl, robberyBonus);
ClearActorAnimations(playerData[pl][targetActor]);
}
}

if (playerData[i][playerBiggerPockets])
{
// Has a bonus
format(message2, sizeof(message2), "{FF0000}[ROBBERY] {FFFFFF}%s(%i) robbed %s and received {FFDC2E}$%s {FFFFFF}({58D3F7}+$%s{FFFFFF})", playerName, i, checkpointData[currentStoreID][storeName], FormatNumber(moneyToGive), FormatNumber(robberyBonus));
if(IsPlayerConnected(pl))
{
if(playerData[pl][playerLoggedIn])
{
new plname[MAX_PLAYER_NAME];
GetPlayerName(pl, plname, MAX_PLAYER_NAME);
format(message2, sizeof(message2), "{FF0000}[ROBBERY] {FFFFFF}%s(%i) and %s(%i) robbed %s and received {FFDC2E}$%s {FFFFFF}({58D3F7}+$%s{FFFFFF})", playerName, i, plname, pl, checkpointData[currentStoreID][storeName], FormatNumber(moneyToGive * 2), FormatNumber(robberyBonus * 2));
}
}
}
else
{
// No bonus
format(message2, sizeof(message2), "{FF0000}[ROBBERY] {FFFFFF}%s(%i) robbed %s and received {FFDC2E}$%s {FFFFFF}", playerName, i, checkpointData[currentStoreID][storeName], FormatNumber(moneyToGive));
if(IsPlayerConnected(pl))
{
if(playerData[pl][playerLoggedIn])
{
new plname[MAX_PLAYER_NAME];
GetPlayerName(pl, plname, MAX_PLAYER_NAME);
format(message2, sizeof(message2), "{FF0000}[ROBBERY] {FFFFFF}%s(%i) and %s(%i) robbed %s and received {FFDC2E}$%s", playerName, i, plname, pl, checkpointData[currentStoreID][storeName], FormatNumber(moneyToGive * 2));
}
}
}

if (playerData[i][mask])
{
SendClientMessage(i, COLOR_WHITE, message2);
if(IsPlayerConnected(pl))
{
if(playerData[pl][playerLoggedIn])
{
SendClientMessage(pl, COLOR_WHITE, message2);
}
}
}
else
{
SendClientMessageToAll(COLOR_WHITE, message2);
}

givePlayerWanted(i, 6);
playerGiveXP(i, 20);
sendWantedMessage(i, 6);
playerData[i][playerScore] = playerData[i][playerScore] + 1;
SetPlayerScore(i, playerData[i][playerScore]);
TextDrawHideForPlayer(i, newRob);
newPlayerColour(i);

if(IsPlayerConnected(pl))
{
if(playerData[pl][playerLoggedIn])
{
givePlayerWanted(pl, 6);
playerGiveXP(pl, 20);
sendWantedMessage(pl, 6);
playerData[pl][playerScore] = playerData[pl][playerScore] + 1;
SetPlayerScore(pl, playerData[pl][playerScore]);
TextDrawHideForPlayer(pl, newRob);
newPlayerColour(pl);
}
}
if (playerData[i][playerRobberies] == 1)
{
disableAchieve(i);
PlayerTextDrawShow(i, playerData[i][Achieve1]);
PlayerTextDrawShow(i, playerData[i][Achieve2]);
PlayerTextDrawShow(i, playerData[i][Achieve3]);
PlayerTextDrawShow(i, playerData[i][Achieve4]);

PlayerTextDrawSetString(i, playerData[i][Achieve3], "Cat Burgler");
PlayerTextDrawSetString(i, playerData[i][Achieve4], "You robbed your first store!");
PlayerPlaySound(i, 1185 ,0.0, 0.0, 0.0);

playerData[i][achieveTimer] = SetTimerEx("disableAchieve", 6000, false, "i", i);

playerGiveXP(i, 50);
playerData[i][playerScore] = playerData[i][playerScore] + 2;
SetPlayerScore(i, playerData[i][playerScore]);
savePlayerStats(i);
}
else if (playerData[i][playerRobberies] == 50)
{
disableAchieve(i);
PlayerTextDrawShow(i, playerData[i][Achieve1]);
PlayerTextDrawShow(i, playerData[i][Achieve2]);
PlayerTextDrawShow(i, playerData[i][Achieve3]);
PlayerTextDrawShow(i, playerData[i][Achieve4]);

PlayerTextDrawSetString(i, playerData[i][Achieve3], "Established Thief");
PlayerTextDrawSetString(i, playerData[i][Achieve4], "You robbed 50 stores!");
PlayerPlaySound(i, 1183 ,0.0, 0.0, 0.0);

playerData[i][achieveTimer] = SetTimerEx("disableAchieve", 6000, false, "i", i);

playerGiveXP(i, 50);
playerData[i][playerScore] = playerData[i][playerScore] + 2;
SetPlayerScore(i, playerData[i][playerScore]);
savePlayerStats(i);
}
else if (playerData[i][playerRobberies] == 100)
{
disableAchieve(i);
PlayerTextDrawShow(i, playerData[i][Achieve1]);
PlayerTextDrawShow(i, playerData[i][Achieve2]);
PlayerTextDrawShow(i, playerData[i][Achieve3]);
PlayerTextDrawShow(i, playerData[i][Achieve4]);

PlayerTextDrawSetString(i, playerData[i][Achieve3], "Master Thief");
PlayerTextDrawSetString(i, playerData[i][Achieve4], "You robbed 100 stores!");
PlayerPlaySound(i, 1183 ,0.0, 0.0, 0.0);

playerData[i][achieveTimer] = SetTimerEx("disableAchieve", 6000, false, "i", i);

playerGiveXP(i, 50);
playerData[i][playerScore] = playerData[i][playerScore] + 2;
SetPlayerScore(i, playerData[i][playerScore]);
savePlayerStats(i);
}
else if (playerData[i][playerRobberies] == 200)
{
disableAchieve(i);
PlayerTextDrawShow(i, playerData[i][Achieve1]);
PlayerTextDrawShow(i, playerData[i][Achieve2]);
PlayerTextDrawShow(i, playerData[i][Achieve3]);
PlayerTextDrawShow(i, playerData[i][Achieve4]);

PlayerTextDrawSetString(i, playerData[i][Achieve3], "The Heist");
PlayerTextDrawSetString(i, playerData[i][Achieve4], "Lucky Charm unlocked!");
PlayerPlaySound(i, 1183 ,0.0, 0.0, 0.0);

playerData[i][achieveTimer] = SetTimerEx("disableAchieve", 6000, false, "i", i);

playerGiveXP(i, 50);
playerData[i][playerScore] = playerData[i][playerScore] + 2;
SetPlayerScore(i, playerData[i][playerScore]);
savePlayerStats(i);
}
playerData[i][robberyFriend] = INVALID_PLAYER_ID;
}
else
{
currentStoreID = playerData[i][playerStoreID] - 1;
moneyToGive = randomEx(checkpointData[currentStoreID][lowestCash], checkpointData[currentStoreID][highestCash]);

checkpointData[currentStoreID][lastRobbed] = GetTickCount();
checkpointData[currentStoreID][storeStatus] = 1;

playerData[i][playerRobTime] = -1;
playerData[i][playerRobberies]++;
GetPlayerName(i, playerName, sizeof(playerName));
ClearAnimations(i);
RemovePlayerAttachedObject(i, 0);
DestroyDynamicObject(playerData[i][playerSafeObj]);

format(message2, sizeof(message2), "{FF0000}[ROBBERY] {FFFFFF}%s(%i) attempted to rob %s and failed", playerName, i, checkpointData[currentStoreID][storeName]);
if(IsPlayerConnected(pl))
{
if(playerData[pl][playerLoggedIn])
{
new plname[MAX_PLAYER_NAME];
GetPlayerName(pl, plname, MAX_PLAYER_NAME);
format(message2, sizeof(message2), "{FF0000}[ROBBERY] {FFFFFF}%s(%i) and %s(%i) attempted to rob %s and failed", playerName, i, plname, pl, checkpointData[currentStoreID][storeName]);
givePlayerWanted(pl, 6);
sendWantedMessage(pl, 6);
TextDrawHideForPlayer(pl, newRob);
newPlayerColour(pl);
}
}

SendClientMessageToAll(COLOR_WHITE, message2);

// Add to player's wanted level
givePlayerWanted(i, 6);
sendWantedMessage(i, 6);
TextDrawHideForPlayer(i, newRob);
newPlayerColour(i);
playerData[i][robberyFriend] = INVALID_PLAYER_ID;
}
}
}
else
{
forceRobberyCancel(i);
}
}
Reply
#2

Change lowestCash, and highestCash inside checkpointData enum.
Next time, you can use [code] to post a code here.
Reply
#3

ok i find it change what i have to change in it

if(gtime == 0)
{
for(new i = 0; i < MAX_ROB_CHECKPOINT; i++)
{
if(checkpointData[i][storeOwner] != -1 && checkpointData[i][storeOwner] != 0)
{
new mny[10], File:file, fmt[56];
format(fmt, 256, "storeowner/%d.money", i);
checkpointData[i][storeMoney] += checkpointData[i][highestCash];
if(checkpointData[i][storeMoney] > 200000)
checkpointData[i][storeMoney] = 200000;
file = fopen(fmt, io_write);
format(mny, 10, "%d", checkpointData[i][storeMoney]);
fwrite(file, mny);
fclose(file);
}
}
}
return 1;
Reply
#4

As i see from those code, i'm guessing your script is CNRSF gamemode. If so, "checkpointdata" variable maybe declared inside robberyCheckpoints.inc
If not, use CTRL+F in your script editor to find it.
Reply
#5

Quote:
Originally Posted by X337
Посмотреть сообщение
As i see from those code, i'm guessing your script is CNRSF gamemode. If so, "checkpointdata" variable maybe declared inside robberyCheckpoints.inc
If not, use CTRL+F in your script editor to find it.
yes it is the code inside is
PHP код:
#define MAX_ROB_CHECKPOINT            (42)
forward placeAllCheckpoints();
enum robberyCheckpoints
{
    
storeID,
    
Float:enterpointLoc[3],
    
Float:exitpointLoc[3],
    
Float:robpointLoc[3],
    
storeStatus,
    
lowestCash,
    
highestCash,
    
virtualWorld,
    
interiorWorld,
    
storeName[25],
    
lastRobbed,
    
storePrice,
    
storeOwner,
    
Float:storeActorPos[4],
    
storeActorSkin,
    
storeActor,
    
storeMoney
}
new 
checkpointData[MAX_ROB_CHECKPOINT][robberyCheckpoints] =
{
    
/*
        - storeID        - this is the store ID, continue the pattern.
        - checkpointLoc    - x, y, z location for entering the interior (this is also the place the player ends up being after leaving the interior)
        - exitpointLoc     - x, y, z location for leaving the interior (this is also the place the player ends up being after entering the interior)
        - robpointLoc    - x, y, z location for the actual robbery checkpoint
        - storeStatus     - leave it at 1, server will modify this on the fly.
        - lowestCash     - certain interiors will give more than others, this is how you define the lowest amount that store will ever produce from a robbery.
        - highestCash     - same as above, just this is the highest amount.
        - virtualWorld    - this tells the server which world to throw you in, this is so you only get player markers of people who are in the same store as you.
        - interiorWorld    - this tells the server which interior to put you in.
        - storeName        - this defines the name of the store for the text labels, and robbery reports "Jake has robbed Cluckin' Bell" etc.
        - lastRobbed    - this tells the server when the store was last robbed.
        - storePrice    - store price
        - storeOwner    - (-1 for manual load / 0 for "CZCNR Server")
    */
    
{1, {-1474.80711488.87688.2501}, {-794.9675490.18111376.1953}, {-788.3607497.51671371.7422}, 14000800031"Liberty city inside"010000000, -1, {-782.329528498.3195801371.7490232.251684}, 172},
    {
2, {-1808.0221945.416724.8906}, {372.3125, -132.89161001.4922}, {376.9215, -115.48631001.4922}, 11000200045"Well Stacked Pizza"02000000, -1, {374.696685, -117.2763511001.492187177.022628}, 155},
    {
3, {-1809.8201902.848124.8906}, {207.6829, -110.65151005.1328}, {207.5093, -101.35141005.2578}, 110002000515"Binco Clothing"02000000, -1, {208.833709, -98.6980051005.257812177.075088}, 211},
    {
4, {-1912.1155828.289635.2092}, {363.4346, -74.65861001.5078}, {378.0959, -59.77601001.5078}, 110002000610"Burger Shot"02000000, -1, {376.522827, -65.8162071001.507812180.815185}, 205},
    {
5, {-2356.57691008.086750.8984}, {363.4346, -74.65861001.5078}, {378.0959, -59.77601001.5078}, 110002000710"Burger Shot"02000000, -1, {376.519958, -65.8438791001.507812179.558975}, 205},
    {
6, {-2374.5620910.098645.4453}, {207.6829, -110.65151005.1328}, {207.5093, -101.35141005.2578}, 110002000815"Binco Clothing"02000000, -1, {208.861343, -98.7043451005.257812180.398117}, 211},
    {
7, {-2419.5413969.809545.2969}, {-31.0479, -91.40851003.5469}, {-27.9818, -89.75121003.5469}, 110002000918"24/7"02000000, -1, {-26.949274, -91.6198731003.546875352.283081}, 169},
    {
8, {-2242.4927128.644435.3203}, {-2239.8569137.26011035.4141}, {-2221.7893134.71481035.6328}, 110002000106"Zero's RC Shop"02000000, -1, {-2238.027099128.5677331035.414062357.905670}, 289},
    {
9, {-2269.7893, -155.930335.3203}, {774.2042, -49.74281000.5859}, {767.6898, -22.92671000.5859}, 110002000116"San Fierro Gym"02000000, -1, {770.653015, -23.0008751000.58593789.111244}, 203},
    {
10, {-2026.6393, -101.406535.1641}, {-2026.8571, -104.07331035.1719}, {-2031.8470, -117.42751035.1719}, 110002000123"Driving School"02000000, -1, {-2034.843505, -116.8260491035.171875262.945922}, 147},
    {
11, {-2571.1897246.544510.3081}, {411.6910, -22.86691001.8047}, {414.4622, -10.77961001.8120}, 110002000132"Barber Shop"02000000, -1, {413.963409, -15.6735011001.80468794.832908}, 156},
    {
12, {-2625.8931208.52654.6150}, {315.7365, -143.0907999.6016}, {313.5016, -134.0640999.6016}, 110003000147"Ammunation"03500000, -1, {307.659606, -143.096420999.601562355.796386}, 179},
    {
13, {-2767.4424788.806252.7813}, {377.1708, -192.70611000.6401}, {381.0800, -188.21981000.6328}, 1100020001517"Donut Shop"02000000, -1, {380.661956, -186.0327751000.63281289.597389}, 223},
     {
14, {-1694.4790950.842224.8906}, {226.9353, -8.20481002.2109}, {204.5254, -8.31941001.2109}, 110002000165"Victim Clothing Store"02000000, -1, {206.485931, -8.1917091005.210937270.467468}, 211},
    {
15, {-1816.5928617.778135.1719}, {365.0151, -11.09581001.8516}, {369.7530, -7.68131001.8589}, 110002000179"Cluckin' Bell"02000000, -1, {368.122558, -4.4907531001.851562177.928573}, 167},
    {
16, {-1883.0643865.888435.1719}, {161.4177, -96.45331001.8047}, {161.5182, -78.55631001.8047}, 1100020001918"Zip Clothing Store"02000000, -1, {159.706726, -81.1853561001.811950180.781600}, 211},
    {
17, {-1721.79111359.65817.1853}, {372.3125, -132.89161001.4922}, {376.9215, -115.48631001.4922}, 11000200055"Well Stacked Pizza"02000000, -1, {374.695159, -117.2540891001.492187179.428009}, 155},
    {
18, {-2672.3210258.88064.6328}, {365.0151, -11.09581001.8516}, {369.7530, -7.68131001.8589}, 110002000209"Cluckin' Bell"02000000, -1, {370.863464, -4.4910761001.858886175.850357}, 167},
    {
19, {-2491.6086, -38.950325.7656}, {-204.3975, -8.69901002.2734}, {-201.7257, -4.80951002.2734}, 1100020002117"Tattoo Parlour"02000000, -1, {-204.353164, -5.1242051002.273437227.064208}, 180},
    {
20, {-2336.4358, -166.800635.5547}, {363.4346, -74.65861001.5078}, {378.0959, -59.77601001.5078}, 1100020002210"Burger Shot"02000000, -1, {376.494506, -65.8352961001.507812180.908065}, 205},
    {
21, {-1617.24231122.76927.1875}, {-27.4370, -57.71821003.5469}, {-23.2931, -55.12511003.5469}, 110002000236"24/7"02000000, -1, {-23.670997, -57.3400261003.546875353.511505}, 188},
    {
22, {-2128.6099707.172469.5625}, {-100.4073, -24.49751000.7188}, {-106.5551, -8.36331000.7188}, 110003000243"Sex Shop"03000000, -1, {-104.749305, -8.9131481000.718750176.996566}, 246},
    {
23, {-2442.6143754.822135.1719}, {2840.74442444.74731786.4811}, {2829.81322450.07471786.4811}, 1100020002790"Supa Save"02000000, -1, {2830.7260742455.9748531786.481079359.617950}, 141},
    {
24, {-1605.6772711.355013.8672}, {246.4087107.73461003.2188}, {2829.81322450.07471786.4811}, 1100020002510"SFPD"000, {0.00.9748530.4810790.617950}, 12},
    {
25, {-2491.3083, -29.024025.7656}, {203.8098, -49.93311001.8047}, {203.8152, -39.85911001.8047}, 110002000291"Suburban"02000000, -1, {203.220245, -41.6689521001.804687179.449630}, 211},
    {
26, {-2242.6484674.174549.4453}, {418.6246, -83.84331001.8047}, {418.3450, -75.44911001.8047}, 110002000303"Barber Shop"02000000, -1, {421.622009, -74.7853541001.804687137.658065}, 177},
    {
27, {-2551.1594193.71736.2271}, {493.4372, -24.13951000.6797}, {474.8086, -13.96341003.6953}, 1100020003117"Gaydar Station"02000000, -1, {476.092620, -15.3794061003.695312261.423431}, 257},
    {
28, {-1494.0299,920.0055,7.1875}, {2935.2236,-1803.4063,1191.0657}, {2942.4832,-1770.9304,1178.5847}, 12000180001440"San Fierro Bank"000, {2948.2803, -1801.87211191.065789.9012}, 150},
    {
29, {-1675.8157431.90647.1797}, {-31.0479, -91.40851003.5469}, {-27.9818, -89.75121003.5469}, 1100020003318"Gas Station"02000000, -1, {-26.941997, -91.6369781003.546875357.998565}, 216},
    {
30, {-2156.8938151.393335.3203}, {-100.4073, -24.49751000.7188}, {-106.5551, -8.36331000.7188}, 110002000343"Sex Shop"02000000, -1, {-104.807029, -8.9144631000.718750179.619979}, 178},
    {
31, {-2048.9309554.462335.1719}, {206.9717, -139.90561003.5078}, {207.1456, -130.03471003.5078}, 110002000353"Pro Laps"02000000, -1, {207.773345, -127.7962641003.507812180.623397}, 211},
    {
32, {-2177.4419, -42.277735.3125}, {501.9236, -68.1505998.7578}, {496.3597, -75.2304998.7578}, 1100060003611"10 Green Bottles"05000000, -1, {496.382354, -77.463447998.765075357.183166}, 100},
    {
33, {-2624.19461411.46567.0938}, {-2636.78001403.4661906.4609}, {-2666.46241426.7899906.4609}, 12000700033"Pleasure Dome"010000000, -1, {-2656.1701661413.959106906.2734371.049970}, 85},
    {
34, {-1758.00521083.577645.4453}, {363.4346, -74.65861001.5078}, {378.0959, -59.77601001.5078}, 1100030002310"Burger Shot"02000000, -1, {376.546112, -65.8464661001.507812175.564590}, 205},
    {
35, {-1731.31481084.016645.4453}, {161.4177, -96.45331001.8047}, {161.5182, -78.55631001.8047}, 1100030001818"Zip Clothing Store"02000000, -1, {162.780761, -81.1872321001.804687178.068008}, 211},
    {
36, {-1667.16601202.76457.2500}, {-644.37521595.68361027.5159}, {-651.51701598.46261027.5159}, 1100070001818"Otto's Autos"010000000, -1, {-651.0815421595.1951901028.285888269.724853}, 141},
    {
37, {-1670.6616903.587024.8906}, {-100.4073, -24.49751000.7188}, {-106.5551, -8.36331000.7188}, 110004000363"Underground Sex Shop"05000000, -1, {-104.765281, -8.9065941000.718750178.150604}, 246},
    {
38, {-1728.6647667.778025.0605}, {372.3125, -132.89161001.4922}, {376.9215, -115.48631001.4922}, 110002000195"Well Stacked Pizza"02000000, -1, {376.650207, -117.2653651001.492187178.661758}, 155},
    {
39, {-1728.6912685.905325.0627}, {203.8098, -49.93311001.8047}, {203.8152, -39.85911001.8047}, 110002000301"Suburban"02000000, -1, {204.947982, -41.3252411001.804687268.181304}, 211},
    {
40, {-1910.3787883.579335.1719}, {285.541687, -41.0573801001.515625}, {297.028228, -40.6145361001.515625}, 1200050001121"Ammunation"05000000, -1, {295.161499, -40.2156021001.515625357.909210}, 179},
    {
41, {-2129.2578,643.7931,52.3672}, {6.2483,-30.8078,1003.5494}, {-10.2011,-3.9657,1003.5494}, 1200050001210"24/7"05000000, -1, {451.374633, -82.223197999.554687172.244384}, 226},
    {
42, {-1987.9539,203.9813,27.6799}, {459.4670, -88.3607999.5547}, {449.1274, -80.8677999.5547}, 120007000134"lol xD"05000000, -1, { 451.396240, -82.224082999.554687175.564941}, 226}
    
//{45, {-2045.8406,-248.7906,35.3766}, {493.390991,-22.722799,1000.679687}, {487.7772,-2.4134,1002.3828}, 1, 2000, 7000, 14, 17, "ROFL Club", 0}
    /*{44, {-315.655334, 829.767700, 14.242187}, {285.759826, -86.183395, 1001.522888}, {295.144134, -84.230407, 1001.515625}, 1, 2000, 5000, 111, 4, "Fort Carson Ammunation", 0},
    {45, {-1910.3787, 883.5793, 35.1719}, {285.541687, -41.057380, 1001.515625}, {297.028228, -40.614536, 1001.515625}, 1, 2000, 5000, 112, 1, "Bone County Ammunation", 0},
    {46, {1158.354492, 2072.197753, 11.062500}, {363.428833, -74.612678, 1001.507812}, {379.466674, -59.718494, 1001.507812}, 1, 2000, 5000, 113, 10, "LV Burger Shot", 0},
    {47, {1658.586791, 2250.944091, 11.070102}, {1133.372924, -14.776949, 1000.679687}, {1134.328979, 7.094311, 1002.085937}, 1, 2000, 5000, 114, 12, "Redsands West Casino", 0},
    {48, {2195.685058, 1677.159423, 12.367187}, {2233.820556, 1714.131469, 1012.351684}, {2258.670898, 1577.963378, 1008.359375}, 1, 2000, 6000, 115, 1, "Caligula's Casino", 0},
    {49, {2351.880859, 2532.928955, 10.820312}, {372.413085, -132.987838, 1001.492187}, {376.667755, -114.979225, 1001.492187}, 1, 2000, 5000, 116, 5, "LV Pizza Stack", 0},
    {50, {2169.945068, 2795.867431, 10.820312}, {363.592285, -74.681259, 1001.507812}, {378.373199, -60.577957, 1001.507812}, 1, 2000, 5000, 117, 10, "Spinybed Burger Shot", 0},
    {51, {2472.408203, 2034.153564, 11.062500}, {363.672027, -74.500679, 1001.507812}, {379.001007, -59.799335, 1001.507812}, 1, 2000, 5000, 118, 10, "Old Venturas Burger Shot", 0},
    {52, {2452.529296, 2064.524902, 10.820312}, {459.687377, -88.427200, 999.554687}, {449.141021, -80.939079, 999.554687}, 1, 2000, 5000, 119, 4, "Las Venturas Cafe", 0},
    {53, {2393.291748, 2042.497680, 10.820312}, {364.918701, -11.332010, 1001.851562}, {370.635528, -4.160920, 1001.858886}, 1, 2000, 5000, 125, 9, "LV Cluckin Bell", 0},
    {54, {2546.448242, 1971.896362, 10.820312}, {-228.652557, 1401.175659, 27.765625}, {-219.683227, 1404.992553, 27.773437}, 1, 2000, 5000, 122, 18, "Las Venturas Bar", 0},
    {55, {2194.236572, 1991.201782, 12.296875}, {-228.457916, 1401.307373, 27.765625}, {-219.887207, 1405.368408, 27.773437}, 1, 2000, 5000, 123, 18, "Las Venturas Bar", 0},
    {56, {2019.966186, 1007.700744, 10.820312}, {2018.841308, 1017.981201, 996.875000}, {1953.180786, 1018.149963, 992.468750}, 1, 2000, 5000, 124, 10, "Four Dragons Casino", 0},
    {57, {2158.940185, 943.290039, 10.820312}, {316.386322, -169.615539, 999.601013}, {311.312255, -168.642013, 999.593750}, 1, 2000, 4000, 125, 6, "New Ammunation", 0,
    {58, {1872.924804, 2071.870117, 11.062500}, {363.322509, -74.695724, 1001.507812}, {379.079711, -60.342433, 1001.507812}, 1, 2000, 4000, 126, 10, "Burger Shot", 0},
    {59, {1968.715576, 2295.070556, 16.455863}, {773.888366, -78.122055, 1000.661743}, {759.677307, -76.118057, 1000.651245}, 1, 2000, 5000, 127, 7, "Below The Belt Gym", 0},
    {60, {2247.723144, 2396.677734, 10.820312}, {-228.750350, 1401.175659, 27.765625}, {-219.951858, 1404.719726, 27.773437}, 1, 2000, 4000, 128, 18, "Las Venturas Bar", 0},
    {61, {2375.519775, 2306.846435, 8.140625}, {1494.522094, 1303.955688, 1093.289062}, {1491.884643, 1306.430664, 1093.296386}, 1, 2000, 7000, 129, 3, "Bike School", 0},
    {62, {2366.409912, 2071.030517, 10.820312}, {363.311767, -74.728561, 1001.507812}, {379.527374, -60.328311, 1001.507812}, 1, 2000, 5000, 130, 10, "LV Burger Shot", 0},
    {63, {2094.721191, 2122.260498, 10.820312}, {-204.481613, -43.915931, 1002.273437}, {-203.757263, -41.008277, 1002.273437}, 1, 2000, 5000, 131, 3, "LV Tattoo Parlor", 0},
    {64, {1656.463256, 1733.217163, 10.828111}, {207.733306, -110.607978, 1005.132812}, {207.668243, -97.943222, 1005.257812}, 1, 2000, 6000, 132, 15, "LV Binco", 0},}
    {65, {2538.533935, 2083.906738, 10.820312}, {285.530059, -41.221454, 1001.515625}, {294.993896, -40.685474, 1001.515625}, 1, 2000, 6000, 133, 1, "Las Venturas Ammunation", 0},
    {66, {2420.386718, 2064.722656, 10.820312}, {-100.522171, -24.413837, 1000.718750}, {-106.359481, -8.404173, 1000.718750}, 1, 2000, 4000, 134, 3, "LV Sex Shop", 0},
    {67, {2506.947998, 2121.073242, 10.840000}, {1204.656860, -13.187541, 1000.921875}, {1220.555297, 7.694766, 1001.335632}, 1, 2000, 7000, 135, 2, "69 Bar", 0},
    {68, {2018.134033, 1919.831665, 12.341872}, {1133.160522, -14.668733, 1000.679687}, {1131.471313, 6.788091, 1002.085937}, 1, 2000, 5000, 136, 12, "The Visage Bar", 0},
    {69, {1961.423950, 2447.766357, 11.178249}, {-25.897472, -187.154968, 1003.546875}, {-28.532539, -184.522415, 1003.546875}, 1, 2000, 6000, 137, 17, "Las Venturas 24/7", 0},
    {70, {-254.382659, 2603.235107, 62.858154}, {2214.914306, -1150.658447, 1025.796875}, {2246.864257, -1161.518188, 1029.796875}, 1, 2000, 6000, 138, 15, "Biker Rest Area", 0},
    {71, {-553.198181, 2593.824707, 53.934780}, {964.591674, 2160.037353, 1011.030273}, {936.181091, 2161.832763, 1011.030273}, 1, 2000, 5000, 139, 1, "Drug Factory", 0},
    {72, {-857.356384, 1536.172363, 22.587043}, {-228.852706, 1401.287841, 27.765625}, {-219.969497, 1405.454833, 27.773437}, 1, 2000, 5000, 141, 18, "Smokin' Beef Bar", 0},
    {73, {2337.252441, 2458.982666, 14.974175}, {288.742004, 167.677017, 1007.171875}, {131.673690, -67.693008, 1.578125}, 1, 2000, 2000, 142, 3, "LVPD", 0},
    {74, {2178.745361, 1515.009033, 10.820312}, {1133.287231, -15.505493, 1000.679687}, {1121.363159, -2.031644, 1000.679687}, 1, 2000, 7000, 143, 12, "Royal Casino", 0},
    {75, {2271.009521, 2292.652099, 10.820312}, {2450.882324, 2376.613525, -39.367187}, {2472.304443, 2357.208007, -52.081687}, 1, 2000, 15000, 144, 69, "Las Venturas Bank", 0},
    {76, {-594.623046, 2018.885253, 60.538135}, {-959.635803, 1955.038940, 9.000000}, {-940.946960, 1910.111083, 5.000000}, 1, 2000, 6000, 145, 17, "The Sherman Dam", 0},
    {77, {2447.119384, 2376.291503, 12.163512}, {1874.812988, 2419.077636, 20.831604}, {1862.282348, 2406.707031, 20.831604}, 1, 2000, 6000, 146, 11, "Mayor Office", 0},
    {78, {2076.944580, 2096.833496, 11.057899}, {-100.377708, -24.583467, 1000.718750}, {-106.705589, -8.397650, 1000.718750}, 1, 2000, 5000, 147, 3, "LV Sex Shop", 0},
    {79, {2085.651123, 2074.023193, 11.054687}, {-100.290046, -24.689302, 1000.718750}, {-106.848617, -8.432016, 1000.718750}, 1, 2000, 5000, 148, 3, "LV Sex Shop", 0},
    {80, {2194.630126, 1978.272094, 12.289411}, {2841.196777, 2444.702880, 1786.481079}, {2829.689453, 2450.281494, 1786.481079}, 1, 2000, 5000, 149, 207, "The Supa", 0},
    {81, {2102.418945, 2257.505859, 11.023437}, {207.746490, -110.713943, 1005.132812}, {206.141464, -97.708976, 1005.257812}, 1, 2000, 5000, 150, 15, "Las Venturas Binco", 0},
    {82, {2097.581054, 2223.852783, 11.023437}, {-228.640060, 1401.050781, 27.765625}, {-219.969421, 1405.488891, 27.773437}, 1, 2000, 5000, 151, 18, "The Bar", 0},
    {83, {2090.474609, 2224.020507, 11.023437}, {161.433547, -96.476524, 1001.804687}, {161.422149, -79.029678, 1001.804687}, 1, 2000, 5000, 152, 18, "ZIP", 0},
    {84, {2083.411132, 2224.104980, 11.023437}, {372.278289, -132.903442, 1001.492187}, {376.229431, -115.430168, 1001.492187}, 1, 2000, 5000, 153, 5, "LV Pizza Stack", 0}*/
},
checkpointIndex[MAX_ROB_CHECKPOINT][3],
Text3D:checkpointLabel[MAX_ROB_CHECKPOINT][3][2];
forward loadMapIcons();
public 
loadMapIcons()
{
    
CreateDynamicMapIcon(-2177.4419, -42.277735.312549, -10, -1, -1500.0); // Icon for 10 green
    
CreateDynamicMapIcon(-2048.9309554.462335.171945, -10, -1, -1500.0); // Icon for prolaps
    
CreateDynamicMapIcon(-2336.4990, -167.128535.554710, -10, -1, -1500.0); // Icon for burgershot
    
CreateDynamicMapIcon(-2156.8938151.393335.320338, -10, -1, -1500.0); // Icon for sex shop 2
    
CreateDynamicMapIcon(-2624.19461411.46567.093821, -10, -1, -1500.0); // Icon for Pleasure Dome
    
CreateDynamicMapIcon(-1809.8201902.848124.890645, -10, -1, -1500.0); // Icon for Binco Clothing #1
    
CreateDynamicMapIcon(-2374.5620910.098645.445345, -10, -1, -1500.0); // Icon for Binco Clothing #2
    
CreateDynamicMapIcon(-2419.5413969.809545.296917, -10, -1, -1500.0); // Icon for 24/7 #1
    
CreateDynamicMapIcon(-2129.2578643.793152.367217, -10, -1, -1500.0); // Icon for 24/7 #1
    
CreateDynamicMapIcon(-2242.4927128.644435.320347, -10, -1, -1500.0); // Icon for Zero's RC Shop
    
CreateDynamicMapIcon(-2269.7893, -155.930335.320354, -10, -1, -1500.0); // Icon for San Fierro Gym
    
CreateDynamicMapIcon(-2026.6393, -101.406535.164155, -10, -1, -1500.0); // Icon for San Driving School
    
CreateDynamicMapIcon(-2767.4424788.806252.781317, -10, -1, -1500.0); // Icon for Donut Shop
    
CreateDynamicMapIcon(-1694.4790950.842224.890645, -10, -1, -1500.0); // Icon for Victim Clothing
    
CreateDynamicMapIcon(-1883.0643865.888435.171945, -10, -1, -1500.0); // Icon for Zip Clothing
    
CreateDynamicMapIcon(-1617.24231122.76927.187517, -10, -1, -1500.0); // Icon for 24/7 #2
    
CreateDynamicMapIcon(-2128.6099707.172469.562538, -10, -1, -1500.0); // Icon for Sex Shop
    
CreateDynamicMapIcon(-2242.4578674.209849.44537, -10, -1, -1500.0); // Icon for Random Store
    
CreateDynamicMapIcon(-2442.6143754.822135.171917, -10, -1, -1500.0); // Icon for Supa Save
    
CreateDynamicMapIcon(-1992.57211041.829055.712222, -10, -1, -1500.0); // Icon for Hospital
    
CreateDynamicMapIcon(-1782.9896572.390935.164162, -10, -1, -1500.0); // Icon for VIP Lounge
    
CreateDynamicMapIcon(-1816.6641617.744435.171914, -10, -1, -1500.0); // Icon for Cluckin' Bell
    
CreateDynamicMapIcon(-2551.1594193.71736.227148, -10, -1, -1500.0); // Icon for Gaydar Station
    
CreateDynamicMapIcon(-2625.8931208.52654.61506, -10, -1, -1500.0); // Icon for Ammunation
    
CreateDynamicMapIcon(-2672.3398258.56854.632814, -10, -1, -1500.0); // Icon for Cluckin' Bell
    
CreateDynamicMapIcon(-2765.8337375.60696.334756, -10, -1, -1500.0); // Icon for Town Hall
    
CreateDynamicMapIcon(-1605.6772711.355013.867230, -10, -1, -1500.0); // Icon for SFPD
    
CreateDynamicMapIcon(-1675.8157431.90647.179717, -10, -1, -1500.0); // Icon for gas station
    
CreateDynamicMapIcon(-1721.79191359.37217.185329, -10, -1, -1500.0); // Icon for gas station
    
CreateDynamicMapIcon(-1830.3862572.791435.164156, -10, -1, -1500.0); // Icon for gas station
    
CreateDynamicMapIcon(-1787.01141207.079725.12508, -10, -1, -1500.0); // Icon for bomb shop
    
CreateDynamicMapIcon(-1500.2130919.86797.187552, -10, -1, -1500.0); // Icon for bank
    
CreateDynamicMapIcon(-1838.5251146.540915.117242, -10, -1, -1500.0); // Icon for trucking
    
CreateDynamicMapIcon(-2036.52841196.717346.239519, -10, -1, -1500.0); // Icon for admin lounge
    
CreateDynamicMapIcon(-1912.1063828.368735.209610, -10, -1, -1500.0); // Icon for burger shot
    
CreateDynamicMapIcon(-1932.4017273.953341.039155, -10, -1, -1500.0); // Icon for dealership
    
CreateDynamicMapIcon(-1758.00521083.577645.445310, -10, -1, -1500.0); // Icon for burger shot
    
CreateDynamicMapIcon(-1731.31481084.016645.445345, -10, -1, -1500.0); // Icon for Zip Clothing
    
CreateDynamicMapIcon(-1859.78531406.22527.187542, -10, -1, -1500.0); // Icon for trucking
    
CreateDynamicMapIcon(-1885.1152826.846635.172856, -10, -1, -1500.0); // Icon for job centre
    
CreateDynamicMapIcon(-1728.6912685.905325.062745, -10, -1, -1500.0); // Icon for suburban
    
CreateDynamicMapIcon(-1728.6647667.778025.060529, -10, -1, -1500.0); // Icon for pizza stack
    
CreateDynamicMapIcon(-1670.6616903.587024.890638, -10, -1, -1500.0); // Icon for sex shop
    
CreateDynamicMapIcon(-1910.3787883.579335.17196, -10, -1, -1500.0); // Icon for Ammunation
    //CreateDynamicMapIcon(-1971.9155, 79.4928, 27.8843, 25, -1, 0, -1, -1, 500.0); //lab
    //CreateDynamicMapIcon(-2314.6426, 244.2912, 35.3333, 25, -1, 0, -1, -1, 500.0);
    
CreateDynamicMapIcon(-1467.50771488.55988.25019, -10, -1, -1500.0);
    
CreateDynamicMapIcon(-2129.4907, -209.023334.877824, -10, -1, -1500.0);
    
CreateDynamicMapIcon(-1987.9539,203.9813,27.679956, -10, -1, -1500.0); //lolxd
    //CreateDynamicMapIcon(-2045.8406,-248.7906,35.3766, 48, -1, 0, -1, -1, 500.0); //clubROFL
    /*CreateDynamicMapIcon(2296.293, 2461.46, 38.6875, 30, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2270.9761, 2293.8179, 10.8203, 52, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2127.5869, 2379.6211, 10.8203, 44, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2016.9768, 1916.4065, 12.3424, 44, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2196.957, 1677.1637, 12.3672, 25, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2019.3196, 1007.7487, 10.8203, 43, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2159.5405, 943.1776, 10.8203, 6, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2367.0552, 2071.0693, 10.8203, 10, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2393.2737, 2041.5657, 10.8203, 14, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2472.8655, 2034.1702, 11.0625, 10, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2452.5308, 2065.1902, 10.8203, 50, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2546.5271, 1972.6571, 10.8203, 50, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2412.5039, 1123.819, 10.8203, 30, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2194.939, 1990.9948, 12.2969, 50, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(1658.496, 2250.0437, 11.0701, 43, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(1607.3329, 1816.766, 10.8203, 22, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(1672.5485, 1447.8712, 10.7881, 5, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(1157.9246, 2072.2874, 11.0625, 10, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(937.0844, 1733.2168, 8.8516, 30, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(776.7208, 1871.436, 4.9068, 6, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(173.0402, 1177.1461, 14.7578, 14, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(-316.1609, 829.8887, 14.2422, 6, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(-1508.8851, 2610.7004, 55.8359, 6, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2169.4143, 2795.9263, 10.8203, 10, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(-1457.9816, 2589.9771, 55.9957, 52, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(-179.1975, 1133.1324, 19.7422, 52, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(-828.1474, 1504.5988, 19.8529, 52, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2351.8555, 2533.6199, 10.8203, 29, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2556.9512, 2065.373, 11.0995, 6, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(1735.7432, 1866.1516, 10.8203, 55, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2247.6702, 2396.1687, 10.8203, 50, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(1872.2554, 2071.885, 11.0625, 10, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(-1213.8292, 1830.3749, 41.9297, 14, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2447.6692, 2376.2556, 12.1635, 30, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(1968.7693, 2295.873, 16.4559, 54, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(966.2469, 2160.6836, 10.8203, 56, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(-2488.5205, 2295.3135, 4.9844, 56, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2375.5786, 2306.3044, 8.1406, 36, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(1976.0565, 2162.1646, 11.0703, 63, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(-1420.3623, 2583.739, 55.8433, 63, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(-99.9229, 1118.1846, 19.7417, 63, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2094.721191, 2122.260498, 10.820312, 39, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(1656.463256, 1733.217163, 10.828111, 45, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2420.386718, 2064.722656, 10.820312, 38, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2506.947998, 2121.073242, 10.840000, 21, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(-254.382659, 2603.235107, 62.858154, 62, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(-553.198181, 2593.824707, 53.934780, 62, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(-857.356384, 1536.172363, 22.587043, 62, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2178.745361, 1515.009033, 10.820312, 44, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(-594.623046, 2018.885253, 60.538135, 40, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2490.360107, 1864.421875, 10.820312, 8, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(1961.423950, 2447.766357, 11.178249, 17, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2076.944580, 2096.833496, 11.057899, 38, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2085.651123, 2074.023193, 11.054687, 38, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2194.630126, 1978.272094, 12.289411, 17, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2102.418945, 2257.505859, 11.023437, 45, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2097.581054, 2223.852783, 11.023437, 17, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2090.474609, 2224.020507, 11.023437, 45, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2083.411132, 2224.104980, 11.023437, 29, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2209.497802, 935.627258, 10.843019, 24, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(2015.3485, 1183.4327, 10.8203, 60, -1, 0, -1, -1, 500.0);
    CreateDynamicMapIcon(-1427.6036, -286.0584, 14.1484, 5, -1, 0, -1, -1, 500.0);//sf airport
    CreateDynamicMapIcon(1969.25671, 1722.71265, 10.71143, 56, -1, 0, -1, -1, 500.0);//atm lv
    CreateDynamicMapIcon(2195.41089, 961.21271, 10.96878, 56, -1, 0, -1, -1, 500.0);//atm lv
    CreateDynamicMapIcon(2486.87891, 1022.75305, 10.69436, 56, -1, 0, -1, -1, 500.0);//atm lv
    CreateDynamicMapIcon(2409.42529, 1543.84131, 10.71838, 56, -1, 0, -1, -1, 500.0);//atm lv
    CreateDynamicMapIcon(2293.27783, 1883.73120, 10.69659, 56, -1, 0, -1, -1, 500.0);//atm lv
    CreateDynamicMapIcon(2511.44580, 2062.79199, 10.70864, 56, -1, 0, -1, -1, 500.0);//atm lv
    CreateDynamicMapIcon(2182.51538, 2462.66919, 10.64280, 56, -1, 0, -1, -1, 500.0);//atm lv
    CreateDynamicMapIcon(2096.98071, 2711.66553, 10.65754, 56, -1, 0, -1, -1, 500.0);//atm lv
    CreateDynamicMapIcon(1705.71313, 1852.42419, 10.68405, 56, -1, 0, -1, -1, 500.0);//atm lv*/

Reply
#6

any help guys
Reply
#7

Quote:

/*
- storeID - this is the store ID, continue the pattern.
- checkpointLoc - x, y, z location for entering the interior (this is also the place the player ends up being after leaving the interior)
- exitpointLoc - x, y, z location for leaving the interior (this is also the place the player ends up being after entering the interior)
- robpointLoc - x, y, z location for the actual robbery checkpoint
- storeStatus - leave it at 1, server will modify this on the fly.
- lowestCash - certain interiors will give more than others, this is how you define the lowest amount that store will ever produce from a robbery.
- highestCash - same as above, just this is the highest amount.
- virtualWorld - this tells the server which world to throw you in, this is so you only get player markers of people who are in the same store as you.
- interiorWorld - this tells the server which interior to put you in.
- storeName - this defines the name of the store for the text labels, and robbery reports "Jake has robbed Cluckin' Bell" etc.
- lastRobbed - this tells the server when the store was last robbed.
- storePrice - store price
- storeOwner - (-1 for manual load / 0 for "CZCNR Server")
*/

That thing explains it pretty much.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)