[HELP] About the AddStaticVehivcle please
#1

I have one question... in one server... have limits of vehicles...? is cause... when i add the vehicles in Red County and Flint County (I have vehicles in LS, SF, BC, LV)

My server is crash... but when i delete teh cars of Red County and Flint County is run perfect

Can someone help me? or know why happend this...

Код:
// Red County
    AddStaticVehicle(483,-754.0507,-135.9877,65.9359,106.1284,1,31); //
	AddStaticVehicle(500,-529.7302,-102.8016,63.3960,268.2537,40,84); //
	AddStaticVehicle(489,-570.7452,-177.1331,78.5512,91.9857,14,123); //
	AddStaticVehicle(531,-37.7697,59.0916,3.0837,343.0830,91,2); //
	AddStaticVehicle(445,246.1440,-85.7061,1.9955,89.9325,35,35); //
	AddStaticVehicle(535,287.4154,-56.9473,1.3422,180.9898,28,1); //
	AddStaticVehicle(560,306.2093,-186.1805,1.2835,88.4268,9,39); //
	AddStaticVehicle(579,228.4702,-295.5135,1.5103,269.3540,42,42); //
	AddStaticVehicle(421,649.0319,-499.3565,16.2184,0.9621,13,1); //
	AddStaticVehicle(479,750.4082,-546.5297,16.6351,358.7231,59,36); //
	AddStaticVehicle(578,844.7655,-597.7217,18.8932,0.1319,1,1); //
	AddStaticVehicle(400,749.2793,-582.1199,17.3315,90.9036,123,1); //
	AddStaticVehicle(600,663.0566,-617.8395,16.0554,269.7850,32,8); //
	AddStaticVehicle(400,1234.4019,212.8676,19.6470,69.6488,113,1); //
	AddStaticVehicle(468,1233.7504,300.5765,19.2836,156.3839,46,46); //
	AddStaticVehicle(545,1290.6646,341.7723,19.3658,66.9819,47,1); //
	AddStaticVehicle(554,1366.2230,367.0595,20.6428,65.0919,15,32); //
	AddStaticVehicle(475,1334.7073,283.0639,19.3660,245.7196,9,39); //
	AddStaticVehicle(424,2157.9041,-104.6777,2.4308,32.1457,2,2); //
	AddStaticVehicle(421,2196.5928,-46.8106,27.2602,270.6999,13,1); //
	AddStaticVehicle(445,2263.0466,-130.1453,27.3439,358.7994,37,37); //
	AddStaticVehicle(560,2279.5222,5.0772,27.1739,178.9942,9,39); //
	AddStaticVehicle(400,2397.5996,-49.3807,27.4380,358.9846,123,1); //
	AddStaticVehicle(508,2409.8967,54.7927,27.3710,179.7567,1,1); //
	AddStaticVehicle(567,2554.2114,71.9951,26.3450,89.0144,88,64); //
	AddStaticVehicle(478,2503.4451,132.3605,26.4684,179.0108,66,1); //

//Flint County
	AddStaticVehicle(458,-2176.6567,-2429.2473,30.5035,232.6036,101,1); //
	AddStaticVehicle(561,-2200.1411,-2502.7573,30.4298,322.0180,8,17); //
	AddStaticVehicle(440,-2058.2644,-2439.0608,30.7462,142.7671,32,32); //
	AddStaticVehicle(585,-2112.8169,-2315.0859,30.2118,231.4698,42,42); //
	AddStaticVehicle(579,-2140.1619,-2255.4558,30.5581,322.0860,42,42); //
	AddStaticVehicle(455,-1971.0349,-2432.6335,31.0617,134.8406,84,58); //
	AddStaticVehicle(468,-2066.8123,-2500.4504,30.2992,141.5104,46,46); //
	AddStaticVehicle(471,-1640.6934,-2246.4749,30.9591,46.1378,103,111); //
	AddStaticVehicle(478,-1073.2374,-1203.6742,129.2146,179.4565,66,1); //
	AddStaticVehicle(531,-1032.2678,-1183.8569,129.1852,88.5099,36,2); //
	AddStaticVehicle(531,-1071.3895,-1154.2190,129.1827,267.1577,51,53); //
	AddStaticVehicle(532,-1192.9995,-1062.7592,130.1927,0.0955,0,0); //
	AddStaticVehicle(400,-1006.5128,-653.6417,32.1002,90.1919,123,1); //
	AddStaticVehicle(535,-544.4034,-471.9516,25.2828,178.1019,28,1); //
	AddStaticVehicle(421,-495.3186,-487.9273,25.4003,179.3886,13,1); //
	AddStaticVehicle(489,-593.7725,-1085.0981,23.7408,59.3816,14,123); //
	AddStaticVehicle(508,-575.2858,-1057.4868,24.0257,235.7365,1,1); //
	AddStaticVehicle(586,-566.2162,-1041.6722,23.5269,235.6238,122,1); //
Thanks for the read.
Reply
#2

Omg, i put only the vehicles Red County and Flint County, and the server not did crash... but i read, the max is 700 cars... i not have more 560 cars ingame :/
Reply
#3

How much vehicle types you have?
Reply
#4

I have 477 vehicles in the GM
Reply
#5

Use this to quickly find out how much vehicle models you have.

The limit is 127 models

pawn Код:
if(strcmp(cmd, "/models", true) == 0) { // By Beckzyboi
new mt[212], hm, str[45];
for (new v = 1; v <= 700; v ++)
if (GetVehicleModel(v)) mt[GetVehicleModel(v)-400] ++;
for (new et2; et2 < sizeof(mt); et2 ++) if (mt[et2]) hm ++;
format(str, 45, "Server has %d Vehicle Models! (Limit: 127)", hm);
SendClientMessage(playerid,COLOR_WHITE, str);
return true;
}
Reply
#6

Quote:
Originally Posted by ERO
I have 477 vehicles in the GM
I'm not asking about number of vehicles, but number of types (models).
Reply
#7

Quote:
Originally Posted by BMUK
Use this to quickly find out how much vehicle models you have.

The limit is 127 models

pawn Код:
if(strcmp(cmd, "/models", true) == 0) { // By Beckzyboi
new mt[212], hm, str[45];
for (new v = 1; v <= 700; v ++)
if (GetVehicleModel(v)) mt[GetVehicleModel(v)-400] ++;
for (new et2; et2 < sizeof(mt); et2 ++) if (mt[et2]) hm ++;
format(str, 45, "Server has %d Vehicle Models! (Limit: 127)", hm);
SendClientMessage(playerid,COLOR_WHITE, str);
return true;
}
Oh, very thanks ^^
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)