Quote (Marionso)
! Включил серв,зашол дал себе права-сажусь в тачку и серв тушится!
Добавлено (08.04.2010, 22:51)
---------------------------------------------
Quote (Tobex_Electro)
http://depositfiles.com/files/pmcfbdl93
скачал скрипт етого кулибина
заработало отлично бинзина нет он не показываеться и не работает /exit//значит дело в нем
итак смотрим что он на меня
удалил
добавил
[pwn]
//Booleans
new bool:TextDrawsShown[MAX_PLAYERS];
new bool:VHSCreated[MAX_PLAYERS];
//4player
new Text:VHS[MAX_PLAYERS];
new bool:LightRedHealthCreated[MAX_PLAYERS];
new Text:BlackHealth;
new Text:DarkRedHealth;
new Text:LightRedHealth[MAX_PLAYERS];
new CheckStatusTimer;
--------------------------------------
forward IsAarmy(carid);
forward IsAlcn(carid);
forward IsAyacuza(carid);
forward IsAcolumb(carid);
forward IsArm(carid);
forward IsAcrips(carid);
forward IsAmara(carid);
forward IsAbloods(carid);
forward IsAlatin(carid);
forward IsAtriada(carid);
forward IsAfbi(carid);
forward IsAdelta(carid);
forward IsACop(playerid);
new Slak1;
-------------------------------------------------
тут
он поменял
старые зночения рядом
с новоми
if(carid > SIMPLECARS225 && carid <= (OWNABLECARSsizeof(CarInfo) + SIMPLECARS225))
------------------------------------------------------------------------------------------------------------------------
[ color=blue]public IsAfbi(carid)
{
if(carid >= 38 && carid <= 42 || carid >= 104 && carid <= 109)
{
return 1;
}
return 0;
}
public IsAarmy(carid)
{
if(carid >= 110 && carid <= 121)
{
return 1;
}
return 0;
} public IsAlcn(carid)
{
if(carid >= 122 && carid <= 132)
{
return 1;
}
return 0;
}
public IsAyacuza(carid)
{
if(carid >= 133 && carid <= 145)
{
return 1;
}
return 0;
}
public IsAcolumb(carid)
{
if(carid >= 146 && carid <= 155)
{
return 1;
}
return 0;
}
public IsArm(carid)
{
if(carid >= 156 && carid <= 167)
{
return 1;
}
return 0;
}
public IsAcrips(carid)
{
if(carid >= 168 && carid <= 176)
{
return 1;
}
return 0;
}
public IsAmara(carid)
{
if(carid >= 177 && carid <= 180)
{
return 1;
}
return 0;
}
public IsAbloods(carid)
{
if(carid >= 181 && carid <= 184)
{
return 1;
}
return 0;
}
public IsAlatin(carid)
{
if(carid >= 185 && carid <= 188)
{
return 1;
}
return 0;
}
public IsAtriada(carid)
{
if(carid >= 189 && carid <= 194)
{
return 1;
}
return 0;
}
public IsAdelta(carid)
{
if(carid >= 195 && carid <= 205)
{
return 1;
}
[/color]
--------------------------------------------------------------------------------------------------------------------
public CheckStatus()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(IsPlayerInAnyVehicle(i))
{ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
if(TextDrawsShown[i] == false)
{
TextDrawShowForPlayer(i, Text:BlackHealth);
TextDrawShowForPlayer(i, Text:DarkRedHealth);
TextDrawsShown[i] = true;
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
new String[128];
//new PlayerVehicleModelID = GetVehicleModel(GetPlayerVehicleID(i));
//PlayerVehicleModelID -= 400;
//format(String,sizeof(String),"~b~Vehicle:~n~~w~%s~n~~b~ID:~n~~w~%i", PlayerVehicle[PlayerVehicleModelID], /*floatround(floatmul(floatdiv(Distance, 1.609344), 2.0), floatround_floor), floatround(floatmul(Distance, 2.0), floatround_floor)*/GetVehicleModel(GetPlayerVehicleID(i)));
if(VHSCreated[i] == true)
{
TextDrawDestroy(VHS[i]);
}
VHS[i] = TextDrawCreate(150.000000,390.000000,String);//485.000000,355.000000
TextDrawAlignment(VHS[i],0);
TextDrawBackgroundColor(VHS[i],0x000000ff);
TextDrawFont(VHS[i],1);
TextDrawLetterSize(VHS[i],0.299999,1.000000);
TextDrawColor(VHS[i],0xffffffff);
TextDrawSetOutline(VHS[i],1);
TextDrawSetProportional(VHS[i],1);
TextDrawSetShadow(VHS[i],1);
TextDrawShowForPlayer(i, VHS[i]);
VHSCreated[i] = true;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// new Float:CarHealth;
//GetVehicleHealth(GetPlayerVehicleID(i), CarHealth);
if(LightRedHealthCreated[i] == true)
{
TextDrawDestroy(LightRedHealth[i]);
}
LightRedHealth[i] = TextDrawCreate(488.000000,386.000000,"_");
TextDrawUseBox(LightRedHealth[i],1);
TextDrawBoxColor(LightRedHealth[i],0xff000099);
/*for(new j=0; j<50; j++)
{*/
// if(CarHealth >= 1000) { TextDrawTextSize(LightRedHealth[i],589.000000,0.000000); }
/*else if(CarHealth >= j*20 && CarHealth < (j+1)*20) { */
TextDrawTextSize(LightRedHealth[i],488.0/*+(j*2.1)*/+Gas[GetPlayerVehicleID(i)],0.000000);// }
//}
TextDrawAlignment(LightRedHealth[i],0);
TextDrawBackgroundColor(LightRedHealth[i],0x000000ff);
TextDrawFont(LightRedHealth[i],3);
TextDrawLetterSize(LightRedHealth[i],1.000000,0.199999);
TextDrawColor(LightRedHealth[i],0xffffffff);
TextDrawSetOutline(LightRedHealth[i],1);
TextDrawSetProportional(LightRedHealth[i],1);
TextDrawSetShadow(LightRedHealth[i],1);
TextDrawShowForPlayer(i, LightRedHealth[i]);
LightRedHealthCreated[i] = true;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
}
else
{
if(TextDrawsShown[i] == true)
{
TextDrawHideForPlayer(i, Text:BlackHealth);
TextDrawHideForPlayer(i, Text:DarkRedHealth);
TextDrawsShown[i] = false;
}
TextDrawHideForPlayer(i, Text:LightRedHealth[i]);
TextDrawHideForPlayer(i, Text:VHS[i]);
}
}
}
}
------------------------------------
снес татуриал
---------------------------------
LoadCars();
BlackHealth = TextDrawCreate(487.000000,385.000000,"_");
TextDrawUseBox(BlackHealth,1);
TextDrawBoxColor(BlackHealth,0x00000099);
TextDrawTextSize(BlackHealth,590.000000,-11.000000);
TextDrawAlignment(BlackHealth,0);
TextDrawBackgroundColor(BlackHealth,0x000000ff);
TextDrawFont(BlackHealth,3);
TextDrawLetterSize(BlackHealth,1.000000,0.399999);
TextDrawColor(BlackHealth,0xffffffff);
TextDrawSetOutline(BlackHealth,1);
TextDrawSetProportional(BlackHealth,1);
TextDrawSetShadow(BlackHealth,1); DarkRedHealth = TextDrawCreate(488.000000,386.000000,"_");
TextDrawUseBox(DarkRedHealth,1);
TextDrawBoxColor(DarkRedHealth,0x00000096);// 0xff00006 0xA6200D96
TextDrawTextSize(DarkRedHealth,589.000000,0.000000);
TextDrawAlignment(DarkRedHealth,0);
TextDrawBackgroundColor(DarkRedHealth,0x000000ff);
TextDrawFont(DarkRedHealth,3);
TextDrawLetterSize(DarkRedHealth,1.000000,0.199999);
TextDrawColor(DarkRedHealth,0xffffffff);
TextDrawSetOutline(DarkRedHealth,1);
TextDrawSetProportional(DarkRedHealth,1);
TextDrawSetShadow(DarkRedHealth,1);
CheckStatusTimer = SetTimer("CheckStatus", 1000, 1);
Zones[0]=GangZoneCreate(257.7463, -1741.078, 535.3533, -1409.468);
Zones[1]=GangZoneCreate(546.7618, -1429.206, 797.749, -1227.872);
Zones[2]=GangZoneCreate(672.2554, -1760.817, 870.0029, -1425.259);
Zones[3]=GangZoneCreate(215.9151, -2108.218, 972.6795, -1768.712);
Zones[4]=GangZoneCreate(1056.342, -2376.664, 1641.979, -1887.144);
Zones[5]=GangZoneCreate(816.7632, -1381.833, 1082.962, -1038.38);
Zones[6]=GangZoneCreate(1090.567, -1397.625, 1360.569, -1050.223);
Zones[7]=GangZoneCreate(1075.356, -1772.66, 1360.569, -1409.468);
Zones[8]=GangZoneCreate(767.3264, -1792.399, 1041.13, -1413.416);
Zones[9]=GangZoneCreate(1356.766, -1863.458, 1691.416, -1456.841);
Zones[10]=GangZoneCreate(1379.583, -1452.893, 1634.373, -971.2684);
Zones[11]=GangZoneCreate(1641.979, -1437.102, 1847.332, -994.9549);
Zones[12]=GangZoneCreate(1645.781, -1879.249, 1832.12, -1452.893);
Zones[13]=GangZoneCreate(1835.923, -1484.475, 2090.713, -1022.589);
Zones[14]=GangZoneCreate(1843.529, -1954.256, 2102.122, -1488.423);
Zones[15]=GangZoneCreate(1349.16, -2755.647, 2261.841, -2222.702);
Zones[16]=GangZoneCreate(2155.362, -2696.431, 2858.886, -2179.277);
Zones[17]=GangZoneCreate(2132.544, -2234.546, 2839.872, -1938.465);
Zones[18]=GangZoneCreate(2421.56, -1938.465, 2866.492, -1634.489);
Zones[19]=GangZoneCreate(2299.869, -1630.541, 2855.083, -1073.91);
Zones[20]=GangZoneCreate(2094.516, -2124.009, 2307.475, -1571.325);
Zones[21]=GangZoneCreate(603.8044, -943.6342, 1725.641, -769.9336);
Zones[22]=GangZoneCreate(1832.12, -1141.021, 2862.689, -840.993);
Zones[23]=GangZoneCreate(58.38938, -315.3026, 432.0814, 58.38938);
Zones[24]=GangZoneCreate(1156.11, 151.8124, 1471.412, 467.115);
Zones[25]=GangZoneCreate(2102.018, -105.1009, 2592.488, 151.8124);
Zones[26]=GangZoneCreate(572.2159, -677.3168, 840.807, -420.4035);
Zones[27]=GangZoneCreate(-2912.282, 1059.568, -2128.157, 1458.009);
Zones[28]=GangZoneCreate(-2135.883, 1063.513, -1502.402, 1426.449);
Zones[29]=GangZoneCreate(-2858.205, 736.0805, -2135.883, 1047.733);
Zones[30]=GangZoneCreate(-2139.745, 724.2456, -1417.423, 1055.623);
Zones[31]=GangZoneCreate(-2757.775, 57.54662, -2263.351, 740.0255);
Zones[32]=GangZoneCreate(-2807.99, -194.9311, -2159.059, 61.49159);
Zones[33]=GangZoneCreate(-2155.196, -187.0412, -1757.34, 61.49159);
Zones[34]=GangZoneCreate(-2244.038, 77.27145, -1691.674, 357.3639);
Zones[35]=GangZoneCreate(-1664.635, 254.7948, -1220.427, 562.5021);
Zones[36]=GangZoneCreate(-1740.003, 2405.642, -1214.499, 2826.046);
Zones[37]=GangZoneCreate(-2861.08, 2195.441, -2172.085, 2685.911);
Zones[38]=GangZoneCreate(-443.7593, 2580.811, -58.38938, 2826.046);
Zones[39]=GangZoneCreate(70.06725, 2370.609, 513.8265, 2604.166);
Zones[40]=GangZoneCreate(-432.0814, 957.5858, 198.5239, 1296.244);
Zones[41]=GangZoneCreate(-980.9415, 1389.667, -665.6389, 1646.58);
Zones[42]=GangZoneCreate(-443.7593, 1401.345, -245.2354, 1681.614);
Zones[43]=GangZoneCreate(-945.9079, 1950.205, -291.9469, 2160.407);
Zones[44]=GangZoneCreate(443.7593, 1144.432, 782.4177, 1331.278);
Zones[45]=GangZoneCreate(548.8602, 1611.547, 852.4849, 2078.662);
Zones[46]=GangZoneCreate(-1996.917, -1775.037, -1716.648, -1471.412);
и много интересного
---------------------------------
такж перенес авто школу и починил рацию снесс прова админам например /goto уравинь 1 а там он сделал 999999999
-----------------------------------------
[/pwn]