Code:
This is defines xmas defines here
pClaim,
#define CHRISTMAS
#if defined CHRISTMAS
new InMG[MAX_PLAYERS];
#endif
Ok let's start with commandes
#if defined CHRISTMAS
CMD:joingame(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, 5.0, 1882.27, -1156.53, 24.78))
{
if(InMG[playerid] == 0)
{
new Float:ha;
GetPlayerHealth(playerid, ha);
SetPVarFloat(playerid, "MGHealth", ha);
GetPlayerArmour(playerid, ha);
SetPVarFloat(playerid, "MGArmour", ha);
SetPlayerHealth(playerid, 99999);
ResetPlayerWeapons(playerid);
TogglePlayerControllable(playerid, 0);
for(new o = 0; o < 6; o++)
{
TextDrawShowForPlayer(playerid, ObjectsLoadingTD[o]);
}
SetPVarInt(playerid, "LoadingObjects", 1);
SetTimerEx("SafeLoadObjects", 3000, 0, "d", playerid);
SetPlayerPos(playerid, 96.52, 530.55, 999.85);
SetPlayerInterior(playerid, 1);
InMG[playerid] = 1;
SCM(playerid, -1, "You have joined the Maze Minigame. You can exit the minigame at anytime (/exitgame).");
}
else SCM(playerid, COLOR_GREY, "You are already in Minigame.");
}
else SCM(playerid, COLOR_GREY, "You are not at any booth in Glen Park.");
return 1;
}
CMD:exitgame(playerid, params[])
{
if(InMG[playerid] == 1)
{
SetPlayerHealth(playerid, GetPVarFloat(playerid, "MGHealth"));
SetPlayerArmourEx(playerid, GetPVarFloat(playerid, "MGArmour"));
SetPlayerWeapons(playerid);
SetPlayerPos(playerid, 1882.27, -1156.53, 24.78);
SetPlayerInterior(playerid, 0);
InMG[playerid] = 0;
SCM(playerid, -1, "You have left the maze minigame.");
}
else return SCM(playerid, COLOR_GREY, "You are not in any minigame.");
return 1;
}
CMD:claimgift(playerid, params[])
{
if(InMG[playerid] == 1)
{
if(IsPlayerInRangeOfPoint(playerid, 5.0, 156.36, 748.59, 953.83))
{
if(PlayerInfo[playerid][pClaim] == 1)
{
PlayerInfo[playerid][pClaim] = 0;
InMG[playerid] = 0;
SetPlayerHealth(playerid, GetPVarFloat(playerid, "MGHealth"));
SetPlayerArmourEx(playerid, GetPVarFloat(playerid, "MGArmour"));
SetPlayerWeapons(playerid);
SetPlayerPos(playerid, 1882.27, -1156.53, 24.78);
SetPlayerInterior(playerid, 0);
new prize = random(5)+1;
if(prize == 1)
{
SCM(playerid, COLOR_YELLOW, "RANDOM PRIZE: SPAS-12 & Deagle");
GivePlayerValidWeapon(playerid, 27, 99999);
}
else if(prize == 2)
{
SCM(playerid, COLOR_YELLOW, "RANDOM PRIZE: Full-set weapon");
GivePlayerValidWeapon(playerid, 24, 99999);
GivePlayerValidWeapon(playerid, 27, 99999);
GivePlayerValidWeapon(playerid, 29, 99999);
GivePlayerValidWeapon(playerid, 31, 99999);
GivePlayerValidWeapon(playerid, 34, 99999);
}
else if(prize == 3)
{
SCM(playerid, COLOR_YELLOW, "RANDOM PRIZE: $100,000");
GivePlayerCash(playerid, 100000);
}
else if(prize == 4)
{
SCM(playerid, COLOR_YELLOW, "RANDOM PRIZE: 50,000 Materials");
PlayerInfo[playerid][pMats] += 50000;
}
else if(prize == 5)
{
SCM(playerid, COLOR_YELLOW, "RANDOM PRIZE: $50,000 Cash and 50,000 Materials");
PlayerInfo[playerid][pMats] += 50000;
GivePlayerCash(playerid, 50000);
}
TogglePlayerControllable(playerid, 0);
for(new o = 0; o < 6; o++)
{
TextDrawShowForPlayer(playerid, ObjectsLoadingTD[o]);
}
SetPVarInt(playerid, "LoadingObjects", 1);
SetTimerEx("SafeLoadObjects", 3000, 0, "d", playerid);
}
else return SCM(playerid, COLOR_GREY, "You already received your prize! Comeback again next paycheck.");
}
else return SCM(playerid, COLOR_GREY, "You are not at the finishing point!");
}
else return SCM(playerid, COLOR_GREY, "You are not in any booth.");
return 1;
}
#endif
#if defined CHRISTMAS
Create3DTextLabel("{FFFF00}Maze Minigame\n/joingame", -1, 1882.27, -1156.53, 24.78, 20.0, 0, 0);
Create3DTextLabel("{FFFF00}You have reached the end of Maze Minigame\nYou can /claimgift or /exitgame at anytime", -1, 156.36, 748.59, 953.83, 10.0, 0, 0);
Create3DTextLabel("{FFFF00}Fell down?\nPress 'Y' to go up", -1, 130.24, 751.72, 940.02, 5.0, 0, 0);
Create3DTextLabel("{FFFF00}Fell down?\nPress 'Y' to go up", -1, 109.19, 752.59, 940.02, 5.0, 0, 0);
Create3DTextLabel("{FFFF00}Fell down?\nPress 'Y' to go up", -1, 119.77, 750.97, 940.02, 5.0, 0, 0);
CreateObject(18759, 1902.31848, -1178.34290, 23.89430, 0.00000, -180.32001, -0.06000);
CreateObject(14394, 1876.19849, -1167.71033, 23.01660, 0.00000, 0.00000, 0.00000);
CreateObject(983, 1877.44019, -1174.81409, 24.35345, 0.00000, 0.00000, 0.00000);
CreateObject(983, 1877.44019, -1181.27197, 24.35340, 0.00000, 0.00000, 0.00000);
CreateObject(983, 1877.44019, -1187.67151, 24.35340, 0.00000, 0.00000, 0.00000);
CreateObject(983, 1877.44019, -1194.11755, 24.35340, 0.00000, 0.00000, 0.00000);
CreateObject(983, 1879.28796, -1199.95496, 24.35340, 0.00000, 0.00000, 36.29047);
CreateObject(983, 1885.84937, -1153.52148, 24.35340, 0.00000, 0.00000, 90.00000);
CreateObject(983, 1891.36206, -1203.23645, 24.35340, 0.00000, 0.00000, 90.00000);
CreateObject(983, 1897.76721, -1203.23645, 24.35340, 0.00000, 0.00000, 90.00000);
CreateObject(983, 1904.15405, -1203.23645, 24.35340, 0.00000, 0.00000, 90.00000);
CreateObject(983, 1910.55737, -1203.23645, 24.35340, 0.00000, 0.00000, 90.00000);
CreateObject(983, 1916.91968, -1203.23743, 24.35340, 0.00000, 0.00000, 90.00000);
CreateObject(983, 1922.00317, -1200.58167, 24.35340, 0.00000, 0.00000, -36.29050);
CreateObject(983, 1925.24866, -1196.33411, 24.35340, 0.00000, 0.00000, -36.29050);
CreateObject(983, 1879.97852, -1155.23047, 24.35340, 0.00000, 0.00000, 306.28363);
CreateObject(19129, 1913.70398, -1166.58118, 16.34620, 0.00000, -90.00000, -90.00000);
CreateObject(19129, 1891.69592, -1192.15491, 23.84445, 0.00000, 0.00000, 0.00000);
CreateObject(19129, 1891.64307, -1172.54187, 23.84445, 0.00000, 0.00000, 0.00000);
CreateObject(19129, 1924.46021, -1176.49988, 31.47200, 0.00000, -90.00000, 359.82349);
CreateObject(19129, 1913.59705, -1186.58203, 16.34620, 0.00000, -90.00000, 90.00000);
CreateObject(19129, 1903.72217, -1176.56519, 16.34620, 0.00000, -90.00000, 359.82346);
CreateObject(19379, 1919.09253, -1181.81091, 26.28790, 0.00000, -90.00000, 0.00000);
CreateObject(19379, 1908.77686, -1171.29285, 26.28790, 0.00000, -90.00000, 0.00000);
CreateObject(19379, 1919.26196, -1171.29285, 26.28790, 0.00000, -90.00000, 0.00000);
CreateObject(19379, 1919.06323, -1172.18445, 26.28790, 0.00000, -90.00000, 0.00000);
CreateObject(19379, 1171.29285, -1181.81396, 26.28790, 0.00000, -90.00000, 0.00000);
CreateObject(19379, 1908.77686, -1172.14197, 26.28790, 0.00000, -90.00000, 0.00000);
CreateObject(19379, 1908.77686, -1172.18445, 26.28790, 0.00000, -90.00000, 0.00000);
CreateObject(710, 1931.89844, -1171.50781, 33.55469, 0.00000, 0.00000, 0.00000);
CreateObject(19379, 1908.77686, -1181.81396, 26.28785, 0.00000, -90.00000, 0.00000);
CreateObject(16770, 1891.14307, -1158.72229, 25.06620, 0.00000, 0.00000, 89.69699);
CreateObject(2773, 1881.54919, -1157.72839, 24.31415, 0.00000, 0.00000, 0.00000);
CreateObject(2773, 1886.04968, -1157.65430, 24.31410, 0.00000, 0.00000, 0.00000);
CreateObject(2773, 1884.56750, -1157.68457, 24.31410, 0.00000, 0.00000, 0.00000);
CreateObject(2773, 1893.53333, -1157.49463, 24.35810, 0.00000, 0.00000, 0.00000);
CreateObject(2773, 1887.55396, -1157.62390, 24.31410, 0.00000, 0.00000, 0.00000);
CreateObject(2773, 1889.03015, -1157.59241, 24.31410, 0.00000, 0.00000, 0.00000);
CreateObject(2773, 1890.52563, -1157.56042, 24.33410, 0.00000, 0.00000, 0.00000);
CreateObject(2773, 1892.04077, -1157.52808, 24.33410, 0.00000, 0.00000, 0.00000);
CreateObject(2773, 1895.01135, -1157.46094, 24.35810, 0.00000, 0.00000, 0.00000);
CreateObject(2773, 1896.53430, -1157.42664, 24.35810, 0.00000, 0.00000, 0.00000);
CreateObject(2773, 1897.98828, -1157.40894, 24.37810, 0.00000, 0.00000, 0.00000);
CreateObject(2773, 1883.03687, -1157.71411, 24.31410, 0.00000, 0.00000, 0.00000);
CreateObject(2599, 1895.74280, -1158.34106, 24.08370, 0.00000, 0.00000, 0.00000);
CreateObject(2599, 1883.81433, -1158.59644, 24.08371, 0.00000, 0.00000, 0.00000);
CreateObject(2599, 1885.33923, -1158.56677, 24.08370, 0.00000, 0.00000, 0.00000);
CreateObject(2599, 1886.87146, -1158.53650, 24.08370, 0.00000, 0.00000, 0.00000);
CreateObject(2599, 1888.39697, -1158.50513, 24.08370, 0.00000, 0.00000, -0.06000);
CreateObject(2599, 1889.79639, -1158.47351, 24.08370, 0.00000, 0.00000, 0.00000);
CreateObject(2599, 1891.32263, -1158.44165, 24.08370, 0.00000, 0.00000, 0.00000);
CreateObject(2599, 1892.68799, -1158.40857, 24.08370, 0.00000, 0.00000, 0.00000);
CreateObject(2599, 1894.31152, -1158.37524, 24.08370, 0.00000, 0.00000, 0.00000);
CreateObject(18761, 1904.41992, -1176.71521, 30.64897, 0.00000, 0.00000, 90.00000);
CreateObject(983, 1927.04895, -1190.61987, 24.35340, 0.00000, 0.00000, 0.00000);
CreateObject(19129, 1915.12354, -1186.61133, 16.34620, 0.00000, -90.00000, 90.00000);
CreateObject(19129, 1914.52734, -1166.55823, 16.34620, 0.00000, -90.00000, -90.00000);
CreateObject(983, 1877.44019, -1160.43115, 24.35340, 0.00000, 0.00000, 0.00000);
CreateObject(983, 1884.96643, -1203.23645, 24.35340, 0.00000, 0.00000, 90.00000);
CreateObject(983, 1892.24988, -1153.52148, 24.35340, 0.00000, 0.00000, 90.00000);
CreateObject(983, 1898.66504, -1153.52148, 24.35340, 0.00000, 0.00000, 90.00000);
CreateObject(983, 1905.09778, 1153.52148, 24.35340, 0.00000, 0.00000, 90.00000);
CreateObject(983, 1905.08875, -1153.52148, 24.35340, 0.00000, 0.00000, 90.00000);
CreateObject(983, 1911.46094, -1153.52148, 24.35340, 0.00000, 0.00000, 90.00000);
CreateObject(983, 1917.82983, -1153.52148, 24.35340, 0.00000, 0.00000, 90.00000);
CreateObject(983, 1922.85522, -1156.13965, 24.35340, 0.00000, 0.00000, 36.29050);
CreateObject(983, 1879.85132, -1200.68018, 24.35340, 0.00000, 0.00000, 36.29050);
CreateObject(983, 1925.38074, -1159.52783, 24.35340, 0.00000, 0.00000, 36.29050);
CreateObject(983, 1927.04895, -1184.19800, 24.35340, 0.00000, 0.00000, 0.00000);
CreateObject(983, 1927.04895, -1177.81726, 24.35340, 0.00000, 0.00000, 0.00000);
CreateObject(983, 1927.04895, -1171.39697, 24.35340, 0.00000, 0.00000, 0.00000);
CreateObject(983, 1927.04895, -1165.19006, 24.35340, 0.00000, 0.00000, 0.00000);
CreateObject(3917, 1245.21326, -1333.65466, 7.63799, 0.00000, 0.00000, 88.66137);
CreateObject(3917, 1245.07336, -1344.11133, 7.63799, 0.00000, 0.00000, 88.66137);
CreateObject(3917, 1244.90430, -1354.72400, 7.63799, 0.00000, 0.00000, 88.66137);
CreateObject(3917, 1237.72937, -1366.02405, 7.63799, 0.00000, 0.00000, 88.66137);
CreateObject(3917, 1245.12085, -1366.32312, 7.63799, 0.00000, 0.00000, 88.66137);
CreateObject(3917, 1245.50586, -1323.24146, 7.63799, 0.00000, 0.00000, 88.66137);
CreateObject(3917, 1245.76184, -1317.35608, 7.63799, 0.00000, 0.00000, 88.66137);
CreateObject(3917, 1237.86316, -1317.06702, 8.04403, 0.00000, 0.00000, 89.70759);
CreateObject(3917, 1237.78406, -1328.53247, 8.04403, 0.00000, 0.00000, 89.70759);
CreateObject(3917, 1237.74341, -1350.21851, 8.04403, 0.00000, 0.00000, 89.70759);
CreateObject(3917, 1237.67639, -1339.75500, 8.04403, 0.00000, 0.00000, 89.70759);
CreateObject(3917, 1237.79773, -1356.11230, 8.04403, 0.00000, 0.00000, 89.70759);
CreateObject(3917, 1244.89636, -1376.93774, 7.63799, 0.00000, 0.00000, 88.66137);
CreateObject(3917, 1244.88708, -1387.33801, 7.63799, 0.00000, 0.00000, 88.66137);
CreateObject(3917, 1245.51135, -1397.62146, 7.63799, 0.00000, 0.00000, 90.14945);
CreateObject(3917, 1245.66553, -1398.68323, 7.63799, 0.00000, 0.00000, 90.14945);
CreateObject(3917, 1252.52698, -1398.61548, 7.63799, 0.00000, 0.00000, 90.14945);
CreateObject(3917, 1252.64075, -1386.93469, 7.63799, 0.00000, 0.00000, 90.14945);
CreateObject(3917, 1252.20447, -1375.50220, 7.63799, 0.00000, 0.00000, 90.14945);
CreateObject(3917, 1252.53625, -1364.32678, 7.63799, 0.00000, 0.00000, 90.14945);
CreateObject(3917, 1252.49658, -1353.09326, 7.63799, 0.00000, 0.00000, 90.14945);
CreateObject(3917, 1252.63635, -1341.85034, 7.63799, 0.00000, 0.00000, 90.14945);
CreateObject(3917, 1252.62366, -1330.42834, 7.63799, 0.00000, 0.00000, 90.14945);
CreateObject(3917, 1252.55994, -1319.76672, 7.63799, 0.00000, 0.00000, 90.14945);
CreateObject(3917, 1252.84863, -1317.15137, 7.63799, 0.00000, 0.00000, 90.14945);
CreateObject(3917, 1237.68164, -1377.35229, 7.63799, 0.00000, 0.00000, 88.66137);
CreateObject(3917, 1237.50452, -1387.41357, 7.63799, 0.00000, 0.00000, 88.66137);
CreateObject(3917, 1237.43005, -1398.00146, 7.63799, 0.00000, 0.00000, 88.66137);
CreateObject(3917, 1237.64392, -1399.06543, 7.63799, 0.00000, 0.00000, 88.66137);
CreateObject(3917, 1237.64392, -1399.06543, 7.63799, 0.00000, 0.00000, 88.66137);
CreateObject(6391, 99.93309, 539.32605, 957.82385, 0.00000, 0.00000, 7.80900);
CreateObject(7024, 77.24881, 539.75763, 998.81879, 0.00000, 90.00000, 0.00000);
CreateObject(7024, 99.80903, 513.93237, 1014.04669, 0.00000, -90.00000, -90.00000);
CreateObject(6391, 96.82329, 560.54138, 957.82385, 0.00000, 0.00000, 7.80900);
CreateObject(7024, 110.44756, 516.84637, 1014.77075, 0.00000, 900.00000, 89.17143);
CreateObject(7024, 114.88981, 543.47284, 1014.04669, 0.00000, -90.00000, 0.00000);
CreateObject(19388, 91.51180, 564.48657, 1000.40399, 0.00000, 0.00000, 90.00000);
CreateObject(19388, 100.67030, 564.48657, 1000.40399, 0.00000, 0.00000, 90.00000);
CreateObject(19388, 94.62200, 564.48657, 1000.40399, 0.00000, 0.00000, 90.00000);
CreateObject(19388, 97.69040, 564.48657, 1000.40399, 0.00000, 0.00000, 90.00000);
CreateObject(19388, 100.67030, 547.55823, 1000.40399, 0.00000, 0.00000, 90.00000);
CreateObject(19388, 97.69040, 547.55823, 1000.40399, 0.00000, 0.00000, 90.00000);
CreateObject(19388, 94.62200, 547.55823, 1000.40399, 0.00000, 0.00000, 90.00000);
CreateObject(19388, 91.51183, 547.55823, 1000.40399, 0.00000, 0.00000, 90.00000);
CreateObject(19388, 100.67030, 557.95081, 1000.40399, 0.00000, 0.00000, 90.00000);
CreateObject(19388, 97.69040, 557.95081, 1000.40399, 0.00000, 0.00000, 90.00000);
CreateObject(19388, 94.62200, 557.95081, 1000.40399, 0.00000, 0.00000, 90.00000);
CreateObject(19388, 91.51180, 557.95081, 1000.40399, 0.00000, 0.00000, 90.00000);
CreateObject(1491, 90.74810, 547.57758, 998.76630, 0.00000, 0.00000, 0.00000);
CreateObject(1491, 93.84780, 547.57758, 998.76630, 0.00000, 0.00000, 0.00000);
CreateObject(1491, 96.89520, 547.57758, 998.76630, 0.00000, 0.00000, 0.00000);
CreateObject(1491, 99.88630, 547.57758, 998.76630, 0.00000, 0.00000, 0.00000);
CreateObject(1491, 90.73232, 557.93787, 998.76630, 0.00000, 0.00000, 0.00000);
CreateObject(1491, 93.83230, 557.93793, 998.76630, 0.00000, 0.00000, 0.00000);
CreateObject(1491, 96.89360, 557.93793, 998.76630, 0.00000, 0.00000, 0.00000);
CreateObject(1491, 99.89680, 557.93793, 998.76630, 0.00000, 0.00000, 0.00000);
CreateObject(1491, 90.73950, 564.45807, 998.76630, 0.00000, 0.00000, 0.00000);
CreateObject(1491, 93.84890, 564.45813, 998.76630, 0.00000, 0.00000, 0.00000);
CreateObject(1491, 96.90330, 564.45813, 998.76630, 0.00000, 0.00000, 0.00000);
CreateObject(1491, 99.87660, 564.45813, 998.76630, 0.00000, 0.00000, 0.00000);
CreateObject(19450, 98.55620, 547.76172, 1000.40399, 0.00000, 0.00000, 90.00000);
CreateObject(19450, 101.72436, 558.13623, 999.72662, 0.00000, 0.00000, 90.00000);
CreateObject(19431, 91.52853, 558.09479, 1000.40399, 0.00000, 0.00000, 90.00000);
CreateObject(19450, 88.90285, 564.67902, 1000.01202, 0.00000, 0.00000, 90.00000);
CreateObject(19431, 100.63318, 564.60352, 999.90082, 0.00000, 0.00000, 90.00000);
CreateObject(19431, 97.62522, 564.62451, 999.90082, 0.00000, 0.00000, 90.00000);
CreateObject(6391, 94.56670, 570.08856, 951.70190, 0.00000, 0.00000, 7.80900);
CreateObject(7024, 114.83377, 555.49261, 1014.04669, 0.00000, -90.00000, 0.00000);
CreateObject(7024, 76.87916, 554.14044, 998.81879, 0.00000, 90.00000, 0.00000);
CreateObject(6391, 100.60292, 598.43176, 957.82391, 0.00000, 0.00000, 7.80900);
CreateObject(7024, 103.06590, 685.45734, 1030.06445, 0.00000, 900.00000, 89.17143);
CreateObject(14387, 92.75381, 570.96747, 997.80902, 0.00000, 0.00000, 88.22812);
CreateObject(14387, 91.38493, 577.52771, 996.36011, 0.00000, 0.00000, 88.22812);
CreateObject(14387, 91.56796, 578.50555, 994.72192, 0.00000, 0.00000, 358.78833);
CreateObject(14387, 92.56529, 578.44653, 993.82471, 0.00000, 0.00000, 358.78833);
CreateObject(7024, 106.65590, 532.94122, 1014.77081, 0.00000, 900.00000, 0.00000);
CreateObject(7024, 116.82928, 788.97974, 989.67432, 90.00000, 0.00000, 357.41379);
CreateObject(7024, 76.84330, 580.63330, 998.81879, 0.00000, 90.00000, 0.00000);
CreateObject(7024, 115.67813, 608.92133, 1014.04669, 0.00000, -90.00000, 0.00000);
CreateObject(925, 98.44695, 577.46417, 997.64557, 0.00000, 0.00000, 357.88016);
CreateObject(925, 96.12517, 581.34528, 997.64557, 0.00000, 0.00000, 357.88016);
CreateObject(925, 100.55907, 581.52209, 997.64557, 0.00000, 0.00000, 357.88016);
CreateObject(18771, 95.54844, 604.16510, 998.93805, 0.00000, 0.00000, 358.76849);
CreateObject(19378, 94.60114, 608.50171, 1007.07941, 0.00000, 90.00000, 0.00000);
CreateObject(19378, 100.56279, 608.51331, 1007.07941, 0.00000, 90.00000, 0.00000);
CreateObject(7024, 120.58846, 605.32208, 1014.04669, 0.00000, -90.00000, 0.00000);
CreateObject(7024, 76.79924, 600.24890, 998.81879, 0.00000, 90.00000, 0.00000);
CreateObject(18985, 97.04090, 661.26978, 1012.18042, 0.00000, 0.00000, 0.00000);
CreateObject(7024, 75.97030, 589.73969, 1003.57343, 90.00000, 90.00000, 0.00000);
CreateObject(7024, 116.92011, 600.32574, 986.45551, 0.00000, 0.00000, 357.41376);
CreateObject(18813, 97.20852, 751.15271, 982.28778, 0.00000, 0.00000, 0.00000);
CreateObject(7024, 114.73701, 703.22424, 1014.04669, 0.00000, -90.00000, 0.00000);
CreateObject(7024, 79.29706, 703.29834, 998.81879, 0.00000, 90.00000, 0.00000);
CreateObject(7024, 110.54025, 536.75476, 1021.54736, 0.00000, 900.00000, 89.17143);
CreateObject(7024, 126.70586, 749.86719, 1014.04669, 0.00000, -90.00000, 0.00000);
CreateObject(7024, 77.79972, 751.28223, 956.65778, 0.00000, 90.00000, 0.00000);
CreateObject(7024, 116.63873, 618.91833, 976.91998, 90.00000, 0.00000, 357.41379);
CreateObject(7024, 105.55719, 750.01758, 1030.06445, 0.00000, 900.00000, 89.17143);
CreateObject(7024, 106.60023, 770.85876, 958.04462, 90.00000, 0.00000, 357.41379);
CreateObject(7024, 99.13035, 732.78516, 958.04462, -90.00000, 0.00000, 357.71683);
CreateObject(7024, 85.80038, 740.80200, 936.66602, 0.00000, 0.00000, 89.17140);
CreateObject(3859, 106.25560, 751.72211, 949.16742, 17.10000, 90.00000, 359.20621);
CreateObject(3859, 114.14124, 747.78070, 949.16742, 17.10000, 90.00000, 359.20621);
CreateObject(3859, 119.57437, 753.71228, 949.16742, 17.10000, 90.00000, 359.20621);
CreateObject(3859, 127.30901, 750.77753, 949.16742, 17.10000, 90.00000, 359.20621);
CreateObject(7024, 117.47906, 741.86469, 926.38251, 0.00000, 0.00000, 89.48988);
CreateObject(18982, 129.69273, 751.41058, 897.36731, 90.00000, 9.00000, 9.00000);
CreateObject(18982, 108.76092, 751.62018, 897.36731, 90.00000, 9.00000, 9.00000);
CreateObject(18982, 119.13522, 751.39294, 897.36731, 90.00000, 9.00000, 9.00000);
CreateObject(14387, 91.40248, 575.55841, 997.81128, 0.00000, 0.00000, 88.22812);
CreateObject(7024, 62.09146, 625.27191, 962.20428, 0.00000, 90.00000, -90.00000);
CreateObject(7024, 61.58141, 625.26495, 964.03308, 0.00000, 90.00000, -90.00000);
CreateObject(7024, 62.70660, 625.28033, 960.88013, 0.00000, 90.00000, 269.48987);
CreateObject(7024, 63.53509, 625.29169, 960.57715, 0.00000, 90.00000, 269.48987);
CreateObject(7024, 115.90376, 600.70148, 1014.04669, 0.00000, -90.00000, 0.00000);
CreateObject(7024, 114.09091, 628.49841, 966.42841, 0.00000, -90.00000, 7.85285);
CreateObject(7024, 113.35632, 628.46051, 978.19629, 0.00000, -90.00000, 358.45996);
CreateObject(7024, 115.30547, 628.56122, 1014.04669, 0.00000, -90.00000, 358.45996);
CreateObject(7024, 114.58508, 628.52399, 980.02338, 0.00000, -90.00000, 358.45996);
CreateObject(7024, 67.43375, 749.01599, 998.81879, 0.00000, 90.00000, 0.00000);
CreateObject(14394, 146.00558, 754.66351, 952.07080, 0.00000, 0.00000, -90.00000);
CreateObject(3859, 136.48454, 750.25665, 949.16742, 17.10000, 90.00000, 359.20621);
CreateObject(19379, 141.46046, 760.76190, 951.13947, 0.00000, 90.00000, 90.00000);
CreateObject(14394, 141.23320, 754.62909, 950.43103, 0.00000, 0.00000, 90.00000);
CreateObject(19379, 146.94638, 748.58252, 952.74335, 0.00000, 90.00000, 90.00000);
CreateObject(19379, 147.79819, 760.79346, 951.13953, 0.00000, 90.00000, 90.00000);
CreateObject(19379, 155.92365, 748.61047, 952.74335, 0.00000, 90.00000, 90.00000);
CreateObject(19450, 159.67363, 748.91022, 954.26349, 0.00000, 0.00000, 180.00000);
CreateObject(19450, 154.77490, 744.10852, 954.26349, 0.00000, 0.00000, 90.00000);
CreateObject(19450, 154.77492, 753.66162, 954.26349, 0.00000, 0.00000, 90.00000);
CreateObject(19388, 150.00041, 745.70355, 954.26349, 0.00000, 0.00000, 0.00000);
CreateObject(2209, 10925.71582, 1243.84351, 677.10553, 0.00000, 0.00000, 0.00000);
CreateObject(2173, 157.17093, 748.11194, 952.82678, 0.00000, 0.00000, 90.00000);
CreateObject(19378, 94.60110, 608.50171, 1014.19318, 0.00000, 90.00000, 0.00000);
CreateObject(19378, 100.56279, 608.51331, 1014.19324, 0.00000, 90.00000, 0.00000);
CreateObject(983, 136.65289, 758.71399, 951.88843, 0.00000, 0.00000, 0.00000);
CreateObject(983, 139.90836, 765.95764, 951.88843, 0.00000, 0.00000, 90.00000);
CreateObject(983, 136.65291, 762.81000, 951.88837, 0.00000, 0.00000, 0.00000);
CreateObject(983, 146.34731, 766.03925, 951.88843, 0.00000, 0.00000, 90.00000);
CreateObject(983, 149.45897, 766.05072, 951.88843, 0.00000, 0.00000, 90.00000);
CreateObject(983, 152.62737, 762.79291, 951.88837, 0.00000, 0.00000, 0.00000);
CreateObject(983, 152.50044, 759.56079, 951.88837, 0.00000, 0.00000, 0.00000);
CreateObject(19379, 155.92365, 748.61047, 956.10284, 0.00000, 90.00000, 90.00000);
CreateObject(19379, 154.63800, 748.59460, 956.10284, 0.00000, 90.00000, 90.00000);
CreateObject(983, 142.16277, 750.98798, 953.53485, 0.00000, 0.00000, 0.00000);
CreateObject(983, 142.22874, 746.54840, 953.53485, 0.00000, 0.00000, 0.00000);
CreateObject(983, 151.81815, 743.50696, 953.53491, 0.00000, 0.00000, 94.16217);
CreateObject(983, 145.54526, 743.32385, 953.53491, 0.00000, 0.00000, 90.00000);
CreateObject(19431, 150.00040, 752.88989, 954.26349, 0.00000, 0.00000, 0.00000);
CreateObject(19431, 150.00040, 751.27338, 954.26349, 0.00000, 0.00000, 0.00000);
CreateObject(19431, 150.00040, 749.69189, 954.26349, 0.00000, 0.00000, 0.00000);
CreateObject(19431, 150.00040, 748.09363, 954.26349, 0.00000, 0.00000, 0.00000);
#endif
#if defined CHRISTMAS
RemoveBuildingForPlayer(playerid, 645, 1906.6875, -1199.1406, 19.2656, 0.25);
InMG[playerid] = 0;
#endif
#if defined CHRISTMAS
if(InMG[playerid] == 1)
{
new Float:mghp = GetPVarFloat(playerid, "MGHealth");
new Float:mgar = GetPVarFloat(playerid, "MGArmour");
PlayerInfo[playerid][pHealth] = mghp;
PlayerInfo[playerid][pArmor] = mgar;
PlayerInfo[playerid][pPos_x] = 188.27;
PlayerInfo[playerid][pPos_x] = -1156.53;
PlayerInfo[playerid][pPos_x] = 24.78;
PlayerInfo[playerid][pInt] = 0;
}
#endif
#if defined CHRISTMAS
if((IsPlayerInRangeOfPoint(playerid, 5.0, 130.24, 751.72, 940.02)) || (IsPlayerInRangeOfPoint(playerid, 5.0, 109.19, 752.59, 940.02)) || (IsPlayerInRangeOfPoint(playerid, 5.0, 119.77, 750.97,940.02)))
{
SetPlayerPos(playerid, 102.71, 751.71, 950.31);
}
#endif
#if defined CHRISTMAS
PlayerInfo[playerid][pClaim] = 1;
#endif