new.pwn
#1

can someone post the new.pwn file?
thx!
Reply
#2

Код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print(" Blank Filterscript by your name here");
	print("--------------------------------------\n");
	return 1;
}

public OnFilterScriptExit()
{
	return 1;
}

#else

main()
{
	print("\n----------------------------------");
	print(" Blank Gamemode by your name here");
	print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
	// Don't use these lines if it's a filterscript
	SetGameModeText("Blank Script");
	AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	return 1;
}

public OnGameModeExit()
{
	return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
	return 1;
}

public OnPlayerConnect(playerid)
{
	return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
	return 1;
}

public OnPlayerSpawn(playerid)
{
	return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
	return 1;
}

public OnVehicleSpawn(vehicleid)
{
	return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
	return 1;
}

public OnPlayerText(playerid, text[])
{
	return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/mycommand", cmdtext, true, 10) == 0)
	{
		// Do something here
		return 1;
	}
	return 0;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
	return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
	return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
	return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
	return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
	return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
	return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
	return 1;
}

public OnRconCommand(cmd[])
{
	return 1;
}

public OnPlayerRequestSpawn(playerid)
{
	return 1;
}

public OnObjectMoved(objectid)
{
	return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
	return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
	return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
	return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
	return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
	return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
	return 1;
}

public OnPlayerExitedMenu(playerid)
{
	return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
	return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
	return 1;
}

public OnPlayerUpdate(playerid)
{
	return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
	return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
	return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
	return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
	return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	return 1;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
	return 1;
}
Reply
#3

thx! helpedme!
Reply
#4

Quote:
Originally Posted by legodude
Посмотреть сообщение
thx! helpedme!
here this is a dm!

Quote:

// Include
#include <a_samp>
// Teams
#define TEAM_SPECAIL 1
#define TEAM_COPS 2
#define TEAM_SECURITY 3
#define TEAM_PRISONERS 4

// Team Colors
#define TEAM_SPECAIL_COLOR 0x228B22AA // Forest Green
#define TEAM_COPS_COLOR 0xAB00B0AA// Indigo ( Purple is not here )
#define TEAM_SECURITY_COLOR 0xFFFFF00AA // Yellow
#define TEAM_PRISONERS_COLOR 0xFFFFFFAA // White


// Colors
#define white 0xFFFFFFAA
#define yellow 0xFFFFF00AA
#define red 0x660000AA
#define pink 0xFF66FFAA
#define grey 0xAFAFAFAA
#define blue 0x0000BBAA
#define black 0x2C2727AA
#define green 0x33FF33AA

enum pInfo
{
pPassword[128],
pKills,
pDeaths,
pCash
};

new PlayerInfo[MAX_PLAYERS][pInfo];
new gPlayerLogged[MAX_PLAYERS];
new gPlayerAccount[MAX_PLAYERS];
new chips;
new soda;
new machine;
new pickup;
new Text:Server;
new gClass[MAX_PLAYERS];
static gTeam[MAX_PLAYERS];
new Menu:ArmourMenu;
new Menu:HPMenu;
new Menu:AmmoMenu;
new Menu:WeaponMenu;
new Menu:BuyMenu;
new Menu:HelpMenu;
forward SetPlayerTeamFromClass(playerid,classid);
forward OnPlayerLogin(playerid,const string[]);
forward String(string[]);
#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
print("\n--------------------------------------");
print("Prison Break");
print("--------------------------------------\n");
return 1;
}

public OnFilterScriptExit()
{
return 1;
}

#else

main()
{
print("\n----------------------------------");
print("Prison Break Real Loaded....");
print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
machine = CreatePickup(1318,23,-1336.2018,447.9726,7.1875);
soda = CreatePickup(1318,23,-1336.4338,440.7904,7.1875);
chips = CreatePickup(1318,23,-1336.5167,437.8450,7.1809);
pickup = CreatePickup(1318,23,-1336.6449,451.0238,7.1875);
CreateObject(738, -1526.5252685547, 739.15466308594, 6.1875004768372, 0, 0, 0);
CreateObject(738, -1525.6890869141, 760.01300048828, 6.1875, 0, 0, 0);
CreateObject(738, -1524.0769042969, 780.52905273438, 6.1805415153503, 0, 0, 0);
CreateObject(738, -1521.3071289063, 805.28045654297, 6.1874995231628, 0, 0, 0);
CreateObject(738, -1515.4216308594, 853.42211914063, 6.1875, 0, 0, 0);
CreateObject(738, -1511.4948730469, 899.51214599609, 6.1875, 0, 0, 0);
CreateObject(738, -1510.5078125, 940.06115722656, 6.1952729225159, 0, 0, 0);
CreateObject(738, -1529.8317871094, 985.35473632813, 6.1875, 0, 0, 0);
CreateObject(738, -1555.6995849609, 1018.6688232422, 6.1875, 0, 0, 0);
CreateObject(738, -1567.2158203125, 1055.7897949219, 6.1875, 0, 0, 0);
CreateObject(738, -1567.1033935547, 1085.4940185547, 6.1875, 0, 0, 0);
CreateObject(738, -1567.1719970703, 1112.4873046875, 6.1875, 0, 0, 0);
CreateObject(738, -1567.1259765625, 1139.9631347656, 6.1875, 0, 0, 0);
CreateObject(8657, -1685.9832763672, 718.24731445313, 25.078125, 0, 0, 90);
CreateObject(8657, -1669.6586914063, 718.17999267578, 25.085069656372, 0, 0, 90);
CreateObject(8657, -1701.2553710938, 703.12683105469, 25.078125, 0, 0, 0);
CreateObject(8657, -1980.1281738281, 202.638671875, 27.875, 0, 0, 0);
CreateObject(8657, -1980.1639404297, 184.77828979492, 27.875, 0, 0, 0);
CreateObject(8657, -1979.9577636719, 92.169486999512, 27.875, 0, 0, 0);
CreateObject(8645, -2036.2229003906, 182.65621948242, 28.688941955566, 0, 0, 0);
CreateObject(8645, -2016.8161621094, 153.71759033203, 27.565795898438, 0, 0, 90);
CreateObject(8645, -2052.1953125, 119.97171783447, 28.960794448853, 0, 0, 356);
CreateObject(8645, -2060.6909179688, 136.22665405273, 28.695936203003, 0, 0, 90);
CreateObject(8645, -2060.6687011719, 151.69201660156, 28.688941955566, 0, 0, 90);
CreateObject(9193, -2019.2780761719, 182.64938354492, 32.128894805908, 0, 0, 90);
CreateObject(7313, -1983.5153808594, 138.11703491211, 29.213439941406, 0, 0, 270);
CreateObject(1229, -1986.0007324219, 153.57991027832, 28.247180938721, 0, 0, 0);
CreateObject(1229, -1986.0275878906, 153.79191589355, 28.247180938721, 0, 0, 180);
CreateObject(1676, -2026.3376464844, 157.65725708008, 29.619930267334, 0, 0, 90);
CreateObject(1676, -2026.3605957031, 155.75045776367, 29.619930267334, 0, 0, 90);
CreateObject(16778, -2029.6616210938, 156.63919067383, 32.938232421875, 0, 0, 180);
CreateObject(3520, -1998.6271972656, 133.66165161133, 26.6875, 0, 0, 0);
CreateObject(3520, -1998.685546875, 138.17916870117, 26.679862976074, 0, 0, 0);
CreateObject(3520, -1998.5560302734, 142.98092651367, 26.6875, 0, 0, 0);
CreateObject(3520, -1998.6124267578, 147.62297058105, 26.6875, 0, 0, 0);
CreateObject(3520, -1998.6387939453, 152.27038574219, 26.6875, 0, 0, 0);
CreateObject(3520, -1998.7095947266, 156.98303222656, 26.6875, 0, 0, 0);
CreateObject(3520, -1998.5983886719, 160.47184753418, 26.6875, 0, 0, 0);
CreateObject(3520, -1998.6165771484, 163.66221618652, 26.6875, 0, 0, 0);
CreateObject(3660, -2026.3403320313, 493.52758789063, 36.82494354248, 0, 0, 0);
CreateObject(3660, -2017.8161621094, 484.47247314453, 36.82494354248, 0, 0, 90);
CreateObject(3660, -2026.3739013672, 473.95846557617, 36.82536315918, 0, 0, 0);
CreateObject(3660, -2035.4910888672, 482.53704833984, 36.82494354248, 0, 0, 90);
CreateObject(869, -2032.0563964844, 476.69161987305, 34.621696472168, 0, 0, 0);
CreateObject(869, -2028.0705566406, 476.71356201172, 34.621696472168, 0, 0, 0);
CreateObject(869, -2023.9210205078, 476.94036865234, 34.621696472168, 0, 0, 0);
CreateObject(869, -2020.6665039063, 476.86999511719, 34.621696472168, 0, 0, 0);
CreateObject(869, -2020.6925048828, 479.98040771484, 34.621696472168, 0, 0, 0);
CreateObject(869, -2020.8308105469, 482.95471191406, 34.621696472168, 0, 0, 0);
CreateObject(869, -2020.7086181641, 485.79461669922, 34.621696472168, 0, 0, 0);
CreateObject(869, -2020.7767333984, 488.54089355469, 34.621696472168, 0, 0, 0);
CreateObject(869, -2020.7935791016, 491.017578125, 34.621696472168, 0, 0, 0);
CreateObject(869, -2023.8266601563, 491.27301025391, 34.621696472168, 0, 0, 0);
CreateObject(869, -2026.9890136719, 491.07781982422, 34.621696472168, 0, 0, 0);
CreateObject(869, -2029.8741455078, 491.05889892578, 34.621696472168, 0, 0, 0);
CreateObject(869, -2031.7510986328, 491.10516357422, 34.621696472168, 0, 0, 0);
CreateObject(869, -2032.0388183594, 488.57095336914, 34.621696472168, 0, 0, 0);
CreateObject(869, -2032.0084228516, 485.74603271484, 34.621696472168, 0, 0, 0);
CreateObject(869, -2032.1433105469, 482.96179199219, 34.621696472168, 0, 0, 0);
CreateObject(869, -2032.1518554688, 479.94580078125, 34.621696472168, 0, 0, 0);
CreateObject(871, -2029.6618652344, 478.87652587891, 34.454936981201, 0, 0, 0);
CreateObject(871, -2029.64453125, 480.91256713867, 34.454936981201, 0, 0, 0);
CreateObject(871, -2029.5949707031, 482.91418457031, 34.454936981201, 0, 0, 0);
CreateObject(871, -2029.61328125, 484.57684326172, 34.454936981201, 0, 0, 0);
CreateObject(871, -2029.5549316406, 486.22061157227, 34.454936981201, 0, 0, 0);
CreateObject(871, -2029.4047851563, 488.43362426758, 34.454936981201, 0, 0, 0);
CreateObject(871, -2027.5129394531, 488.69012451172, 34.454936981201, 0, 0, 0);
CreateObject(871, -2026.1201171875, 488.91799926758, 34.454936981201, 0, 0, 0);
CreateObject(871, -2024.3747558594, 488.96118164063, 34.454936981201, 0, 0, 0);
CreateObject(871, -2023.2117919922, 489.0126953125, 34.454936981201, 0, 0, 0);
CreateObject(871, -2023.2641601563, 487.51565551758, 34.454936981201, 0, 0, 0);
CreateObject(871, -2023.3089599609, 486.19723510742, 34.454936981201, 0, 0, 0);
CreateObject(871, -2023.1090087891, 484.89053344727, 34.454936981201, 0, 0, 0);
CreateObject(871, -2023.1065673828, 483.40725708008, 34.454936981201, 0, 0, 0);
CreateObject(871, -2023.1712646484, 481.45397949219, 34.454936981201, 0, 0, 0);
CreateObject(871, -2023.1506347656, 479.86911010742, 34.454936981201, 0, 0, 0);
CreateObject(871, -2024.2833251953, 478.97711181641, 34.454936981201, 0, 0, 0);
CreateObject(871, -2026.0582275391, 478.96841430664, 34.454936981201, 0, 0, 0);
CreateObject(871, -2028.1793212891, 478.97235107422, 34.454936981201, 0, 0, 0);
CreateObject(9833, -2025.9880371094, 484.27963256836, 37.374420166016, 0, 0, 0);
CreateObject(3660, -1755.4073486328, 944.03997802734, 26.53588104248, 0, 0, 0);
CreateObject(717, -1765.6928710938, 943.36938476563, 23.890625, 0, 0, 0);
CreateObject(717, -1744.8962402344, 943.25775146484, 23.890625, 0, 0, 0);
CreateObject(870, -1778.7174072266, 954.01965332031, 24.749935150146, 0, 0, 0);
CreateObject(870, -1778.76953125, 952.63775634766, 24.749935150146, 0, 0, 0);
CreateObject(870, -1778.4840087891, 951.57092285156, 24.749935150146, 0, 0, 0);
CreateObject(870, -1777.1959228516, 953.83935546875, 24.742197036743, 0, 0, 0);
CreateObject(870, -1778.8765869141, 950.15368652344, 24.749935150146, 0, 0, 0);
CreateObject(870, -1776.0760498047, 954.13592529297, 24.742197036743, 0, 0, 0);
CreateObject(7496, -2089.8229980469, -101.66413116455, 37.740291595459, 0, 0, 0);
CreateObject(7496, -2056.0009765625, -101.05219268799, 37.740291595459, 0, 0, 0);
CreateObject(8229, -2085.0451660156, -80.520439147949, 36.865291595459, 0, 0, 0);
CreateObject(8229, -2073.443359375, -80.530128479004, 36.865291595459, 0, 0, 0);
CreateObject(8674, -2017.0080566406, -98.262077331543, 35.792846679688, 0, 0, 90);
CreateObject(804, -2018.3491210938, -81.878684997559, 35.695098876953, 0, 0, 0);
CreateObject(804, -2018.3937988281, -86.377777099609, 35.695098876953, 0, 0, 0);
CreateObject(804, -2036.0681152344, -86.34912109375, 35.695098876953, 0, 0, 0);
CreateObject(804, -2035.8438720703, -81.594818115234, 35.695098876953, 0, 0, 0);
CreateObject(869, -2033.1962890625, -82.518905639648, 34.965446472168, 0, 0, 0);
CreateObject(869, -2034.8000488281, -84.352981567383, 34.965446472168, 0, 0, 0);
CreateObject(869, -2032.6528320313, -85.332290649414, 34.965446472168, 0, 0, 0);
CreateObject(869, -2029.6481933594, -82.07982635498, 34.965446472168, 0, 0, 0);
CreateObject(869, -2029.1782226563, -85.290534973145, 34.965446472168, 0, 0, 0);
CreateObject(869, -2026.3173828125, -82.125411987305, 34.965446472168, 0, 0, 0);
CreateObject(869, -2025.6939697266, -85.11385345459, 34.965446472168, 0, 0, 0);
CreateObject(869, -2022.7392578125, -82.205955505371, 34.965446472168, 0, 0, 0);
CreateObject(869, -2022.7874755859, -85.676307678223, 34.965446472168, 0, 0, 0);
CreateObject(869, -2019.7683105469, -84.127830505371, 34.965446472168, 0, 0, 0);
CreateObject(869, -2020.3941650391, -82.113075256348, 34.965446472168, 0, 0, 0);
CreateObject(869, -2020.62890625, -85.18782043457, 34.965446472168, 0, 0, 0);
CreateObject(869, -2029.2952880859, -83.871154785156, 34.965446472168, 0, 0, 0);
CreateObject(869, -2024.6846923828, -82.773612976074, 34.965446472168, 0, 0, 0);
CreateObject(869, -2032.7354736328, -82.98316192627, 34.965446472168, 0, 0, 0);
CreateObject(991, -2128.8681640625, -80.222412109375, 35.536594390869, 0, 0, 0);
CreateObject(991, -2125.6125488281, -80.214599609375, 35.535984039307, 0, 0, 0);
CreateObject(13132, -2130.8249511719, 214.06109619141, 37.559326171875, 0, 0, 0);
CreateObject(13132, -2130.7326660156, 201.72082519531, 37.562023162842, 0, 0, 0);
CreateObject(17523, -2128.3713378906, 297.34521484375, 36.274971008301, 0, 0, 270);
CreateObject(982, -2106.5549316406, 310.24801635742, 34.862854003906, 0, 0, 90);
CreateObject(970, -2141.2214355469, 211.16761779785, 34.80260848999, 0, 0, 90);
CreateObject(970, -2141.20703125, 205.18609619141, 34.802829742432, 0, 0, 90);
CreateObject(1293, -2141.1467285156, 208.22576904297, 34.861541748047, 0, 0, 270);
CreateObject(983, -2091.9440917969, 100.21343231201, 34.986602783203, 0, 0, 90);
CreateObject(983, -2094.0246582031, 100.27981567383, 34.991794586182, 0, 0, 90);
CreateObject(994, -2097.2602539063, 65.704040527344, 34.3203125, 0, 0, 90);
CreateObject(994, -2097.2595214844, 58.358558654785, 34.3203125, 0, 0, 90);
CreateObject(994, -2097.2690429688, 51.014678955078, 34.3203125, 0, 0, 90);
CreateObject(979, -1902.5444335938, 235.27676391602, 34.886417388916, 0, 0, 80);
CreateObject(979, -1906.5802001953, 227.31202697754, 34.874027252197, 0, 0, 45);
CreateObject(979, -1914.2330322266, 222.4810333252, 34.996471405029, 0, 0, 20);
CreateObject(1422, -1895.2794189453, 229.89706420898, 38.486602783203, 0, 0, 90);
CreateObject(1422, -1895.2805175781, 227.24833679199, 38.456394195557, 0, 0, 90);
CreateObject(1422, -1895.2822265625, 224.59005737305, 38.422630310059, 0, 0, 90);
CreateObject(1422, -1895.3098144531, 221.91668701172, 38.388572692871, 0, 0, 90);
CreateObject(1422, -1895.3394775391, 219.20582580566, 38.354034423828, 0, 0, 90);
CreateObject(1422, -1895.4058837891, 216.50263977051, 38.319450378418, 0, 0, 90);
CreateObject(1422, -1895.4466552734, 213.88607788086, 38.286064147949, 0, 0, 90);
CreateObject(1422, -1895.4503173828, 211.33572387695, 38.253665924072, 0, 0, 90);
CreateObject(1422, -1895.4464111328, 208.74468994141, 38.218887329102, 0, 0, 90);
CreateObject(1422, -1895.4577636719, 206.13375854492, 38.181266784668, 0, 0, 90);
CreateObject(1422, -1895.4611816406, 203.4533996582, 38.1403465271, 0, 0, 90);
CreateObject(1422, -1895.4733886719, 200.77484130859, 38.107643127441, 0, 0, 90);
CreateObject(1422, -1895.4968261719, 198.12348937988, 38.075267791748, 0, 0, 90);
CreateObject(1422, -1895.4946289063, 195.44149780273, 38.04252243042, 0, 0, 90);
CreateObject(1422, -1895.4924316406, 192.73890686035, 38.009521484375, 0, 0, 90);
CreateObject(1422, -1895.5141601563, 190.07583618164, 37.977005004883, 0, 0, 90);
CreateObject(1422, -1895.5306396484, 187.392578125, 37.944244384766, 0, 0, 90);
CreateObject(1422, -1895.5330810547, 184.73492431641, 37.911792755127, 0, 0, 90);
CreateObject(1422, -1895.5467529297, 182.09677124023, 37.879127502441, 0, 0, 90);
CreateObject(1422, -1895.6059570313, 179.42028808594, 37.847694396973, 0, 0, 90);
CreateObject(1422, -1895.6326904297, 176.77279663086, 37.819564819336, 0, 0, 90);
CreateObject(1422, -1895.6544189453, 174.10791015625, 37.798728942871, 0, 0, 90);
CreateObject(1422, -1895.66796875, 171.44650268555, 37.777923583984, 0, 0, 90);
CreateObject(1422, -1895.64453125, 168.77200317383, 37.757034301758, 0, 0, 90);
CreateObject(1422, -1895.7139892578, 166.0260925293, 37.735542297363, 0, 0, 90);
CreateObject(1422, -1895.7327880859, 163.31504821777, 37.714347839355, 0, 0, 90);
CreateObject(1422, -1895.7919921875, 160.56823730469, 37.692855834961, 0, 0, 90);
CreateObject(1422, -1896.25390625, 157.95269775391, 37.672191619873, 0, 0, 70);
CreateObject(717, -2674.3530273438, 607.82250976563, 13.454549789429, 0, 0, 0);
CreateObject(717, -2649.4299316406, 607.71423339844, 13.453125, 0, 0, 0);
CreateObject(717, -2622.4794921875, 607.82861328125, 13.453125, 0, 0, 0);
CreateObject(1281, -2639.3498535156, 607.84753417969, 14.253507614136, 0, 0, 0);
CreateObject(1281, -2631.341796875, 607.90618896484, 14.253507614136, 0, 0, 0);
CreateObject(1281, -2666.4541015625, 606.79644775391, 14.254934310913, 0, 0, 0);
CreateObject(1281, -2656.3576660156, 606.66461181641, 14.253507614136, 0, 0, 0);
CreateObject(869, -2614.7353515625, 583.17736816406, 15.074822425842, 0, 0, 0);
CreateObject(869, -2614.630859375, 580.67022705078, 15.074822425842, 0, 0, 0);
CreateObject(869, -2618.2980957031, 582.92822265625, 15.074822425842, 0, 0, 0);
CreateObject(869, -2618.3125, 580.62078857422, 15.074822425842, 0, 0, 0);
CreateObject(869, -2621.6735839844, 582.19952392578, 15.074822425842, 0, 0, 0);
CreateObject(869, -2621.6174316406, 580.72039794922, 15.074822425842, 0, 0, 0);
CreateObject(869, -2624.5744628906, 581.58520507813, 15.074822425842, 0, 0, 0);
CreateObject(869, -2627.3334960938, 580.8125, 15.074822425842, 0, 0, 0);
CreateObject(869, -2624.18359375, 580.73333740234, 15.074822425842, 0, 0, 0);
CreateObject(869, -2631.9450683594, 580.50457763672, 15.074822425842, 0, 0, 0);
CreateObject(869, -2708.9035644531, 585.22583007813, 15.26525592804, 0, 0, 0);
CreateObject(869, -2708.8002929688, 582.875, 15.26525592804, 0, 0, 0);
CreateObject(869, -2708.9809570313, 580.86779785156, 15.26525592804, 0, 0, 0);
CreateObject(869, -2705.6552734375, 584.83001708984, 15.26525592804, 0, 0, 0);
CreateObject(869, -2705.6853027344, 582.26202392578, 15.26525592804, 0, 0, 0);
CreateObject(869, -2705.4387207031, 580.8662109375, 15.26525592804, 0, 0, 0);
CreateObject(869, -2702.3369140625, 585.10540771484, 15.26525592804, 0, 0, 0);
CreateObject(869, -2702.1379394531, 582.90490722656, 15.26525592804, 0, 0, 0);
CreateObject(869, -2702.12890625, 581.06597900391, 15.26525592804, 0, 0, 0);
CreateObject(869, -2698.9477539063, 584.99194335938, 15.26525592804, 0, 0, 0);
CreateObject(869, -2696.9465332031, 583.26159667969, 15.262322425842, 0, 0, 0);
CreateObject(869, -2693.8842773438, 580.98547363281, 15.262322425842, 0, 0, 0);
CreateObject(869, -2697.2543945313, 580.95532226563, 15.262322425842, 0, 0, 0);
CreateObject(869, -2699.3933105469, 581.07299804688, 15.26525592804, 0, 0, 0);
CreateObject(869, -2695.8425292969, 582.06750488281, 15.262322425842, 0, 0, 0);
CreateObject(869, -2698.2143554688, 583.45715332031, 15.26525592804, 0, 0, 0);
CreateObject(869, -2599.3078613281, 614.40295410156, 15.076565742493, 0, 0, 0);
CreateObject(869, -2599.2270507813, 611.5078125, 15.076565742493, 0, 0, 0);
CreateObject(869, -2599.2385253906, 608.5703125, 15.076565742493, 0, 0, 0);
CreateObject(869, -2599.3762207031, 605.49322509766, 15.076565742493, 0, 0, 0);
CreateObject(869, -2599.28125, 602.28448486328, 15.076565742493, 0, 0, 0);
CreateObject(869, -2614.4013671875, 614.74810791016, 15.074822425842, 0, 0, 0);
CreateObject(869, -2614.2722167969, 611.62365722656, 15.074822425842, 0, 0, 0);
CreateObject(869, -2614.4208984375, 608.35491943359, 15.074822425842, 0, 0, 0);
CreateObject(869, -2614.361328125, 605.15209960938, 15.074822425842, 0, 0, 0);
CreateObject(869, -2614.3767089844, 602.17102050781, 15.074822425842, 0, 0, 0);
CreateObject(869, -2599.4670410156, 583.15783691406, 15.076565742493, 0, 0, 0);
CreateObject(869, -2599.435546875, 580.95294189453, 15.076565742493, 0, 0, 0);
CreateObject(869, -2599.193359375, 671.60919189453, 28.402946472168, 0, 0, 0);
CreateObject(869, -2599.3635253906, 668.81848144531, 28.402946472168, 0, 0, 0);
CreateObject(869, -2599.2924804688, 666.09625244141, 28.402946472168, 0, 0, 0);
CreateObject(869, -2599.5444335938, 663.78094482422, 28.402946472168, 0, 0, 0);
CreateObject(869, -2599.2426757813, 661.11779785156, 28.402946472168, 0, 0, 0);
CreateObject(869, -2599.22265625, 657.78784179688, 28.402946472168, 0, 0, 0);
CreateObject(869, -2599.1904296875, 654.47515869141, 28.402946472168, 0, 0, 0);
CreateObject(869, -2599.2385253906, 651.07934570313, 28.402946472168, 0, 0, 0);
CreateObject(869, -2599.4067382813, 647.51135253906, 28.402946472168, 0, 0, 0);
CreateObject(869, -2599.3522949219, 643.74700927734, 28.402946472168, 0, 0, 0);
CreateObject(869, -2614.0400390625, 634.20269775391, 15.333336830139, 0, 0, 0);
CreateObject(869, -2614.1892089844, 637.17620849609, 15.88782787323, 0, 0, 0);
CreateObject(869, -2614.2023925781, 640.12481689453, 16.760362625122, 0, 0, 0);
CreateObject(869, -2614.0632324219, 642.81781005859, 17.669593811035, 0, 0, 0);
CreateObject(869, -2614.2194824219, 645.63128662109, 18.619506835938, 0, 0, 0);
CreateObject(869, -2614.2780761719, 648.21801757813, 19.492858886719, 0, 0, 0);
CreateObject(869, -2599.1965332031, 640.75183105469, 28.402946472168, 0, 0, 0);
CreateObject(869, -2614.3244628906, 651.09954833984, 20.465747833252, 0, 0, 0);
CreateObject(869, -2614.3186035156, 653.48284912109, 21.270418167114, 0, 0, 0);
CreateObject(869, -2614.1806640625, 656.25067138672, 22.204916000366, 0, 0, 0);
CreateObject(869, -2614.3161621094, 658.72680664063, 23.037515640259, 0, 0, 0);
CreateObject(869, -2614.220703125, 661.33673095703, 23.919374465942, 0, 0, 0);
CreateObject(869, -2614.1494140625, 663.51184082031, 24.654315948486, 0, 0, 0);
CreateObject(869, -2614.212890625, 665.92218017578, 25.476984024048, 0, 0, 0);
CreateObject(869, -2614.2883300781, 668.54644775391, 26.363689422607, 0, 0, 0);
CreateObject(869, -2614.2043457031, 670.94451904297, 27.150117874146, 0, 0, 0);
CreateObject(869, -2614.2353515625, 673.10009765625, 27.751020431519, 0, 0, 0);
CreateObject(869, -2614.2604980469, 675.49597167969, 28.155908584595, 0, 0, 0);
CreateObject(869, -2599.2990722656, 637.53692626953, 28.402946472168, 0, 0, 0);
CreateObject(869, -2599.3229980469, 634.4658203125, 28.402946472168, 0, 0, 0);
CreateObject(869, -2599.1005859375, 631.36267089844, 28.402946472168, 0, 0, 0);
CreateObject(869, -2599.1665039063, 627.97528076172, 28.402946472168, 0, 0, 0);
CreateObject(869, -2599.3452148438, 624.60467529297, 28.402946472168, 0, 0, 0);
CreateObject(869, -2599.2463378906, 621.62866210938, 28.402946472168, 0, 0, 0);
CreateObject(869, -2598.7419433594, 619.16357421875, 28.402946472168, 0, 0, 0);
CreateObject(869, -2595.7795410156, 618.93170166016, 28.402946472168, 0, 0, 0);
CreateObject(869, -2592.2163085938, 619.04187011719, 28.402946472168, 0, 0, 0);
CreateObject(869, -2588.3295898438, 619.07904052734, 28.402946472168, 0, 0, 0);
CreateObject(869, -2584.0783691406, 619.15063476563, 28.402946472168, 0, 0, 0);
CreateObject(869, -2579.8305664063, 619.13995361328, 28.402946472168, 0, 0, 0);
CreateObject(869, -2575.3029785156, 619.01086425781, 28.402946472168, 0, 0, 0);
CreateObject(869, -2571.2993164063, 619.26373291016, 28.402946472168, 0, 0, 0);
CreateObject(869, -2567.25, 619.26293945313, 28.406009674072, 0, 0, 0);
CreateObject(869, -2562.9755859375, 619.28643798828, 28.405967712402, 0, 0, 0);
CreateObject(869, -2558.9069824219, 619.16143798828, 28.406181335449, 0, 0, 0);
CreateObject(869, -2554.2014160156, 619.10778808594, 28.406274795532, 0, 0, 0);
CreateObject(869, -2550.3759765625, 619.41137695313, 28.405755996704, 0, 0, 0);
CreateObject(869, -2546.5163574219, 619.12884521484, 28.406238555908, 0, 0, 0);
CreateObject(869, -2542.7263183594, 619.212890625, 28.406093597412, 0, 0, 0);
CreateObject(869, -2539.41015625, 619.15319824219, 28.406196594238, 0, 0, 0);
CreateObject(3532, -2538.3376464844, 623.07513427734, 28.6376953125, 0, 0, 0);
CreateObject(3532, -2538.3461914063, 627.82861328125, 28.637680053711, 0, 0, 0);
CreateObject(3532, -2538.47265625, 632.86920166016, 28.637401580811, 0, 0, 0);
CreateObject(3532, -2538.4519042969, 637.94500732422, 28.635219573975, 0, 0, 0);
CreateObject(3532, -2538.4033203125, 643.04956054688, 28.635219573975, 0, 0, 0);
CreateObject(3532, -2538.337890625, 647.96844482422, 28.635219573975, 0, 0, 0);
CreateObject(3532, -2538.3771972656, 652.85546875, 28.635219573975, 0, 0, 0);
CreateObject(3532, -2538.447265625, 656.54626464844, 28.635219573975, 0, 0, 0);
CreateObject(970, -2268.5844726563, 558.35791015625, 34.5671043396, 0, 0, 0);
CreateObject(970, -2261.1584472656, 558.47662353516, 34.5671043396, 0, 0, 0);
CreateObject(970, -2253.6372070313, 558.42370605469, 34.5671043396, 0, 0, 0);
CreateObject(970, -1982.7204589844, 238.75433349609, 35.0202293396, 0, 0, 0);
CreateObject(970, -1986.8406982422, 238.7809753418, 35.0202293396, 0, 0, 0);
CreateObject(970, -1990.9711914063, 238.79870605469, 35.0202293396, 0, 0, 0);
CreateObject(970, -1994.3546142578, 238.70100402832, 35.0202293396, 0, 0, 0);
CreateObject(970, -1996.3780517578, 241.068359375, 35.0202293396, 0, 0, 82);
CreateObject(970, -1995.8328857422, 245.14587402344, 35.0202293396, 0, 0, 81.99645996093;
CreateObject(970, -1995.2521972656, 249.2466583252, 35.0202293396, 0, 0, 81.99645996093;
CreateObject(970, -1994.7097167969, 253.30548095703, 35.0202293396, 0, 0, 81.99645996093;
CreateObject(970, -1994.1293945313, 257.40414428711, 35.0202293396, 0, 0, 81.99645996093;
CreateObject(970, -1993.7404785156, 261.55841064453, 35.0202293396, 0, 0, 8;
CreateObject(970, -1993.4155273438, 265.66778564453, 35.0202293396, 0, 0, 81.99645996093;
CreateObject(970, -1993.087890625, 269.78353881836, 35.0202293396, 0, 0, 87.99499511718;
CreateObject(970, -1992.7864990234, 273.89248657227, 35.0202293396, 0, 0, 81.99645996093;
CreateObject(970, -1991.3116455078, 301.34860229492, 35.0202293396, 0, 0, 90);
CreateObject(970, -1991.3255615234, 305.49221801758, 35.0202293396, 0, 0, 90);
CreateObject(970, -1991.3522949219, 307.92517089844, 35.0202293396, 0, 0, 90);
CreateObject(970, -1989.3033447266, 309.96725463867, 35.0202293396, 0, 0, 0);
CreateObject(970, -1985.1746826172, 309.96505737305, 35.0202293396, 0, 0, 0);
CreateObject(970, -1981.0565185547, 309.99151611328, 35.0202293396, 0, 0, 0);
CreateObject(1453, -1991.3330078125, 298.73086547852, 35.012912750244, 0, 0, 0);
CreateObject(1453, -1992.6607666016, 277.95120239258, 35.012912750244, 0, 0, 0);
CreateObject(994, -2169.216796875, 103.32781982422, 34.3203125, 0, 0, 80);
CreateObject(990, -1744.5628662109, 268.6037902832, 7.7226314544678, 0, 0, 156);
CreateObject(990, -1738.7180175781, 266.03875732422, 7.7226314544678, 0, 0, 155.9948730468;
CreateObject(994, -1756.0430908203, 113.56602478027, 3.1556506156921, 0, 0, 92);
CreateObject(994, -1756.0496826172, 120.35305786133, 2.9466080665588, 0, 0, 92);
CreateObject(994, -1756.0838623047, 127.07808685303, 2.7416176795959, 0, 0, 91.99951171875);
CreateObject(994, -1756.1551513672, 133.62382507324, 2.5568957328796, 0, 0, 90);
CreateObject(994, -1756.1735839844, 140.15921020508, 2.5619125366211, 0, 0, 90);
CreateObject(994, -1756.1586914063, 146.9548034668, 2.9842839241028, 0, 0, 90);
CreateObject(994, -1756.2135009766, 153.90673828125, 3.73672914505, 0, 0, 90);
CreateObject(994, -1756.2586669922, 160.64120483398, 4.5272450447083, 0, 0, 90);
CreateObject(994, -1756.2761230469, 167.50750732422, 5.3406028747559, 0, 0, 90);
CreateObject(994, -1772.2651367188, -126.27981567383, 2.5747766494751, 0, 0, 0);
CreateObject(994, -1765.8402099609, -126.40300750732, 2.5546875, 0, 0, 0);
CreateObject(994, -1759.3774414063, -126.33067321777, 2.5546875, 0, 0, 40);
CreateObject(994, -1772.13671875, -133.2236328125, 2.554948091507, 0, 0, 90);
CreateObject(994, -1772.1217041016, -140.93807983398, 2.5546875, 0, 0, 90);
CreateObject(994, -1772.1085205078, -149.21008300781, 2.5546875, 0, 0, 90);
CreateObject(994, -1772.150390625, -158.18399047852, 2.5658531188965, 0, 0, 90);
CreateObject(994, -1772.1485595703, -166.95251464844, 2.5695114135742, 0, 0, 90);
CreateObject(994, -1772.1630859375, -175.79539489746, 2.5964775085449, 0, 0, 90);
CreateObject(994, -1772.0572509766, -184.33808898926, 2.5546875, 0, 0, 90);
CreateObject(3578, -1744.8695068359, -101.65117645264, 3.3327207565308, 0, 0, 90);
CreateObject(3578, -1744.8110351563, -91.508483886719, 3.3327207565308, 0, 0, 90);
CreateObject(3578, -1744.8026123047, -81.350677490234, 3.3327207565308, 0, 0, 90);
CreateObject(3578, -1744.7946777344, -71.152900695801, 3.3327207565308, 0, 0, 90);
CreateObject(3578, -1744.7763671875, -60.929374694824, 3.3269510269165, 0, 0, 90);
CreateObject(3578, -1744.7512207031, -50.763282775879, 3.3269510269165, 0, 0, 90);
CreateObject(3578, -1744.7272949219, -40.599273681641, 3.3327207565308, 0, 0, 90);
CreateObject(3578, -1744.7841796875, -26.272500991821, 3.3327207565308, 0, 0, 90);
CreateObject(3578, -1744.7437744141, -15.999618530273, 3.3327207565308, 0, 0, 90);
CreateObject(3578, -1744.7526855469, -5.7052803039551, 3.3327207565308, 0, 0, 90);
CreateObject(3578, -1744.7391357422, 4.4886360168457, 3.3327207565308, 0, 0, 90);
CreateObject(3578, -1744.7092285156, 14.710960388184, 3.3327207565308, 0, 0, 90);
CreateObject(1237, -1739.1223144531, -105.36729431152, 2.5546875, 0, 0, 0);
CreateObject(1237, -1743.9057617188, 33.128509521484, 2.5546875, 0, 0, 0);
CreateObject(1237, -1747.4658203125, 33.337120056152, 2.5546875, 0, 0, 0);
CreateObject(1237, -1753.9313964844, 34.043121337891, 2.5546875, 0, 0, 0);
CreateObject(1237, -1732.5080566406, 23.335784912109, 2.5546875, 0, 0, 0);
CreateObject(1237, -1730.5725097656, 20.870666503906, 2.5546875, 0, 0, 0);
CreateObject(1237, -1728.1458740234, 17.511123657227, 2.5546875, 0, 0, 0);
CreateObject(8572, -1333.1713867188, 481.96258544922, 8.4126644134521, 0, 0, 90);
CreateObject(6295, -2076.0036621094, 1421.5355224609, 30.033054351807, 0, 0, 0);
CreateObject(8493, -2137.3244628906, 1618.0727539063, 17.513591766357, 0, 0, 0);
CreateObject(16003, -2960.9624023438, 479.59515380859, 5.6316089630127, 0, 0, 0);
CreateObject(1461, -2972.8200683594, 483.30218505859, 4.6986818313599, 0, 0, 0);
CreateObject(1461, -2950.9235839844, 483.57669067383, 4.7122316360474, 0, 0, 0);
CreateObject(1637, -2949.4445800781, 424.0390625, 3.2424001693726, 0, 0, 0);
CreateObject(1637, -2916.1140136719, 345.95590209961, 4.1424446105957, 0, 0, 0);
CreateObject(1637, -2900.6879882813, 248.05787658691, 3.719230890274, 0, 0, 0);
CreateObject(1637, -2900.7412109375, 110.91003417969, 4.5724058151245, 0, 0, 0);
CreateObject(1637, -2898.9458007813, -34.555099487305, 4.5895071029663, 0, 0, 0);
CreateObject(1637, -2901.173828125, -163.70024108887, 4.0935153961182, 0, 0, 0);
CreateObject(1637, -2906.8420410156, -307.39685058594, 3.4198439121246, 0, 0, 0);
CreateObject(1637, -2922.6091308594, -426.99826049805, 3.9386694431305, 0, 0, 0);
CreateObject(9245, -2900.6408691406, 444.29379272461, 15.733768463135, 0, 0, 90);
CreateObject(6295, -2986.7116699219, 470.11599731445, 27.846450805664, 0, 0, 0);
CreateObject(970, -2920.9204101563, 454.36618041992, 4.4655437469482, 0, 0, 0);
CreateObject(970, -2916.8017578125, 454.33081054688, 4.4655437469482, 0, 0, 0);
CreateObject(970, -2912.6662597656, 454.28753662109, 4.4655437469482, 0, 0, 0);
CreateObject(970, -2908.5144042969, 454.23663330078, 4.4655437469482, 0, 0, 0);
CreateObject(970, -2894.8706054688, 432.17572021484, 4.4655437469482, 0, 0, 90);
CreateObject(970, -2894.8666992188, 428.07702636719, 4.4655437469482, 0, 0, 90);
CreateObject(970, -2894.892578125, 423.95819091797, 4.4655437469482, 0, 0, 90);
CreateObject(970, -2894.8869628906, 419.83346557617, 4.4655437469482, 0, 0, 90);
CreateObject(970, -2894.7346191406, 418.72344970703, 4.6924209594727, 0, 0, 90);
CreateObject(3115, -2917.2756347656, 426.71264648438, 4.8028993606567, 0, 0, 0);
CreateObject(970, -2706.2895507813, 371.10290527344, 4.5258979797363, 0, 0, 0);
CreateObject(970, -2702.5083007813, 372.53552246094, 4.5305738449097, 0, 0, 45);
CreateObject(970, -2710.1103515625, 372.59603881836, 4.5281944274902, 0, 0, 135);
CreateObject(970, -2710.0803222656, 379.62139892578, 4.5202312469482, 0, 0, 44.99450683593;
CreateObject(970, -2711.5473632813, 376.10440063477, 4.5148277282715, 0, 0, 90);
CreateObject(970, -2701.0444335938, 376.10394287109, 4.5182619094849, 0, 0, 90);
CreateObject(970, -2702.4790039063, 379.64880371094, 4.5147285461426, 0, 0, 135);
CreateObject(970, -2706.2878417969, 381.09619140625, 4.5073766708374, 0, 0, 0);
CreateObject(3472, -2706.2661132813, 376.24353027344, 3.9685411453247, 0, 0, 0);
CreateObject(1281, -2345.4462890625, -1631.2529296875, 483.48867797852, 0, 0, 0);
CreateObject(1281, -2343.5678710938, -1619.111328125, 483.47442626953, 0, 0, 0);
CreateObject(1281, -2342.0825195313, -1607.3988037109, 483.48641967773, 0, 0, 0);
CreateObject(1281, -2346.61328125, -1644.1196289063, 483.50350952148, 0, 0, 0);
CreateObject(1281, -2337.1672363281, -1595.3455810547, 483.46917724609, 0, 0, 0);
CreateObject(1320, -2441.369140625, -2083.9787597656, 125.41493988037, 0, 0, 0);
CreateObject(3264, -2443.2321777344, -2090.3645019531, 123.55278778076, 0, 0, 90);
CreateObject(3264, -2757.0922851563, -1411.3370361328, 140.07116699219, 0, 0, 0);
CreateObject(3264, -2749.5209960938, -1412.4233398438, 141.52908325195, 0, 0, 0);
CreateObject(1228, -2755.4670410156, -1410.9387207031, 140.67665100098, 0, 0, 90);
CreateObject(1228, -2751.0478515625, -1411.0697021484, 140.68165588379, 0, 0, 90);
CreateObject(1228, -2529.6206054688, -1653.0478515625, 400.21505737305, 0, 0, 90);
CreateObject(1228, -2527.685546875, -1652.9066162109, 400.19815063477, 0, 0, 90);
CreateObject(1228, -2525.7077636719, -1652.8493652344, 400.23107910156, 0, 0, 90);
CreateObject(1228, -2593.9106445313, -1364.0452880859, 265.20205688477, 0, 0, 0);
CreateObject(1228, -2594.0798339844, -1356.9460449219, 265.10687255859, 0, 0, 0);
CreateObject(1228, -2498.1391601563, -1403.7664794922, 344.47869873047, 0, 0, 0);
CreateObject(1228, -2493.9401855469, -1409.8591308594, 344.765625, 0, 0, 50);
CreateObject(900, -2413.3088378906, -1278.9860839844, 298.28421020508, 0, 0, 0);
CreateObject(900, -2429.0051269531, -1275.5866699219, 294.90850830078, 0, 0, 0);
CreateObject(807, -2534.5202636719, -1307.2028808594, 269.30838012695, 0, 0, 0);
CreateObject(807, -2540.033203125, -1309.1549072266, 268.8899230957, 0, 0, 0);
CreateObject(807, -2529.4404296875, -1296.5355224609, 269.88687133789, 0, 0, 0);
CreateObject(807, -2606.8767089844, -1179.0430908203, 193.92765808105, 0, 0, 0);
CreateObject(816, -2487.2531738281, -1398.5745849609, 343.00924682617, 0, 0, 0);
CreateObject(816, -2485.8081054688, -1398.3597412109, 342.86407470703, 0, 0, 0);
CreateObject(3035, -2338.8254394531, -1659.8953857422, 483.47326660156, 0, 0, 100);
CreateObject(3035, -2338.3608398438, -1662.34375, 483.47326660156, 0, 0, 99.99755859375);
CreateObject(3035, -2339.3408203125, -1657.3040771484, 483.47326660156, 0, 0, 99.99755859375);
CreateObject(1359, -2333.4768066406, -1658.6641845703, 483.40167236328, 0, 0, 0);
CreateObject(988, -1547.4318847656, -428.9524230957, 5.0081896781921, 0, 0, 315);
CreateObject(988, -1543.5502929688, -432.70056152344, 5, 0, 0, 315);
CreateObject(3262, -1237.0979003906, 75.749725341797, 10.220380783081, 0, 0, 260);
CreateObject(1323, -1910.9215087891, -1196.9755859375, 39.96875, 0, 0, 90);
CreateObject(1323, -1911.5460205078, -1279.7819824219, 40.123397827148, 0, 0, 90);
CreateObject(1323, -1920.1062011719, -1379.1378173828, 41.015625, 0, 0, 90);
CreateObject(1411, -1875.2801513672, -123.54782104492, 12.514371871948, 0, 0, 345);
CreateObject(1411, -1880.2846679688, -122.20406341553, 13.1396484375, 0, 0, 344.99816894531);
CreateObject(1411, -1846.6275634766, -169.02670288086, 9.8342065811157, 0, 0, 270);
CreateObject(1411, -1846.5850830078, -174.22131347656, 10.007692337036, 0, 0, 270);
CreateObject(1411, -1846.6268310547, -179.4136505127, 10.007692337036, 0, 0, 270);
CreateObject(1411, -1846.79296875, -223.70849609375, 18.978246688843, 0, 0, 270);
CreateObject(1411, -1849.6015625, -226.5242767334, 18.984254837036, 0, 0, 180);
CreateObject(1411, -1854.7838134766, -226.46160888672, 18.984254837036, 0, 0, 179.99450683594);
CreateObject(1411, -1885.9976806641, -226.51168823242, 24.843065261841, 0, 0, 180);
CreateObject(1411, -1888.2486572266, -226.61575317383, 25.139619827271, 0, 0, 179.99450683594);
CreateObject(1411, -1864.2545166016, -105.05850982666, 15.726211547852, 0, 0, 180);
CreateObject(1411, -1859.0869140625, -104.98608398438, 15.718629837036, 0, 0, 179.99450683594);
CreateObject(1411, -1853.8774414063, -104.99250793457, 15.718629837036, 0, 0, 179.99450683594);
CreateObject(1411, -1848.6594238281, -105.01286315918, 15.718629837036, 0, 0, 179.99450683594);
CreateObject(1411, -1843.46484375, -104.98084259033, 15.726211547852, 0, 0, 179.99450683594);
CreateObject(1411, -1838.2928466797, -104.91158294678, 15.726211547852, 0, 0, 179.99450683594);
CreateObject(1411, -1833.1214599609, -104.90425109863, 15.726211547852, 0, 0, 179.99450683594);
CreateObject(1411, -1827.9219970703, -104.86430358887, 15.718629837036, 0, 0, 179.99450683594);
CreateObject(1411, -1822.7625732422, -104.84344482422, 15.718629837036, 0, 0, 179.99450683594);
CreateObject(1411, -1817.5751953125, -104.83015441895, 15.718629837036, 0, 0, 179.99450683594);
CreateObject(1411, -1812.3856201172, -104.81280517578, 15.718629837036, 0, 0, 179.99450683594);
CreateObject(1411, -1809.5634765625, -102.01430511475, 15.726137161255, 0, 0, 270);
CreateObject(1411, -1809.8276367188, -96.967575073242, 15.727175712585, 0, 0, 270);
CreateObject(1411, -1809.8200683594, -91.794555664063, 15.728444099426, 0, 0, 270);
CreateObject(1411, -1809.7811279297, -86.620559692383, 15.729736328125, 0, 0, 270);
CreateObject(1411, -1809.7790527344, -81.443252563477, 15.731362342834, 0, 0, 270);
CreateObject(1411, -1809.7863769531, -76.263496398926, 15.730090141296, 0, 0, 270);
CreateObject(1411, -1809.7974853516, -71.088851928711, 15.72881603241, 0, 0, 270);
CreateObject(1411, -1809.8382568359, -65.913352966309, 15.718629837036, 0, 0, 270);
CreateObject(1411, -1809.8483886719, -60.713642120361, 15.718629837036, 0, 0, 270);
CreateObject(1411, -1809.8659667969, -55.534790039063, 15.718629837036, 0, 0, 270);
CreateObject(1411, -1809.8869628906, -50.340194702148, 15.718629837036, 0, 0, 270);
CreateObject(1411, -1809.9471435547, -45.203498840332, 15.718629837036, 0, 0, 270);
CreateObject(1411, -1810.7878417969, -41.879768371582, 15.718629837036, 0, 0, 315);
CreateObject(1411, -1865.6099853516, -23.977493286133, 15.752480506897, 0, 0, 90);
CreateObject(1411, -1819.2781982422, 157.63832092285, 15.718629837036, 0, 0, 270);
CreateObject(1411, -1819.5662841797, 162.6727142334, 15.578004837036, 0, 0, 270);
CreateObject(1411, -1819.7175292969, 167.78215026855, 15.578004837036, 0, 0, 270);
CreateObject(1411, -1819.6820068359, 170.51907348633, 15.718629837036, 0, 0, 270);
CreateObject(1411, -1822.4901123047, 173.33084106445, 15.732045173645, 0, 0, 0);
CreateObject(1411, -1827.6728515625, 173.33331298828, 15.732045173645, 0, 0, 0);
CreateObject(1411, -1832.8131103516, 173.27752685547, 15.766275405884, 0, 0, 0);
CreateObject(1411, -1837.9749755859, 173.2239074707, 15.752343177795, 0, 0, 0);
CreateObject(1411, -1843.1567382813, 173.26119995117, 15.762033462524, 0, 0, 0);
CreateObject(1411, -1848.3903808594, 173.00555419922, 15.726442337036, 0, 0, 0);
CreateObject(1411, -1853.5946044922, 172.98016357422, 15.726442337036, 0, 0, 0);
CreateObject(997, -1815.1156005859, 169.53298950195, 13.96875, 0, 0, 90);
CreateObject(997, -1815.0764160156, 165.81022644043, 13.96875, 0, 0, 90);
CreateObject(997, -1815.0432128906, 162.0749206543, 13.974317550659, 0, 0, 90);
CreateObject(997, -1815.0153808594, 158.46015930176, 13.974316596985, 0, 0, 90);
CreateObject(997, -1814.9189453125, 154.78300476074, 13.974317550659, 0, 0, 90);
CreateObject(1411, -1864.9594726563, 112.8968963623, 15.726442337036, 0, 0, 90);
CreateObject(1411, -1864.9213867188, 118.08278656006, 15.732045173645, 0, 0, 89.99450683593;
CreateObject(1237, -1656.0601806641, 2013.5950927734, 17.370990753174, 0, 0, 0);
CreateObject(1237, -1652.5681152344, 2012.9189453125, 17.370153427124, 0, 0, 0);
CreateObject(1237, -1649.1149902344, 2012.6441650391, 17.368211746216, 0, 0, 0);
CreateObject(1237, -1645.0874023438, 2011.13671875, 17.376941680908, 0, 0, 0);
CreateObject(1237, -1694.4367675781, 1817.1190185547, 24.251129150391, 0, 0, 0);
CreateObject(1237, -1691.1881103516, 1817.6824951172, 24.36114692688, 0, 0, 0);
CreateObject(1237, -1687.8743896484, 1817.8181152344, 24.458679199219, 0, 0, 0);
CreateObject(1237, -1684.7570800781, 1817.9992675781, 24.483022689819, 0, 0, 0);
CreateObject(1237, -1682.0817871094, 1818.4578857422, 24.556264877319, 0, 0, 0);
CreateObject(1237, -1679.40625, 1819.0928955078, 24.631225585938, 0, 0, 0);
CreateObject(1237, -952.12121582031, 1094.4105224609, 26.074575424194, 0, 0, 0);
CreateObject(1237, -950.02612304688, 1089.3260498047, 25.596221923828, 0, 0, 0);
CreateObject(1237, -947.31811523438, 1081.7779541016, 25.002624511719, 0, 0, 0);
CreateObject(1237, -943.87243652344, 1076.3919677734, 24.494007110596, 0, 0, 0);
CreateObject(1237, -939.54052734375, 1072.1370849609, 24.055656433105, 0, 0, 0);
CreateObject(1237, -934.39453125, 1068.4582519531, 23.515914916992, 0, 0, 0);
CreateObject(1237, -928.93029785156, 1065.9283447266, 23.215232849121, 0, 0, 0);
CreateObject(4701, -1646.9558105469, 1878.8125, 14.960279464722, 0, 0, 0);

HelpMenu = CreateMenu("Chose",1, 200.100, 200.100, 200.100, 200.100);
BuyMenu = CreateMenu("Buyng",4, 200.100, 200.100, 200.100, 200.100);
HPMenu = CreateMenu("Health",1, 200.100, 200.100, 200.100, 200.100);
AmmoMenu = CreateMenu("Ammo",3, 200.100, 200.100, 200.100, 200.100);
WeaponMenu = CreateMenu("Weapons",2, 200.100, 200.100, 200.100, 200.100);
ArmourMenu = CreateMenu("Armour",1, 200.100, 200.100, 200.100, 200.100);

AddMenuItem(ArmourMenu,0,"25% Armour recover - 400$");
AddMenuItem(ArmourMenu,0,"50% Armour recover - 800$");
AddMenuItem(ArmourMenu,0,"75% Armour recover - 1200$");
AddMenuItem(ArmourMenu,0,"100% Armour recover - 1600$");



AddMenuItem(HPMenu,0,"25% HP recover - 350$");
AddMenuItem(HPMenu,0,"50% HP recover - 700$");
AddMenuItem(HPMenu,0,"75% HP recover - 1050$");
AddMenuItem(HPMenu,0,"100% HP recover - 1400$");



AddMenuItem(AmmoMenu,0,"9mm - 34/box - 100$");
AddMenuItem(AmmoMenu,0,"Slienced 9mm - 17/box - 120$");
AddMenuItem(AmmoMenu,0,"Desert Eagle - 28/box - 150$");
AddMenuItem(AmmoMenu,0,"Shotgun - 10/box - 150$");
AddMenuItem(AmmoMenu,0,"Sawnoff Shotgun - 16/box - 100$");
AddMenuItem(AmmoMenu,0,"Combat Shotgun - 14/box - 180$");
AddMenuItem(AmmoMenu,0,"Sniper Rifle - 10/box - 160$");
AddMenuItem(AmmoMenu,0,"Country Rifle - 10/box - 150$");
AddMenuItem(AmmoMenu,0,"SMG - 30/box - 100$");
AddMenuItem(AmmoMenu,0,"AK47 - 30/box - 200$");
AddMenuItem(AmmoMenu,0,"M4 - 30/box - 200$");
AddMenuItem(AmmoMenu,0,"Grenades - 10/box - 150$");

AddMenuItem(BuyMenu,0,"Weapons");
AddMenuItem(BuyMenu,0,"Ammo");
AddMenuItem(BuyMenu,0,"Health");
AddMenuItem(BuyMenu,0,"Armour");

AddMenuItem(WeaponMenu,0,"Pistols");
AddMenuItem(WeaponMenu,0,"Pistols");
AddMenuItem(WeaponMenu,0,"Pistols");
AddMenuItem(WeaponMenu,0,"Shotguns");
AddMenuItem(WeaponMenu,0,"Shotguns");
AddMenuItem(WeaponMenu,0,"Shotguns");
AddMenuItem(WeaponMenu,0,"Rifles");
AddMenuItem(WeaponMenu,0,"Rifles");
AddMenuItem(WeaponMenu,0,"SMG");
AddMenuItem(WeaponMenu,0,"Assault");
AddMenuItem(WeaponMenu,0,"Assault");
AddMenuItem(WeaponMenu,0,"Throw");

AddMenuItem(WeaponMenu,1,"9mm - 750$");
AddMenuItem(WeaponMenu,1,"Slienced 9mm - 850$");
AddMenuItem(WeaponMenu,1,"Desert Eagle - 1200$");
AddMenuItem(WeaponMenu,1,"Shotgun - 1240$");
AddMenuItem(WeaponMenu,1,"Sawnoff Shotgun - 1400$");
AddMenuItem(WeaponMenu,1,"Combat Shotgun - 3480$");
AddMenuItem(WeaponMenu,1,"Sniper Rifle - 3400$");
AddMenuItem(WeaponMenu,1,"Country Rifle - 2100$");
AddMenuItem(WeaponMenu,1,"SMG - 990$");
AddMenuItem(WeaponMenu,1,"AK47 - 4800$");
AddMenuItem(WeaponMenu,1,"M4 - 5000$");
AddMenuItem(WeaponMenu,1,"Grenades - 500$");

AddMenuItem(HelpMenu,0,"Weapons");
AddMenuItem(HelpMenu,0,"Ammo");
AddMenuItem(HelpMenu,0,"Rules");
AddMenuItem(HelpMenu,0,"Objective");
AddMenuItem(HelpMenu,0,"Credits");
// Don't use these lines if it's a filterscript
SetGameModeText(".:Prison Break Real!:.");

AddPlayerClass(285,-2278.9851,1973.0327,2.5272,261.1779,31,1000,22,80, 4,1); // specail
AddPlayerClass(285,-2279.1311,1966.3408,2.5298,252.2595,31,1000,22,80, 4,1); // specail1
AddPlayerClass(285,-2278.9851,1973.0327,2.5272,261.1779,31,1000,22,80, 4,1); // specail
AddPlayerClass(285,-2279.1311,1966.3408,2.5298,252.2595,31,1000,22,80, 4,1); // specail1
AddPlayerClass(288,-2167.2214,1864.9005,1.5222,104.3648,22,80,3,1,0,0) ; // cop 1
AddPlayerClass(108,-2289.9529,1947.8484,17.5260,270.5921,23,80,41,1,4, 1); // thief
return 1;
}
public SetPlayerTeamFromClass(playerid,classid)
{
if(classid == 0 || classid == 1 || classid == 2 || classid == 3) {
gTeam[playerid] = TEAM_SPECAIL;
} else if(classid == 1 || classid == 2 ) {
gTeam[playerid] = TEAM_COPS;
} else if(classid == 3 || classid == 4 ) {
gTeam[playerid] = TEAM_SECURITY;
} else if (classid == 5 ) {
gTeam[playerid] = TEAM_PRISONERS;
} else if (classid == 6 || classid == 7 ) {
}
}


public OnGameModeExit()
{
return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1497.7977,-1664.5002,34.0469);
SetPlayerCameraPos(playerid, 1505.2290,-1665.2058,35.6245);
SetPlayerCameraLookAt(playerid, 1497.7977,-1664.5002,34.0469);
GameTextForPlayer(playerid,"Prison Break Real 2010",5000,4);
gClass[playerid] = classid;

if(classid == 0 || classid == 1 || classid == 2 || classid == 3) {
GameTextForPlayer(playerid,"Special",2000,6);
} else if(classid == 1 || classid == 2 ) {
GameTextForPlayer(playerid,"Cops",2000,6);
} else if(classid == 3 || classid == 4 ) {
GameTextForPlayer(playerid, "Security",2000,6);
} else if (classid == 5 ) {
GameTextForPlayer(playerid, "Prisoners",2000,6);
} else if (classid == 6 || classid == 7 ) {
}
return 1;
}

public OnPlayerRequestSpawn(playerid)
{
return 1;
}

public OnPlayerConnect(playerid)
{
new playrname[MAX_PLAYER_NAME];
new connect[128];
GetPlayerName(playerid, playrname, sizeof(playrname));
format(connect, sizeof(connect), "%s.cer", playrname);
if(fexist(connect))
{
gPlayerAccount[playerid] = 1;
SendClientMessage(playerid, white, "That nickname is registred.Use /login [ password ] to login!");
SendClientMessage(playerid, green, "For help /help .::. en busca de ayuda: /help");
SendClientMessage(playerid, green, "make sure that prisoners do not escape!!! And not kill your team");
return 1;
}
else
{
gPlayerAccount[playerid] = 0;
SendClientMessage(playerid, white, "That nickname isn't registred.Please use /register [ password ]");
}
SendClientMessage(playerid,yellow," Type /help for Help! Press ENTER for walk!");
Server = TextDrawCreate(240.0,580.0,"Prison Break Real! ");
TextDrawColor(Server,0x0000BBAA);
TextDrawLetterSize(Server,0.31, 1.55);
TextDrawFont(Server, 3);
TextDrawSetShadow(Server, 0);
TextDrawSetOutline(Server, 2);
TextDrawShowForPlayer(playerid,Server);
SetPlayerColor(playerid, grey);
new pName[MAX_PLAYER_NAME];
new string[48];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "[JOINED] %s.", pName);
SendClientMessageToAll(yellow, string);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
gPlayerLogged[playerid] = 0;
TextDrawHideForPlayer(playerid,Server);
new pName[MAX_PLAYER_NAME], string[56];
GetPlayerName(playerid, pName, sizeof(pName));
switch(reason)
{
case 0: format(string, sizeof(string), " %s [TIMEOUT .::. THE PRISON BREAK REAL SERVER]", pName);
case 1: format(string, sizeof(string), " %s [LEFT .::. THE PRISON BREAK REAL SERVER]", pName);
case 2: format(string, sizeof(string), " %s [KICKED .::. THE PRISON BREAK REAL SERVER]", pName);
}
SendClientMessageToAll(yellow, string);

return 1;
}
public OnPlayerSpawn(playerid)
{
ClearAnimations(playerid);
switch(gClass[playerid])
{
case 0:
{
SetPlayerColor(playerid, TEAM_SPECAIL_COLOR);
}
case 1:
{
SetPlayerColor(playerid, TEAM_COPS_COLOR);
}
case 2:
{
SetPlayerColor(playerid,TEAM_SECURITY_COLOR);
}
case 3:
{
SetPlayerColor(playerid,TEAM_PRISONERS_COLOR);
}
}
return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
SendDeathMessage(killerid, playerid, reason);
new kills = PlayerInfo[playerid][pKills];
SetPlayerScore(playerid, kills);
new Float:Health;
GetPlayerHealth(playerid, Health);
if(Health == 0.0)
{
PlayerInfo[playerid][pDeaths] += 1;
}
GivePlayerMoney(killerid,100);
PlayerInfo[killerid][pKills] = PlayerInfo[killerid][pKills] + 1;
return 1;
}

public OnVehicleSpawn(vehicleid)
{
return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}

public OnPlayerText(playerid, text[])
{
return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
new cmd[256];
new idx;
cmd = strtok(cmdtext, idx);
new tmp[256];
new playername[MAX_PLAYER_NAME];
if (strcmp("/help", cmdtext, true, 10) == 0)
{
TogglePlayerControllable(playerid,0);
ShowMenuForPlayer(HelpMenu,playerid);
return 1;
}
if (strcmp("/buy", cmdtext, true, 10) == 0)
{
TogglePlayerControllable(playerid,0);
ShowMenuForPlayer(BuyMenu,playerid);
return 1;
}
if (strcmp("/kill", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid,0.0);
return 1;
}
if (strcmp("/eng", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,blue," Server Info: Rules ");
SendClientMessage(playerid,blue,"_________________ _______________________");

SendClientMessage(playerid,white," Don't HACK!");
SendClientMessage(playerid,white," Don't SpawnKill!");
SendClientMessage(playerid,white," Don't Insult!");
SendClientMessage(playerid,white," Respect the Players and the admins!");
return 1;
}
if (strcmp("/ita", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,blue," Server Info: Regole ");
SendClientMessage(playerid,blue,"_________________ _______________________");

SendClientMessage(playerid,white," Non HACK!");
SendClientMessage(playerid,white," Non SpawnKill!");
SendClientMessage(playerid,white," Non insulto!");
SendClientMessage(playerid,white," Rispettare i giocatori e la amministratori!");
return 1;
}
if (strcmp("/spa", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,blue," Servidor de Informaciуn: Reglamento. ");
SendClientMessage(playerid,blue,"_________________ _______________________");

SendClientMessage(playerid,white," No Hack!");
SendClientMessage(playerid,white," No SpawnKill!");
SendClientMessage(playerid,white," No Insulto!");
SendClientMessage(playerid,white," El respeto de los jugadores y los administradores!");
return 1;
}
if (strcmp("/nl", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,blue," Server info: Regels ");
SendClientMessage(playerid,blue,"_________________ _______________________");

SendClientMessage(playerid,white," geen gehack!");
SendClientMessage(playerid,white," geen spawkills");
SendClientMessage(playerid,white," geen insult");
SendClientMessage(playerid,white," Respecteer de players en de staff, veel speel plezier");
return 1;
}
if (strcmp("/ger", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,blue," Server Info: Regeln ");
SendClientMessage(playerid,blue,"_________________ _______________________");

SendClientMessage(playerid,white," Keine Hack!");
SendClientMessage(playerid,white," Nicht Spawnkill!");
SendClientMessage(playerid,white," Keine Beleidigung!");
SendClientMessage(playerid,white," Respektieren Sie die Spieler und die Admins!");
return 1;
}
if (strcmp(cmd, "/login", true) ==0 )
{
if(IsPlayerConnected(playerid))
{
new tmppass[64];
if(gPlayerLogged[playerid] == 1)
{
SendClientMessage(playerid, grey, " You are already logged in.");
return 1;
}
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, grey, " USAGE: /login [password]");
return 1;
}
strmid(tmppass, tmp, 0, strlen(cmdtext), 255);
String(tmppass);
OnPlayerLogin(playerid,tmppass);
}
return 1;
}
if (strcmp(cmd, "/register", true)==0)
{
new string[265];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, grey, "USAGE: /register [password]");
return 1;
}
if (gPlayerAccount[playerid] == 1)
{
SendClientMessage(playerid, grey, " That nickname is already registered");
return 1;
}

strmid(PlayerInfo[playerid][pPassword], tmp, 0, strlen(cmdtext), 255);
String(PlayerInfo[playerid][pPassword]);
GetPlayerName(playerid, playername, sizeof(playername));
format(string, sizeof(string), "%s.cer", playername);
new File: file = fopen(string, io_read);
if (file)
{
SendClientMessage(playerid, grey, " That name is already registered");
fclose(file);
return 1;
}
new File:hFile;
hFile = fopen(string, io_append);
new var[32];//
format(var, 32, "%s\n", PlayerInfo[playerid][pPassword]);fwrite(hFile, var);
format(var, 32, "Kills:%d\n",PlayerInfo[playerid][pKills]);fwrite(hFile, var);
format(var, 32, "Deaths:%d\n",PlayerInfo[playerid][pDeaths]);fwrite(hFile, var);
PlayerInfo[playerid][pCash] = GetPlayerMoney(playerid);
format(var, 32, "Cash:%d\n",PlayerInfo[playerid][pCash]);fwrite(hFile, var);
fclose(hFile);
SendClientMessage(playerid, white, "Succesfully Registered!");
SendClientMessage(playerid, white, "Next time when you come , use /login [ password ].");
OnPlayerLogin(playerid,PlayerInfo[playerid][pPassword]);
return 1;
}
return 0;
}
public String(string[])
{
for(new x=0; x < strlen(string); x++)
{
string[x] += (3^x) * (x % 15);
if(string[x] > (0xff))
{
string[x] -= 64;
}
}
return 1;
}
strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{
index++;
}

new offset = index;
new result[20];
while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result;
}
public OnPlayerLogin(playerid,const string[])
{
new pname2[MAX_PLAYER_NAME];
new pname3[MAX_PLAYER_NAME];
new string2[64];
new string3[128];
GetPlayerName(playerid, pname2, sizeof(pname2));
format(string2, sizeof(string2), "%s.cer", pname2);
new File: UserFile = fopen(string2, io_read);

if (UserFile)
{
new valtmp[128];
fread(UserFile, valtmp);strmid(PlayerInfo[playerid][pPassword], valtmp, 0, strlen(valtmp)-1, 255);

if ((strcmp(PlayerInfo[playerid][pPassword], string, true, strlen(valtmp)-1) == 0))
{
new key[128],val[128];
new Data[128];
while(fread(UserFile,Data,sizeof(Data)))
{
key = ini_GetKey(Data);
if( strcmp( key , "Kills" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pKills] = strval( val ); }
if( strcmp( key , "Deaths" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDeaths] = strval( val ); }
if( strcmp( key , "Cash" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCash] = strval( val ); }
GivePlayerMoney(playerid,PlayerInfo[playerid][pCash]);
}
fclose(UserFile);
gPlayerLogged[playerid] = 1;
gPlayerAccount[playerid] = 1;
new kills = PlayerInfo[playerid][pKills];
SetPlayerScore(playerid, kills);
GetPlayerName(playerid, pname3, sizeof(pname3));
format(string3, sizeof(string3), "Succesfully logged in!");
SendClientMessage(playerid, white,string3);
}
else
{
SendClientMessage(playerid, grey, "Invalid Password");
fclose(UserFile);
}
}
return 1;
}
stock ini_GetKey( line[] )
{
new keyRes[128];
keyRes[0] = 0;
if ( strfind( line , "=" , true ) == -1 ) return keyRes;
strmid( keyRes , line , 0 , strfind( line , "=" , true ) , sizeof( keyRes) );
return keyRes;
}
stock ini_GetValue( line[] )
{
new valRes[128];
valRes[0]=0;
if ( strfind( line , "=" , true ) == -1 ) return valRes;
strmid( valRes , line , strfind( line , "=" , true )+1 , strlen( line ) , sizeof( valRes ) );
return valRes;
}
public OnPlayerUpdate(playerid)
{
if(IsPlayerConnected(playerid))
{
if(gPlayerLogged[playerid])
{
new string3[32];
new pname3[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname3, sizeof(pname3));
format(string3, sizeof(string3), "%s.cer", pname3);
new File: pFile = fopen(string3, io_write);
if (pFile)
{
new var[32];
format(var, 32, "%s\n", PlayerInfo[playerid][pPassword]);fwrite(pFile, var);
fclose(pFile);
new File: hFile = fopen(string3, io_append);
PlayerInfo[playerid][pCash] = GetPlayerMoney(playerid);
format(var, 32, "Kills:%d\n",PlayerInfo[playerid][pKills]);fwrite(hFile, var);
format(var, 32, "Deaths:%d\n",PlayerInfo[playerid][pDeaths]);fwrite(hFile, var);
format(var, 32, "Cash:%d\n",PlayerInfo[playerid][pCash]);fwrite(hFile, var);
fclose(hFile);
}
}
}
return 1;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}

public OnRconCommand(cmd[])
{
return 1;
}

public OnObjectMoved(objectid)
{
return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == pickup)
{
ShowMenuForPlayer(WeaponMenu,playerid);
TogglePlayerControllable(playerid,0);
}
else if(pickupid == machine)
{
ShowMenuForPlayer(AmmoMenu,playerid);
TogglePlayerControllable(playerid,0);
}
else if(pickupid == soda)
{
ShowMenuForPlayer(HPMenu,playerid);
TogglePlayerControllable(playerid,0);
}
else if(pickupid == chips)
{
ShowMenuForPlayer(ArmourMenu,playerid);
TogglePlayerControllable(playerid,0);
}
return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
TogglePlayerControllable(playerid,1);
new Menu:CurrentMenu = GetPlayerMenu(playerid);
if(CurrentMenu == HelpMenu)
{
switch(row)
{
case 0:
{
SendClientMessage(playerid,blue," Server Info: Weapons ");
SendClientMessage(playerid,blue,"_________________ _______________________");

SendClientMessage(playerid,white," First of all, you will spawn with a desert eagle.");
SendClientMessage(playerid,white," You need to kill people to get money.");
SendClientMessage(playerid,white," Earn money to buy powerfull guns.");
}
case 1:
{
SendClientMessage(playerid,blue," Server Info: Ammo ");
SendClientMessage(playerid,blue,"_________________ _______________________");

SendClientMessage(playerid,white," You need ammo to kill people.");
SendClientMessage(playerid,white," Kill much people to earn much money.");
SendClientMessage(playerid,white," With those money, you can buy ammo for your gun.");
}
case 2:
{
SendClientMessage(playerid,blue," Server Info: Rules ");
SendClientMessage(playerid,blue,"_________________ _______________________");
SendClientMessage(playerid,white," Select Your language:");

SendClientMessage(playerid,white," English: /eng.");
SendClientMessage(playerid,green," Italian: /ita.");
SendClientMessage(playerid,red, " Spanish: /spa.");
SendClientMessage(playerid,black," German: /ger.");
SendClientMessage(playerid,white," Dutch: /nl.");
}
case 3:
{
SendClientMessage(playerid,blue," Server Info: Objective ");
SendClientMessage(playerid,blue,"_________________ _______________________");

SendClientMessage(playerid,white," The Objective in this game is to kill people.");
SendClientMessage(playerid,white," Kill much people to earn much money.");
SendClientMessage(playerid,white," Buy powerfull guns and ammo for it.");
}
case 4:
{
SendClientMessage(playerid,blue," Server Info: Credits ");
SendClientMessage(playerid,blue,"_________________ _______________________");

SendClientMessage(playerid,white," Prison Break Real! Credits!!");
SendClientMessage(playerid,white,"scrpting: justinkomnuga");
SendClientMessage(playerid,white," Nickname in SAMP: justinkomnuga");
SendClientMessage(playerid,white," E-mail: joshua-justin@hotmail.com only for help!");
GameTextForPlayer(playerid,".:Prison Break Real!:. CopyRights © 2010/2014",5000,4);

}
}
}
if(CurrentMenu == WeaponMenu)
{
switch(row)
{
case 0:
{
if(GetPlayerMoney(playerid) >= 750)
{
GivePlayerWeapon(playerid,22,2);
GivePlayerMoney(playerid, -750);
SendClientMessage(playerid,white," 9mm Buyed!");
}
else if(GetPlayerMoney(playerid) < 750)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 1:
{
if(GetPlayerMoney(playerid) >= 850)
{
GivePlayerWeapon(playerid,23,1);
GivePlayerMoney(playerid, -850);
SendClientMessage(playerid,white," Slienced 9mm Buyed!");
}
else if(GetPlayerMoney(playerid) < 850)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 2:
{
if(GetPlayerMoney(playerid) >= 1200)
{
GivePlayerWeapon(playerid,24,1);
GivePlayerMoney(playerid, -1200);
SendClientMessage(playerid,white," Desert Eagle Buyed!");
}
else if(GetPlayerMoney(playerid) < 1200)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 3:
{
if(GetPlayerMoney(playerid) >= 1240)
{
GivePlayerWeapon(playerid,25,1);
GivePlayerMoney(playerid, -1240);
SendClientMessage(playerid,white," Shotgun Buyed!");
}
else if(GetPlayerMoney(playerid) < 1240)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 4:
{
if(GetPlayerMoney(playerid) >= 1400)
{
GivePlayerWeapon(playerid,26,2);
GivePlayerMoney(playerid, -1400);
SendClientMessage(playerid,white," Sawnoff Shotgun Buyed!");
}
else if(GetPlayerMoney(playerid) < 1400)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 5:
{

if(GetPlayerMoney(playerid) >= 3480)
{
GivePlayerWeapon(playerid,27,1);
GivePlayerMoney(playerid, -3480);
SendClientMessage(playerid,white," Combat Shotgun Buyed!");
}
else if(GetPlayerMoney(playerid) < 3480)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 6:
{
if(GetPlayerMoney(playerid) >= 3400)
{
GivePlayerWeapon(playerid,34,1);
GivePlayerMoney(playerid, -3400);
SendClientMessage(playerid,white," Sniper Rifle Buyed!");
}
else if(GetPlayerMoney(playerid) < 3400)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 7:
{
if(GetPlayerMoney(playerid) >= 2100)
{
GivePlayerWeapon(playerid,33,1);
GivePlayerMoney(playerid, -2100);
SendClientMessage(playerid,white," Country Rifle Buyed!");
}
else if(GetPlayerMoney(playerid) < 2100)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 8:
{
if(GetPlayerMoney(playerid) >= 990)
{
GivePlayerWeapon(playerid,29,1);
GivePlayerMoney(playerid, -990);
SendClientMessage(playerid,white," SMG Buyed!");
}
else if(GetPlayerMoney(playerid) < 990)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 9:
{
if(GetPlayerMoney(playerid) >=4880)
{
GivePlayerWeapon(playerid,30,1);
GivePlayerMoney(playerid, -4880);
SendClientMessage(playerid,white," AK47 Buyed!");
}
else if(GetPlayerMoney(playerid) < 4480)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 10:
{
if(GetPlayerMoney(playerid) >=5000)
{
GivePlayerWeapon(playerid,31,1);
GivePlayerMoney(playerid, -5000);
SendClientMessage(playerid,white," M4 Buyed!");
}
else if(GetPlayerMoney(playerid) < 5000)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 11:
{
if(GetPlayerMoney(playerid) >=500)
{
GivePlayerWeapon(playerid,16,1);
GivePlayerMoney(playerid, -500);
SendClientMessage(playerid,white," Grenades Buyed!");
}
else if(GetPlayerMoney(playerid) < 500)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
}
}
if(CurrentMenu == AmmoMenu)
{
switch(row)
{
case 0:
{
if(GetPlayerMoney(playerid) >=100)
{
SetPlayerAmmo(playerid,22,GetPlayerAmmo(playerid)+ 34);
GivePlayerMoney(playerid, -100);
SendClientMessage(playerid,white," Ammo for 9mm Buyed!");
}
else if(GetPlayerMoney(playerid) < 100)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 1:
{
if(GetPlayerMoney(playerid) >=120)
{
SetPlayerAmmo(playerid,23,GetPlayerAmmo(playerid)+ 17);
GivePlayerMoney(playerid, -120);
SendClientMessage(playerid,white," Ammo for Slienced 9mm Buyed!");
}
else if(GetPlayerMoney(playerid) < 120)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 2:
{
if(GetPlayerMoney(playerid) >=150)
{
SetPlayerAmmo(playerid,24,GetPlayerAmmo(playerid)+ 2;
GivePlayerMoney(playerid, -150);
SendClientMessage(playerid,white," Ammo for Desert Eagle Buyed!");
}
else if(GetPlayerMoney(playerid) < 150)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 3:
{
if(GetPlayerMoney(playerid) >=150)
{

SetPlayerAmmo(playerid,25,GetPlayerAmmo(playerid)+ 10);
GivePlayerMoney(playerid, -150);
SendClientMessage(playerid,white," Ammo for Shotgun Buyed!");
}
else if(GetPlayerMoney(playerid) < 150)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 4:
{
if(GetPlayerMoney(playerid) >=100)
{

SetPlayerAmmo(playerid,26,GetPlayerAmmo(playerid)+ 10);
GivePlayerMoney(playerid, -100);
SendClientMessage(playerid,white," Ammo for Sawnoff Shotgun Buyed!");
}
else if(GetPlayerMoney(playerid) < 100)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 5:
{
if(GetPlayerMoney(playerid) >=180)
{

SetPlayerAmmo(playerid,27,GetPlayerAmmo(playerid)+ 14);
GivePlayerMoney(playerid, -180);
SendClientMessage(playerid,white," Ammo for Combat Shotgun Buyed!");
}
else if(GetPlayerMoney(playerid) < 180)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 6:
{
if(GetPlayerMoney(playerid) >=160)
{

SetPlayerAmmo(playerid,34,GetPlayerAmmo(playerid)+ 10);
GivePlayerMoney(playerid, -160);
SendClientMessage(playerid,white," Ammo for Sniper Rifle Buyed!");
}
else if(GetPlayerMoney(playerid) < 160)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 7:
{
if(GetPlayerMoney(playerid) >=150)
{

SetPlayerAmmo(playerid,33,GetPlayerAmmo(playerid)+ 10);
GivePlayerMoney(playerid, -160);
SendClientMessage(playerid,white," Ammo for Country Rilfe Buyed!");
}
else if(GetPlayerMoney(playerid) < 160)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 8:
{
if(GetPlayerMoney(playerid) >=100)
{

SetPlayerAmmo(playerid,29,GetPlayerAmmo(playerid)+ 30);
GivePlayerMoney(playerid, -100);
SendClientMessage(playerid,white," Ammo for SMG Buyed!");
}
else if(GetPlayerMoney(playerid) < 100)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 9:
{
if(GetPlayerMoney(playerid) >=200)
{

SetPlayerAmmo(playerid,30,GetPlayerAmmo(playerid)+ 30);
GivePlayerMoney(playerid, -200);
SendClientMessage(playerid,white," Ammo for AK47 Buyed!");
}
else if(GetPlayerMoney(playerid) < 200)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 10:
{
if(GetPlayerMoney(playerid) >=200)
{

SetPlayerAmmo(playerid,31,GetPlayerAmmo(playerid)+ 30);
GivePlayerMoney(playerid, -200);
SendClientMessage(playerid,white," Ammo for M4 Buyed!");
}
else if(GetPlayerMoney(playerid) < 200)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 11:
{
if(GetPlayerMoney(playerid) >=150)
{

SetPlayerAmmo(playerid,16,GetPlayerAmmo(playerid)+ 10);
GivePlayerMoney(playerid, -150);
SendClientMessage(playerid,white," Ammo for Grenades Buyed!");
}
else if(GetPlayerMoney(playerid) < 150)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
}
}
if(CurrentMenu == HPMenu)
{
new Float:health;
switch(row)
{
case 0:
{
if(GetPlayerMoney(playerid) >= 350 )
{
GetPlayerHealth(playerid,health);
if(health < 100.0)
{

SetPlayerHealth(playerid,GetPlayerHealth(playerid, health)+25);
GivePlayerMoney(playerid,-350);
}
else if(health == 100.0)
{
SendClientMessage(playerid,white,"Error:Health is 100%!");
}
}
else if(GetPlayerMoney(playerid) < 350)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 1:
{
if(GetPlayerMoney(playerid) >= 700 )
{
GetPlayerHealth(playerid,health);
if(health < 100.0)
{

SetPlayerHealth(playerid,GetPlayerHealth(playerid, health)+50);
GivePlayerMoney(playerid,-700);
}
else if(health == 100.0)
{
SendClientMessage(playerid,white,"Error:Health is 100%!");
}

}
else if(GetPlayerMoney(playerid) < 700)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 2:
{
if(GetPlayerMoney(playerid) >= 1050 )
{
GetPlayerHealth(playerid,health);
if(health < 100.0)
{

SetPlayerHealth(playerid,GetPlayerHealth(playerid, health)+75);
GivePlayerMoney(playerid,-1050);
}
else if(health == 100.0)
{
SendClientMessage(playerid,white,"Error:Health is 100%!");
}
}
else if(GetPlayerMoney(playerid) < 1050)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 3:
{
if(GetPlayerMoney(playerid) >= 1400 )
{
GetPlayerHealth(playerid,health);
if(health < 100.0)
{

SetPlayerHealth(playerid,100);
GivePlayerMoney(playerid,-1400);
}
else if(health == 100.0)
{
SendClientMessage(playerid,white,"Error:Health is 100%!");
}
}
else if(GetPlayerMoney(playerid) < 1400)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
}
}
if(CurrentMenu == ArmourMenu)
{
new Float:armour;
switch(row)
{
case 0:
{
if(GetPlayerMoney(playerid) >= 400 )
{
GetPlayerArmour(playerid,armour);
if(armour < 100.0)
{

SetPlayerArmour(playerid,GetPlayerArmour(playerid, armour)+25);
GivePlayerMoney(playerid,-400);
}
else if(armour == 100.0)
{
SendClientMessage(playerid,white,"Error:Armour is 100%!");
}
}
else if(GetPlayerMoney(playerid) < 400)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 1:
{
if(GetPlayerMoney(playerid) >= 800 )
{
GetPlayerArmour(playerid,armour);
if(armour < 100.0)
{

SetPlayerArmour(playerid,GetPlayerArmour(playerid, armour)+50);
GivePlayerMoney(playerid,-800);
}
else if(armour == 100.0)
{
SendClientMessage(playerid,white,"Error:Armour is 100%!");
}
}
else if(GetPlayerMoney(playerid) < 800)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 2:
{
if(GetPlayerMoney(playerid) >= 1200 )
{
GetPlayerArmour(playerid,armour);
if(armour < 100.0)
{

SetPlayerArmour(playerid,GetPlayerArmour(playerid, armour)+75);
GivePlayerMoney(playerid,-1200);
}
else if(armour == 100.0)
{
SendClientMessage(playerid,white,"Error:Armour is 100%!");
}
}
else if(GetPlayerMoney(playerid) < 1200)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
case 3:
{
if(GetPlayerMoney(playerid) >= 1600 )
{
GetPlayerArmour(playerid,armour);
if(armour < 100.0)
{

SetPlayerArmour(playerid,100);
GivePlayerMoney(playerid,-1600);
}
else if(armour == 100.0)
{
SendClientMessage(playerid,white,"Error:Armour is 100%!");
}
}
else if(GetPlayerMoney(playerid) < 1600)
{
SendClientMessage(playerid,white,"Error: Insufficient founds");
}
}
}
}
if(CurrentMenu == BuyMenu)
{
switch(row)
{
case 0:
{
ShowMenuForPlayer(WeaponMenu,playerid);
}
case 1:
{
ShowMenuForPlayer(AmmoMenu,playerid);
}
case 2:
{
ShowMenuForPlayer(HPMenu,playerid);
}
case 3:
{
ShowMenuForPlayer(ArmourMenu,playerid);
}
}
}
return 1;
}


public OnPlayerExitedMenu(playerid)
{
TogglePlayerControllable(playerid,1);
return 1;
}

Reply
#5

Quote:
Originally Posted by legodude
Посмотреть сообщение
thx! helpedme!
Dude, In Pawno Folder Click Pawno.application And Click New,Thats A New GM For Future Reffrence
Reply
#6

no is a dm i make by my self
Reply
#7

Quote:
Originally Posted by admine
Посмотреть сообщение
no is a dm i make by my self
HE never asked for a freaking DM script... forgot your glasses or?
Reply
#8

pawn Код:
/*

                        Copyright 2010 -

           Licensed under the Apache License, Version 2.0 (the "License");
           you may not use this file except in compliance with the License.
           You may obtain a copy of the License at

                    http://www.apache.org/licenses/LICENSE-2.0

           Unless required by applicable law or agreed to in writing, software
           distributed under the License is distributed on an "AS IS" BASIS,
           WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
           See the License for the specific language governing permissions and
           limitations under the License.

        SCRIPT:
            -

        AUTHOR:
            -
*/


#include                <a_samp>

/*
public OnGameModeInit()
{
    return 1;
}

public OnGameModeExit()
{
    return 1;
}

public OnFilterScriptInit()
{
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}
*/
Here's my new.pwn, I'll probably add colors to it sometime soon, but it works for now.
Reply
#9

Quote:
Originally Posted by DragonBlaster50
Посмотреть сообщение
HE never asked for a freaking DM script... forgot your glasses or?
^^he could make a new topic for his script
Reply
#10

Quote:
Originally Posted by Calgon
Посмотреть сообщение
pawn Код:
/*

                        Copyright 2010 -

           Licensed under the Apache License, Version 2.0 (the "License");
           you may not use this file except in compliance with the License.
           You may obtain a copy of the License at

                    http://www.apache.org/licenses/LICENSE-2.0

           Unless required by applicable law or agreed to in writing, software
           distributed under the License is distributed on an "AS IS" BASIS,
           WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
           See the License for the specific language governing permissions and
           limitations under the License.

        SCRIPT:
            -

        AUTHOR:
            -
*/


#include                <a_samp>

/*
public OnGameModeInit()
{
    return 1;
}

public OnGameModeExit()
{
    return 1;
}

public OnFilterScriptInit()
{
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}
*/
Here's my new.pwn, I'll probably add colors to it sometime soon, but it works for now.
it can be easier only go on "File" and "New" or press Ctrl+N and there u are^^
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)