Szerző Téma: Kifagy mikor belépek  (Megtekintve 1358 alkalommal)

Nem elérhető BoSS

  • 816
    • Profil megtekintése
Kifagy mikor belépek
« Dátum: 2012. október 27. - 19:30:19 »
0 Show voters
Üdv.
Szerver mikor betöltöm a módot és fel megyek a szerora,bejelentkezek és aztán kifagy a host
Ezt miért lehet?

Kifagy mikor belépek
« Válasz #1 Dátum: 2012. október 27. - 19:47:34 »
0 Show voters
[pawn]public OnPlayerConnect(playerid)[/pawn]
alatti részt másoljátok be.

Nem elérhető BoSS

  • 816
    • Profil megtekintése
Kifagy mikor belépek
« Válasz #2 Dátum: 2012. október 27. - 20:00:11 »
0 Show voters
Idézetet írta: quer date=1351360463\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"29100\" data-ipsquote-contentclass=\"forums_Topic
Az is lehet hogy nincsenek létrehozva a scriptfileok vagy nem megfelelõek.
 
Ami kellett mindent beraktam,nem hiszem,hogy az lenne a gond
 

 
public OnPlayerConnect(playerid)

 
alatti részt másoljátok be.
 
[/quote]
Tessék:
 
public OnPlayerConnect(playerid)
{
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);
if ( !INI_Exist( pName( playerid ) ) )
ShowPlayerDialog( playerid, DIALOG_REG_REQ, DIALOG_STYLE_MSGBOX, \"{FFFFFF}Password\", \"{FFFFFF}To play you must register an account!\", \"Ok\", \"\");
else
ShowPlayerDialog( playerid, DIALOG_LOGIN, DIALOG_STYLE_MSGBOX, \"{FFFFFF}Password\", \"{FFFFFF}Your name is registered, would you like to login?\", \"Yes\", \"No\");
work = 0;
TextDrawHideForPlayer(playerid, msg[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);
msg[playerid] = TextDrawCreate(5.000000, 425.000000, \"~r~No Job yet use ~w~/Work ~r~to Start A Job\");
TextDrawBackgroundColor(msg[playerid], 255);
TextDrawFont(msg[playerid], 2);
TextDrawLetterSize(msg[playerid], 0.329999, 2.100001);
TextDrawColor(msg[playerid], -1);
TextDrawSetOutline(msg[playerid], 0);
TextDrawSetProportional(msg[playerid], 1);
TextDrawSetShadow(msg[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;
}

Kifagy mikor belépek
« Válasz #3 Dátum: 2012. október 27. - 20:09:42 »
0 Show voters
Hát itt nem utal rá semmi. Scriptfiles-ek , és a filterscriptek jók? Nézd át õket lehet, hogy azok okozzák!

Nem elérhető BoSS

  • 816
    • Profil megtekintése
Kifagy mikor belépek
« Válasz #4 Dátum: 2012. október 27. - 20:18:52 »
0 Show voters
Idézetet írta: timbaland10 date=1351361382\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"29100\" data-ipsquote-contentclass=\"forums_Topic
Hát itt nem utal rá semmi. Scriptfiles-ek , és a filterscriptek jók? Nézd át õket lehet, hogy azok okozzák!
 
Átnéztem FS-t nem raktam be,scripterfilest meg beraktam mindent ami volt a scripterfiles mappájában :S

Nem elérhető ZyZu.

  • Globális moderátor
  • 8939
  • my turbo diesel forum
  • Discord: ZyZu.
    • Profil megtekintése
Kifagy mikor belépek
« Válasz #5 Dátum: 2012. október 27. - 20:24:24 »
0 Show voters
Skin válaszó van benne? Mert az is gond lehet + csak annyi RemoveBuldinged van?..

Nem elérhető BoSS

  • 816
    • Profil megtekintése
Kifagy mikor belépek
« Válasz #6 Dátum: 2012. október 27. - 20:36:39 »
0 Show voters
Idézetet írta: ZyZu date=1351362264\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"29100\" data-ipsquote-contentclass=\"forums_Topic
Skin válaszó van benne? Mert az is gond lehet + csak annyi RemoveBuldinged van?..
 
Van benne és igen annyi remove van benne.
Ez amúgy egy kamionos mód,amit angol forumról szedtem le
xhardturcker a neve.

Kifagy mikor belépek
« Válasz #7 Dátum: 2012. október 27. - 21:06:00 »
0 Show voters
Crashdetect plugin próbáld ki.
Tedd be a plugint a szerveredhez, indítsd el majd nézd meg a szerver_log.txt fájlt mit írt bele, és azt másold be.
https://github.com/Zeex/samp-crashdetect-plugin/downloads

Nem elérhető BoSS

  • 816
    • Profil megtekintése
Kifagy mikor belépek
« Válasz #8 Dátum: 2012. október 28. - 08:09:20 »
0 Show voters
Nem jön be nekem ez az oldalt,más honnan nem lehet leszedni?

Nem elérhető ZyZu.

  • Globális moderátor
  • 8939
  • my turbo diesel forum
  • Discord: ZyZu.
    • Profil megtekintése
Kifagy mikor belépek
« Válasz #9 Dátum: 2012. október 28. - 09:49:27 »
0 Show voters
Zsoleszka amit írt az lehet jó lesz probáld meg és itt a link: http://forum.sa-mp.com/showthread.php?t=262796

Nem elérhető Kovacs_Richard

  • 1743
  • HRP Fejlesztő
  • Discord: Kovacs_Richard#0321
    • Profil megtekintése
    • Hun Role Play Web
Kifagy mikor belépek
« Válasz #10 Dátum: 2012. október 29. - 01:28:30 »
0 Show voters
megnéztem ezt a kódot...és nem ajánlom hogy ezt a módot futtasd :) szerintem aki ezt a módot írta elég kezdõ szinten lehet :S itt az indoklás:
 
GivePlayerMoney(playerid, GetPVarInt(playerid,\"Moneys\"));
SetPlayerScore(playerid, GetPVarInt(playerid,\"Score\"));

 
ez az OnPlayerConnect elsõ két sora...GetPVarInt? kár hogy elõtte az értéket nem módosítja...
 
new name [ MAX_PLAYER_NAME ] ;
GetPlayerName (playerid,name,sizeof(name));
if ( !INI_Exist( pName( playerid ) ) )

 
ez egy kicsit távolabb van egymástól, és lehet tévedek ( akkor a függvény nevét adta meg furán ) de a pName visszatérési értéke gondolom a játékos neve...szóval egy függvényben lekérdezi újra a nevet és visszatérési értékként használhatjuk...de felesleges mert már van egy tömb amiben benne van a játékos neve...
 
work = 0;

 
ez nem tudom milyen célt szolgál de nem hiszem hogy jó helyen van...egy globális változó értékét 0-ra állítja amikor fellép 1 játékos :S
 
DisablePlayerCheckpoint(playerid);
DisablePlayerRaceCheckpoint(playerid);
[/quote]
Relog paranccsal kipróbáltam és felesleges ez a kód mivel alapból nincs CP loginnál...( persze ha egy script lerak akkor van de ez csak megzavarná a scriptet )
 
DestroyVehicle(playerInMiniMissionGrua[playerid]);
playerInMiniMissionGrua[playerid]=-1;

 
ez gondolom valami sajátos megoldás de elég gyanús hogy felesleges kód :) a \"sajátos megoldás\" alatt azt értem hogy valami saját rendszerhez szükséges jármû
 
TextDrawHideForPlayer(playerid, msg[playerid]);
TextDrawHideForPlayer(playerid, Textdraw1);
TextDrawHideForPlayer(playerid, Towtextdraw);
TextDrawHideForPlayer(playerid, Bustextdraw);

 
szintén felesleges...
 
Textdraw0 = TextDrawCreate(643.000000, 427.000000, \"   \");
msg[playerid] = TextDrawCreate(5.000000, 425.000000, \"~r~No Job yet use ~w~/Work ~r~to Start A Job\");
Taxitextdraw1 = TextDrawCreate(5.000000, 425.000000, \"~r~No Job yet use ~w~/Work ~r~to Start A Job\");
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\");
Pizzaboytxd = TextDrawCreate(5.000000, 425.000000, \"~r~Currently Your Doing ~p~Pizza Job~w~ Go To The Red Checkpoint.\");
Pilottxd = TextDrawCreate(5.000000, 425.000000, \"~r~Currently Your Doing ~p~Pilot Job~w~ Go To The Red Checkpoint.\");
Taxitextdraw2 = TextDrawCreate(5.000000, 425.000000, \"~r~Currently Your Doing ~p~Taxi Job~w~ Go to the Red Checkpoint.\");
Textdraw1 = TextDrawCreate(5.000000, 425.000000, \"~r~Currently Your Doing ~p~Trucking Job~w~ Go to the Red Checkpoint.\");
Bustextdraw = TextDrawCreate(5.000000, 425.000000, \"~r~Currently Your Doing ~p~Bus Job~w~ Go to the Red Checkpoint.\");
Towtextdraw = TextDrawCreate(5.000000, 425.000000, \"~r~Currently Your Doing ~p~Trucking Job~w~ Go to the Red Checkpoint.\");

 
itt pár textdraw-nál sima változót használ ( gondolom globális változó )...a probléma az hogy nem tárolja el játékosonként az ID-ját a textdraw-nak...szóval nem hiszem hogy törli...de vegyük számításba hogy törli...
1. eset: 1 játékos és törli a textet kilépésnél
feljön 0-s ID-jú játékos létrehozza neki a Textdraw0-t...
kilép a 0-s ID-jú játékos és törli a TextDraw0-t...
Eredmény: minden jó
2. eset: 2 játékos és törli a textet kilépésnél
feljön a 0-s ID-jú játékos és létrehozza neki a TextDraw0-t...
feljön a 1-s ID-jú játékos és létrehozza neki a TextDraw0-t...
kilép valamelyik játékos és törli a TextDraw0-t...
Eredmény: a másik játékosnak már nem lesz textdraw amit mutasson !
de ha nem törli...NA AKKOR VAN A NAGYOBB GOND !
http://wiki.sa-mp.com/wiki/Limits
Created Serverwise (Global)    2048
szóval 2048 textdrawot lehet létrehozni...
ami azt jelenti ha minden connectnél 10db-ot hoz létre a mód akkor 205 csatlakozás és limiten is van a szeró :)
szóval ha ezt a módot szeretnéd alkalmazni akkor lesz még vele elég sok munkád :) fõleg úgy hogy még nem is mûködik rendesen...
Régóta nem tevékenykedem, mint SA-MP scripter.
HRP Fejlesztő.

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal