PDA

Просмотр полной версии : [Вопрос] Черный Экран



JAKE228
03.06.2014, 23:25
Скачал мод и столкнулся с проблемой,
Черный экран при заходе на сервер,
Может дело в textdraw?
P.S Буду признателен если поможете.

Salvacore
03.06.2014, 23:26
Скриншот дай.

JAKE228
03.06.2014, 23:33
http://cs613521.vk.me/v613521284/10010/VwEhrq91ZlQ.jpg

[ForD]
03.06.2014, 23:51
при коннекте посмотри текстдрав бокса и убери его =\

JAKE228
04.06.2014, 00:08
public OnPlayerConnect(playerid)
{
new Query[256], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof pName);
mysql_real_escape_string(pName, pName);
format(Query, sizeof Query, "SELECT * FROM `accounts` WHERE `Name` = '%s' LIMIT 1", pName);
mysql_query(Query);
mysql_store_result();
if(mysql_num_rows() != 0)
{
new IP[16];
GetPlayerIp(playerid, IP, sizeof IP);
format(Query, sizeof Query, "SELECT * FROM `accounts` WHERE `Name` = '%s' and IP = '%s' LIMIT 1", pName, IP);
mysql_query(Query);
mysql_store_result();
if(mysql_num_rows() != 0)
{
mysql_fetch_row(Query);
new values[5];
sscanf(Query, "p<|>{s[24]s[129]s[16]}a<i>[5]", values);
SetPVarInt(playerid, "Admin", values[0]);
GivePlayerMoney(playerid, values[1]);
SetPlayerScore(playerid, values[2]);
SetPVarInt(playerid, "Kills", values[3]);
SetPVarInt(playerid, "Deaths", values[4]);
SetPVarInt(playerid, "Logged", 1);
SendClientMessage(playerid, COLOR_LIMEGREEN, " Welcome back! You've been automatically logged in.");
}
else SendClientMessage(playerid, COLOR_ORANGE, " Your account has been found, please use \"/login\" to log in!");
}
else SendClientMessage(playerid, COLOR_ORANGE, " You aren't registered! Use \"/register\" to register an account!");
mysql_free_result();
Showing[playerid] = 0;
GivePlayerMoney(playerid, GetPVarInt(playerid,"Moneys"));
SetPlayerScore(playerid, GetPVarInt(playerid,"Score"));
team[playerid] = TextDrawCreate(495.000000, 100.000000, " ");
TextDrawBackgroundColor(team[playerid], 255);
TextDrawFont(team[playerid], 2);
TextDrawLetterSize(team[playerid], 0.500000, 1.300000);
TextDrawColor(team[playerid], -1);
TextDrawSetOutline(team[playerid], 0);
TextDrawSetProportional(team[playerid], 1);
TextDrawSetShadow(team[playerid], 1);
TextDrawShowForPlayer(playerid, team[playerid]);
new name [ MAX_PLAYER_NAME ] ;
GetPlayerName (playerid,name,sizeof(name));
PMEnabled[playerid] = 1;
RemoveBuildingForPlayer(playerid, 729, 864.5234, -1694.3281, 11.4531, 0.25);
RemoveBuildingForPlayer(playerid, 726, 865.1016, -1710.5547, 10.7422, 0.25);
RemoveBuildingForPlayer(playerid, 729, 878.0234, -1686.8125, 11.4531, 0.25);
RemoveBuildingForPlayer(playerid, 620, 867.4141, -1707.1563, 8.9219, 0.25);
RemoveBuildingForPlayer(playerid, 621, 865.8359, -1695.5859, 6.9766, 0.25);
RemoveBuildingForPlayer(playerid, 1281, 873.3984, -1694.1094, 13.3516, 0.25);
RemoveBuildingForPlayer(playerid, 1281, 878.0078, -1693.6484, 13.3516, 0.25);
RemoveBuildingForPlayer(playerid, 1281, 887.2891, -1695.7578, 13.3516, 0.25);
RemoveBuildingForPlayer(playerid, 1281, 893.9141, -1695.8438, 13.3516, 0.25);
RemoveBuildingForPlayer(playerid, 620, 862.7734, -1686.7422, 11.5313, 0.25);
RemoveBuildingForPlayer(playerid, 1297, 881.2969, -1673.0078, 16.2344, 0.25);
RemoveBuildingForPlayer(playerid, 1297, 869.5469, -1673.0078, 16.2344, 0.25);
RemoveBuildingForPlayer(playerid, 1297, 892.2500, -1673.0078, 16.2344, 0.25);
RemoveBuildingForPlayer(playerid, 1297, 869.0859, -1654.2031, 16.2344, 0.25);
RemoveBuildingForPlayer(playerid, 1297, 891.3594, -1654.2031, 16.2344, 0.25);
RemoveBuildingForPlayer(playerid, 1297, 881.4531, -1654.2031, 16.2344, 0.25);
RemoveBuildingForPlayer(playerid, 6204, 880.6016, -1653.7656, 14.1797, 0.25);
RemoveBuildingForPlayer(playerid, 759, 870.0469, -1641.9219, 12.7969, 0.25);
RemoveBuildingForPlayer(playerid, 759, 875.8047, -1641.9219, 12.4375, 0.25);
RemoveBuildingForPlayer(playerid, 634, 868.3438, -1642.6641, 11.6719, 0.25);
RemoveBuildingForPlayer(playerid, 712, 871.8828, -1642.7969, 20.8984, 0.25);
RemoveBuildingForPlayer(playerid, 620, 886.8672, -1644.1719, 8.2109, 0.25);
RemoveBuildingForPlayer(playerid, 759, 884.2031, -1641.9219, 12.7969, 0.25);
RemoveBuildingForPlayer(playerid, 712, 881.7813, -1642.7969, 20.8984, 0.25);
RemoveBuildingForPlayer(playerid, 620, 906.7656, -1644.6953, 4.9688, 0.25);
RemoveBuildingForPlayer(playerid, 620, 898.2656, -1644.6953, 8.2109, 0.25);
RemoveBuildingForPlayer(playerid, 759, 897.4297, -1641.9219, 12.7969, 0.25);
RemoveBuildingForPlayer(playerid, 759, 901.5391, -1641.9063, 12.2734, 0.25);
RemoveBuildingForPlayer(playerid, 634, 901.2500, -1642.6641, 11.9219, 0.25);
RemoveBuildingForPlayer(playerid, 634, 887.1719, -1642.6641, 11.9219, 0.25);
RemoveBuildingForPlayer(playerid, 9352, -2421.0469, 2343.6953, 19.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2458.4453, 2247.5469, 4.0859, 0.25);
RemoveBuildingForPlayer(playerid, 11010, -2113.3203, -186.7969, 40.2813, 0.25);
RemoveBuildingForPlayer(playerid, 11012, -2166.8672, -236.5078, 40.8672, 0.25);
RemoveBuildingForPlayer(playerid, 11048, -2113.3203, -186.7969, 40.2813, 0.25);
RemoveBuildingForPlayer(playerid, 11091, -2133.5547, -132.7031, 36.1328, 0.25);
RemoveBuildingForPlayer(playerid, 11270, -2166.8672, -236.5078, 40.8672, 0.25);
RemoveBuildingForPlayer(playerid, 11271, -2127.5469, -269.9609, 41.0000, 0.25);
RemoveBuildingForPlayer(playerid, 11282, -2166.8750, -236.5156, 40.8594, 0.25);
RemoveBuildingForPlayer(playerid, 11371, -2028.1328, -111.2734, 36.1328, 0.25);
RemoveBuildingForPlayer(playerid, 11372, -2076.4375, -107.9297, 36.9688, 0.25);
RemoveBuildingForPlayer(playerid, 11376, -2144.3516, -132.9609, 38.3359, 0.25);
RemoveBuildingForPlayer(playerid, 11280, -2137.6875, -198.0781, 34.4141, 0.25);
RemoveBuildingForPlayer(playerid, 11081, -2127.5469, -269.9609, 41.0000, 0.25);
RemoveBuildingForPlayer(playerid, 11011, -2144.3516, -132.9609, 38.3359, 0.25);
RemoveBuildingForPlayer(playerid, 11009, -2128.5391, -142.8438, 39.1406, 0.25);
RemoveBuildingForPlayer(playerid, 1278, -2137.6172, -110.9375, 48.3516, 0.25);
RemoveBuildingForPlayer(playerid, 1497, -2029.0156, -120.0625, 34.2578, 0.25);
RemoveBuildingForPlayer(playerid, 11015, -2028.1328, -111.2734, 36.1328, 0.25);
RemoveBuildingForPlayer(playerid, 11014, -2076.4375, -107.9297, 36.9688, 0.25);
RemoveBuildingForPlayer(playerid, 1532, -2025.8281, -102.4688, 34.2734, 0.25);
RemoveBuildingForPlayer(playerid, 9552, -2944.9219, 889.3125, 0.0781, 0.25);
RemoveBuildingForPlayer(playerid, 9884, -2944.9219, 889.3125, 0.0781, 0.25);
RemoveBuildingForPlayer(playerid, 715, -2938.8047, 824.1953, 15.7266, 0.25);
RemoveBuildingForPlayer(playerid, 1231, 1917.7109, 683.2656, 12.4609, 0.25);
RemoveBuildingForPlayer(playerid, 628, 1905.0859, 703.2969, 11.8125, 0.25);
RemoveBuildingForPlayer(playerid, 627, 1908.9297, 703.1328, 11.9297, 0.25);
RemoveBuildingForPlayer(playerid, 8841, 1924.8203, 703.2188, 13.1484, 0.25);
RemoveBuildingForPlayer(playerid, 627, 1923.8438, 703.1328, 11.9297, 0.25);
RemoveBuildingForPlayer(playerid, 627, 1925.4609, 703.1328, 11.9297, 0.25);
RemoveBuildingForPlayer(playerid, 1231, 1937.2969, 683.2656, 12.4609, 0.25);
RemoveBuildingForPlayer(playerid, 627, 1938.6563, 703.1328, 11.9297, 0.25);
RemoveBuildingForPlayer(playerid, 627, 1940.2031, 703.1328, 11.9297, 0.25);
RemoveBuildingForPlayer(playerid, 644, 1945.9766, 703.2031, 10.1250, 0.25);
RemoveBuildingForPlayer(playerid, 1231, 1937.3594, 723.0859, 12.4609, 0.25);
RemoveBuildingForPlayer(playerid, 1231, 1917.4219, 723.0859, 12.4609, 0.25);
RemoveBuildingForPlayer(playerid, 16765, -227.4531, 2716.3516, 62.1719, 0.25);
RemoveBuildingForPlayer(playerid, 16011, -227.4531, 2716.3516, 62.1719, 0.25);
RemoveBuildingForPlayer(playerid, 18534, -2189.5078, -2252.8203, 29.6094, 0.25);
RemoveBuildingForPlayer(playerid, 18243, -2203.7422, -2262.4922, 29.4453, 0.25);
RemoveBuildingForPlayer(playerid, 18244, -2202.9453, -2261.1719, 37.9219, 0.25);
RemoveBuildingForPlayer(playerid, 18242, -2189.5078, -2252.8203, 29.6094, 0.25);
RemoveBuildingForPlayer(playerid, 13133, 299.2031, -193.6250, 3.8281, 0.25);
RemoveBuildingForPlayer(playerid, 13203, 308.0938, -168.7266, 4.3672, 0.25);
RemoveBuildingForPlayer(playerid, 1294, 323.7109, -203.1484, 5.0313, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 322.3125, -188.9141, 0.7031, 0.25);
RemoveBuildingForPlayer(playerid, 1294, 323.8828, -150.7734, 5.0313, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 293.6250, -152.4844, 0.7031, 0.25);
RemoveBuildingForPlayer(playerid, 1294, 291.1563, -171.5000, 5.0313, 0.25);
RemoveBuildingForPlayer(playerid, 13190, 308.0938, -168.7266, 4.3672, 0.25);
RemoveBuildingForPlayer(playerid, 13436, 252.3281, -28.8906, 9.1094, 0.25);
RemoveBuildingForPlayer(playerid, 13437, 210.9375, -245.1406, 10.0234, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 292.6641, -201.9922, 0.7031, 0.25);
RemoveBuildingForPlayer(playerid, 1495, 293.7500, -194.6875, 0.7656, 0.25);
RemoveBuildingForPlayer(playerid, 13132, 299.2031, -193.6250, 3.8281, 0.25);
RemoveBuildingForPlayer(playerid, 1687, 303.9375, -194.9297, 4.3672, 0.25);
RemoveBuildingForPlayer(playerid, 1691, 297.1016, -195.6094, 4.9453, 0.25);
RemoveBuildingForPlayer(playerid, 1440, 312.6406, -199.8750, 1.0625, 0.25);
RemoveBuildingForPlayer(playerid, 1440, 305.1328, -188.5625, 1.0625, 0.25);
RemoveBuildingForPlayer(playerid, 11085, -2164.4531, -237.6172, 41.4063, 0.25);
RemoveBuildingForPlayer(playerid, 11086, -2164.4531, -237.3906, 43.4219, 0.25);
RemoveBuildingForPlayer(playerid, 3686, 2464.3047, -2617.0156, 16.0469, 0.25);
RemoveBuildingForPlayer(playerid, 5325, 2488.9922, -2509.2578, 18.5156, 0.25);
RemoveBuildingForPlayer(playerid, 3627, 2464.3047, -2617.0156, 16.0469, 0.25);
RemoveBuildingForPlayer(playerid, 1226, 2489.3516, -2625.7109, 16.2969, 0.25);
RemoveBuildingForPlayer(playerid, 13133, 299.2031, -193.6250, 3.8281, 0.25);
RemoveBuildingForPlayer(playerid, 13203, 308.0938, -168.7266, 4.3672, 0.25);
RemoveBuildingForPlayer(playerid, 1294, 323.7109, -203.1484, 5.0313, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 322.3125, -188.9141, 0.7031, 0.25);
RemoveBuildingForPlayer(playerid, 1294, 323.8828, -150.7734, 5.0313, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 293.6250, -152.4844, 0.7031, 0.25);
RemoveBuildingForPlayer(playerid, 1294, 291.1563, -171.5000, 5.0313, 0.25);
RemoveBuildingForPlayer(playerid, 13190, 308.0938, -168.7266, 4.3672, 0.25);
RemoveBuildingForPlayer(playerid, 13436, 252.3281, -28.8906, 9.1094, 0.25);
RemoveBuildingForPlayer(playerid, 13437, 210.9375, -245.1406, 10.0234, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 292.6641, -201.9922, 0.7031, 0.25);
RemoveBuildingForPlayer(playerid, 1495, 293.7500, -194.6875, 0.7656, 0.25);
RemoveBuildingForPlayer(playerid, 13132, 299.2031, -193.6250, 3.8281, 0.25);
RemoveBuildingForPlayer(playerid, 1687, 303.9375, -194.9297, 4.3672, 0.25);
RemoveBuildingForPlayer(playerid, 1691, 297.1016, -195.6094, 4.9453, 0.25);
RemoveBuildingForPlayer(playerid, 1440, 312.6406, -199.8750, 1.0625, 0.25);
RemoveBuildingForPlayer(playerid, 1440, 305.1328, -188.5625, 1.0625, 0.25);
RemoveBuildingForPlayer(playerid, 1231, 1917.7109, 683.2656, 12.4609, 0.25);
RemoveBuildingForPlayer(playerid, 628, 1905.0859, 703.2969, 11.8125, 0.25);
RemoveBuildingForPlayer(playerid, 627, 1908.9297, 703.1328, 11.9297, 0.25);
RemoveBuildingForPlayer(playerid, 8841, 1924.8203, 703.2188, 13.1484, 0.25);
RemoveBuildingForPlayer(playerid, 627, 1923.8438, 703.1328, 11.9297, 0.25);
RemoveBuildingForPlayer(playerid, 627, 1925.4609, 703.1328, 11.9297, 0.25);
RemoveBuildingForPlayer(playerid, 1231, 1937.2969, 683.2656, 12.4609, 0.25);
RemoveBuildingForPlayer(playerid, 627, 1938.6563, 703.1328, 11.9297, 0.25);
RemoveBuildingForPlayer(playerid, 627, 1940.2031, 703.1328, 11.9297, 0.25);
RemoveBuildingForPlayer(playerid, 644, 1945.9766, 703.2031, 10.1250, 0.25);
RemoveBuildingForPlayer(playerid, 1231, 1937.3594, 723.0859, 12.4609, 0.25);
RemoveBuildingForPlayer(playerid, 1231, 1917.4219, 723.0859, 12.4609, 0.25);
RemoveBuildingForPlayer(playerid, 729, 864.5234, -1694.3281, 11.4531, 0.25);
RemoveBuildingForPlayer(playerid, 726, 865.1016, -1710.5547, 10.7422, 0.25);
RemoveBuildingForPlayer(playerid, 729, 878.0234, -1686.8125, 11.4531, 0.25);
RemoveBuildingForPlayer(playerid, 620, 867.4141, -1707.1563, 8.9219, 0.25);
RemoveBuildingForPlayer(playerid, 621, 865.8359, -1695.5859, 6.9766, 0.25);
RemoveBuildingForPlayer(playerid, 1281, 873.3984, -1694.1094, 13.3516, 0.25);
RemoveBuildingForPlayer(playerid, 1281, 878.0078, -1693.6484, 13.3516, 0.25);
RemoveBuildingForPlayer(playerid, 1281, 887.2891, -1695.7578, 13.3516, 0.25);
RemoveBuildingForPlayer(playerid, 1281, 893.9141, -1695.8438, 13.3516, 0.25);
RemoveBuildingForPlayer(playerid, 620, 862.7734, -1686.7422, 11.5313, 0.25);
RemoveBuildingForPlayer(playerid, 1297, 881.2969, -1673.0078, 16.2344, 0.25);
RemoveBuildingForPlayer(playerid, 1297, 869.5469, -1673.0078, 16.2344, 0.25);
RemoveBuildingForPlayer(playerid, 1297, 892.2500, -1673.0078, 16.2344, 0.25);
RemoveBuildingForPlayer(playerid, 1297, 869.0859, -1654.2031, 16.2344, 0.25);
RemoveBuildingForPlayer(playerid, 1297, 891.3594, -1654.2031, 16.2344, 0.25);
RemoveBuildingForPlayer(playerid, 1297, 881.4531, -1654.2031, 16.2344, 0.25);
RemoveBuildingForPlayer(playerid, 6204, 880.6016, -1653.7656, 14.1797, 0.25);
RemoveBuildingForPlayer(playerid, 759, 870.0469, -1641.9219, 12.7969, 0.25);
RemoveBuildingForPlayer(playerid, 759, 875.8047, -1641.9219, 12.4375, 0.25);
RemoveBuildingForPlayer(playerid, 634, 868.3438, -1642.6641, 11.6719, 0.25);
RemoveBuildingForPlayer(playerid, 712, 871.8828, -1642.7969, 20.8984, 0.25);
RemoveBuildingForPlayer(playerid, 620, 886.8672, -1644.1719, 8.2109, 0.25);
RemoveBuildingForPlayer(playerid, 759, 884.2031, -1641.9219, 12.7969, 0.25);
RemoveBuildingForPlayer(playerid, 712, 881.7813, -1642.7969, 20.8984, 0.25);
RemoveBuildingForPlayer(playerid, 620, 906.7656, -1644.6953, 4.9688, 0.25);
RemoveBuildingForPlayer(playerid, 620, 898.2656, -1644.6953, 8.2109, 0.25);
RemoveBuildingForPlayer(playerid, 759, 897.4297, -1641.9219, 12.7969, 0.25);
RemoveBuildingForPlayer(playerid, 759, 901.5391, -1641.9063, 12.2734, 0.25);
RemoveBuildingForPlayer(playerid, 634, 901.2500, -1642.6641, 11.9219, 0.25);
RemoveBuildingForPlayer(playerid, 634, 887.1719, -1642.6641, 11.9219, 0.25);
RemoveBuildingForPlayer(playerid, 16765, -227.4531, 2716.3516, 62.1719, 0.25);
RemoveBuildingForPlayer(playerid, 16011, -227.4531, 2716.3516, 62.1719, 0.25);
RemoveBuildingForPlayer(playerid, 18534, -2189.5078, -2252.8203, 29.6094, 0.25);
RemoveBuildingForPlayer(playerid, 18243, -2203.7422, -2262.4922, 29.4453, 0.25);
RemoveBuildingForPlayer(playerid, 18244, -2202.9453, -2261.1719, 37.9219, 0.25);
RemoveBuildingForPlayer(playerid, 18242, -2189.5078, -2252.8203, 29.6094, 0.25);
RemoveBuildingForPlayer(playerid, 9352, -2421.0469, 2343.6953, 19.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2458.4453, 2247.5469, 4.0859, 0.25);
RemoveBuildingForPlayer(playerid, 9552, -2944.9219, 889.3125, 0.0781, 0.25);
RemoveBuildingForPlayer(playerid, 9884, -2944.9219, 889.3125, 0.0781, 0.25);
RemoveBuildingForPlayer(playerid, 715, -2938.8047, 824.1953, 15.7266, 0.25);
RemoveBuildingForPlayer(playerid, 11010, -2113.3203, -186.7969, 40.2813, 0.25);
RemoveBuildingForPlayer(playerid, 11012, -2166.8672, -236.5078, 40.8672, 0.25);
RemoveBuildingForPlayer(playerid, 11048, -2113.3203, -186.7969, 40.2813, 0.25);
RemoveBuildingForPlayer(playerid, 11091, -2133.5547, -132.7031, 36.1328, 0.25);
RemoveBuildingForPlayer(playerid, 11270, -2166.8672, -236.5078, 40.8672, 0.25);
RemoveBuildingForPlayer(playerid, 11271, -2127.5469, -269.9609, 41.0000, 0.25);
RemoveBuildingForPlayer(playerid, 11282, -2166.8750, -236.5156, 40.8594, 0.25);
RemoveBuildingForPlayer(playerid, 11371, -2028.1328, -111.2734, 36.1328, 0.25);
RemoveBuildingForPlayer(playerid, 11372, -2076.4375, -107.9297, 36.9688, 0.25);
RemoveBuildingForPlayer(playerid, 11376, -2144.3516, -132.9609, 38.3359, 0.25);
RemoveBuildingForPlayer(playerid, 11280, -2137.6875, -198.0781, 34.4141, 0.25);
RemoveBuildingForPlayer(playerid, 11081, -2127.5469, -269.9609, 41.0000, 0.25);
RemoveBuildingForPlayer(playerid, 11011, -2144.3516, -132.9609, 38.3359, 0.25);
RemoveBuildingForPlayer(playerid, 11009, -2128.5391, -142.8438, 39.1406, 0.25);
RemoveBuildingForPlayer(playerid, 1278, -2137.6172, -110.9375, 48.3516, 0.25);
RemoveBuildingForPlayer(playerid, 1497, -2029.0156, -120.0625, 34.2578, 0.25);
RemoveBuildingForPlayer(playerid, 11015, -2028.1328, -111.2734, 36.1328, 0.25);
RemoveBuildingForPlayer(playerid, 11014, -2076.4375, -107.9297, 36.9688, 0.25);
RemoveBuildingForPlayer(playerid, 1532, -2025.8281, -102.4688, 34.2734, 0.25);
RemoveBuildingForPlayer(playerid, 11085, -2164.4531, -237.6172, 41.4063, 0.25);
RemoveBuildingForPlayer(playerid, 11086, -2164.4531, -237.3906, 43.4219, 0.25);
work = 0;
TextDrawHideForPlayer(playerid, msg1[playerid]);
DisablePlayerCheckpoint(playerid);
MissionStatus[playerid] = 0;
TextDrawHideForPlayer(playerid, Textdraw1);
TextDrawHideForPlayer(playerid, Towtextdraw);
TextDrawHideForPlayer(playerid, Bustextdraw);
DestroyVehicle(playerInMiniMissionGrua[playerid]);
playerInMiniMissionGrua[playerid]=-1;
avisado1[playerid]=-1;
DisablePlayerRaceCheckpoint(playerid);
contador[playerid]=0;
enganchado[playerid]=0;
Textdraw0 = TextDrawCreate(643.000000, 427.000000, " ");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 1);
TextDrawLetterSize(Textdraw0, 0.500000, 1.000000);
TextDrawColor(Textdraw0, -1);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetShadow(Textdraw0, 1);
//TextDrawUseBox(Textdraw0, 1);
//TextDrawBoxColor(Textdraw0, 0x00000066);
TextDrawTextSize(Textdraw0, -3.000000, 0.000000);
msg1[playerid] = TextDrawCreate(5.000000, 425.000000, "~r~No Job yet use ~w~/Work ~r~to Start A Job");
TextDrawBackgroundColor(msg1[playerid], 255);
TextDrawFont(msg1[playerid], 2);
TextDrawLetterSize(msg1[playerid], 0.329999, 2.100001);
TextDrawColor(msg1[playerid], -1);
TextDrawSetOutline(msg1[playerid], 0);
TextDrawSetProportional(msg1[playerid], 1);
TextDrawSetShadow(msg1[playerid], 1);
Taxitextdraw1 = TextDrawCreate(5.000000, 425.000000, "~r~No Job yet use ~w~/Work ~r~to Start A Job");
TextDrawBackgroundColor(Taxitextdraw1, 255);
TextDrawFont(Taxitextdraw1, 2);
TextDrawLetterSize(Taxitextdraw1, 0.329999, 2.100001);
TextDrawColor(Taxitextdraw1, -1);
TextDrawSetOutline(Taxitextdraw1, 0);
TextDrawSetProportional(Taxitextdraw1, 1);
TextDrawSetShadow(Taxitextdraw1, 1);
Police2 = TextDrawCreate(5.000000, 425.000000, "~g~Use ~w~/~r~Fine ~g~To Fine A Player ~w~/~r~Arrest ~g~To Arrest A Player ~w~/~r~Find ~g~To Find the Player");
TextDrawBackgroundColor(Police2, 255);
TextDrawFont(Police2, 2);
TextDrawLetterSize(Police2, 0.329999, 2.100001);
TextDrawColor(Police2, -1);
TextDrawSetOutline(Police2, 0);
TextDrawSetProportional(Police2, 1);
TextDrawSetShadow(Police2, 1);
Pizzaboytxd = TextDrawCreate(5.000000, 425.000000, "~r~Currently Your Doing ~p~Pizza Job~w~ Go To The Red Checkpoint.");
TextDrawBackgroundColor(Pizzaboytxd, 255);
TextDrawFont(Pizzaboytxd, 2);
TextDrawLetterSize(Pizzaboytxd, 0.329999, 2.100001);
TextDrawColor(Pizzaboytxd, -1);
TextDrawSetOutline(Pizzaboytxd, 0);
TextDrawSetProportional(Pizzaboytxd, 1);
TextDrawSetShadow(Pizzaboytxd, 1);
Pilottxd = TextDrawCreate(5.000000, 425.000000, "~r~Currently Your Doing ~p~Pilot Job~w~ Go To The Red Checkpoint.");
TextDrawBackgroundColor(Pilottxd, 255);
TextDrawFont(Pilottxd, 2);
TextDrawLetterSize(Pilottxd, 0.329999, 2.100001);
TextDrawColor(Pizzaboytxd, -1);
TextDrawSetOutline(Pilottxd, 0);
TextDrawSetProportional(Pilottxd, 1);
TextDrawSetShadow(Pilottxd, 1);
Taxitextdraw2 = TextDrawCreate(5.000000, 425.000000, "~r~Currently Your Doing ~p~Taxi Job~w~ Go to the Red Checkpoint.");
TextDrawBackgroundColor(Taxitextdraw2, 255);
TextDrawFont(Taxitextdraw2, 2);
TextDrawLetterSize(Taxitextdraw2, 0.329999, 2.100001);
TextDrawColor(Taxitextdraw2, -1);
TextDrawSetOutline(Taxitextdraw2, 0);
TextDrawSetProportional(Taxitextdraw2, 1);
TextDrawSetShadow(Taxitextdraw2, 1);
Textdraw1 = TextDrawCreate(5.000000, 425.000000, "~r~Currently Your Doing ~p~Trucking Job~w~ Go to the Red Checkpoint.");
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 2);
TextDrawLetterSize(Textdraw1, 0.329999, 2.100001);
TextDrawColor(Textdraw1, -1);
TextDrawSetOutline(Textdraw1, 0);
TextDrawSetProportional(Textdraw1, 1);
TextDrawSetShadow(Textdraw1, 1);
Bustextdraw = TextDrawCreate(5.000000, 425.000000, "~r~Currently Your Doing ~p~Bus Job~w~ Go to the Red Checkpoint.");
TextDrawBackgroundColor(Bustextdraw, 255);
TextDrawFont(Bustextdraw, 2);
TextDrawLetterSize(Bustextdraw, 0.329999, 2.100001);
TextDrawColor(Bustextdraw, -1);
TextDrawSetOutline(Bustextdraw, 0);
TextDrawSetProportional(Bustextdraw, 1);
TextDrawSetShadow(Bustextdraw, 1);
Towtextdraw = TextDrawCreate(5.000000, 425.000000, "~r~Currently Your Doing ~p~Trucking Job~w~ Go to the Red Checkpoint.");
TextDrawBackgroundColor(Towtextdraw, 255);
TextDrawFont(Towtextdraw, 2);
TextDrawLetterSize(Towtextdraw, 0.329999, 2.100001);
TextDrawColor(Towtextdraw, -1);
TextDrawSetOutline(Towtextdraw, 0);
TextDrawSetProportional(Towtextdraw, 1);
TextDrawSetShadow(Towtextdraw, 1);
return 1;
}

DeimoS
04.06.2014, 07:42
Кому-то стоит научиться работать с функцией RemoveBuildingForPlayer... Да и с текстдравами тоже не помешает. Ужасный код...

Так что вы от нас то хотите? Смотрите координаты текстдравов и отключайте их по одному