Mбximo????
#1

Tipo galera eu to colocando carros no meu server e talz, mais nunca da pra colocar mais de 520 carros oO, quando eu digito /ircarro 520 ele ficando caindo so da pra ir ate o carro 519
Reply
#2

ja tentou aumentar o totalveiculos ?
Reply
#3

Код:
// Velocimetro
for(new v=0; v<MAX_VEHICLES; v++)
	{
		SaveLastPosition(v);
	}
	for(new i=0; i<MAX_PLAYERS; i++)
	{
	  box[i] = TextDrawCreate(198.000000,396.000000,"_");
		TextDrawUseBox(box[i],1);
		TextDrawBoxColor(box[i],0x00000066);
		TextDrawTextSize(box[i],438.000000,0.000000);
		TextDrawAlignment(box[i],0);
		TextDrawBackgroundColor(box[i],0x00000033);
		TextDrawFont(box[i],3);
		TextDrawLetterSize(box[i],1.000000,4.000000);
		TextDrawColor(box[i],0xffffffff);
		TextDrawSetOutline(box[i],1);
		TextDrawSetProportional(box[i],1);
		TextDrawSetShadow(box[i],1);

		/*tacho[i] = TextDrawCreate(288.000000,380.000000,"Velocimetro");
		TextDrawUseBox(tacho[i],1);
		TextDrawBoxColor(tacho[i],0x00000066);
		TextDrawTextSize(tacho[i],343.000000,67.000000);
		TextDrawAlignment(tacho[i],0);
		TextDrawBackgroundColor(tacho[i],0x000000ff);
		TextDrawFont(tacho[i],2);
		TextDrawLetterSize(tacho[i],0.399999,1.400000);
		TextDrawColor(tacho[i],0xffffffff);
		TextDrawSetOutline(tacho[i],1);
		TextDrawSetProportional(tacho[i],1);
		TextDrawSetShadow(tacho[i],1);*/

		fahrzeug[i] = TextDrawCreate(198.000000,396.000000," ");
		TextDrawAlignment(fahrzeug[i],0);
		TextDrawBackgroundColor(fahrzeug[i],0x000000ff);
		TextDrawFont(fahrzeug[i],1);
		TextDrawLetterSize(fahrzeug[i],0.299999,1.000000);
		TextDrawColor(fahrzeug[i],0xffffffff);
		TextDrawSetOutline(fahrzeug[i],1);
		TextDrawSetProportional(fahrzeug[i],1);
		TextDrawSetShadow(fahrzeug[i],1);

		kmh[i] = TextDrawCreate(345.000000,396.000000," ");
		TextDrawAlignment(kmh[i],0);
		TextDrawBackgroundColor(kmh[i],0x000000ff);
		TextDrawFont(kmh[i],1);
		TextDrawLetterSize(kmh[i],0.299999,1.000000);
		TextDrawColor(kmh[i],0xffffffff);
		TextDrawSetOutline(kmh[i],1);
		TextDrawSetProportional(kmh[i],1);
		TextDrawSetShadow(kmh[i],1);

		hoehe[i] = TextDrawCreate(199.000000,408.000000," ");
		TextDrawAlignment(hoehe[i],0);
		TextDrawBackgroundColor(hoehe[i],0x000000ff);
		TextDrawFont(hoehe[i],1);
		TextDrawLetterSize(hoehe[i],0.299999,1.000000);
		TextDrawColor(hoehe[i],0xffffffff);
		TextDrawSetOutline(hoehe[i],1);
		TextDrawSetProportional(hoehe[i],1);
		TextDrawSetShadow(hoehe[i],1);

		zustand[i] = TextDrawCreate(345.000000,408.000000," ");
		TextDrawAlignment(zustand[i],0);
		TextDrawBackgroundColor(zustand[i],0x000000ff);
		TextDrawFont(zustand[i],1);
		TextDrawLetterSize(zustand[i],0.299999,1.000000);
		TextDrawColor(zustand[i],0xffffffff);
		TextDrawSetOutline(zustand[i],1);
		TextDrawSetProportional(zustand[i],1);
		TextDrawSetShadow(zustand[i],1);

		url[i] = TextDrawCreate(197.000000,423.000000,"URL");
		TextDrawAlignment(url[i],0);
		TextDrawBackgroundColor(url[i],0x000000ff);
		TextDrawFont(url[i],1);
		TextDrawLetterSize(url[i],0.40,1.000000);
		TextDrawColor(url[i],0xffffffff);
		TextDrawSetOutline(url[i],1);
		TextDrawSetProportional(url[i],1);
		TextDrawSetShadow(url[i],1);

 	forum[i] = TextDrawCreate(122, 435,"~w~www.~p~goodlifebrasil.forumeiros~w~.com");
	TextDrawSetOutline(forum[i], 1);
	TextDrawFont(forum[i], 3);
	TextDrawSetProportional(forum[i], 2);
	TextDrawAlignment(forum[i], 0);
	TextDrawLetterSize(forum[i], 0.600000, 1.000000);
	TextDrawSetShadow(forum[i], 1);
	}
Tipo esse e o Velocimetro ele usa o MAX_VEHICLES ae o max_vehicles so ta aceitando 519 carros ae ta foda eu ja almentei o maximo de veiculos e nada
Reply
#4

tenta pegar outro velocimetro, pq eu nao sei oqe pode ser nao malz ;[[
Reply
#5

Tipo mais existe outro velocimetro com contador de combustivel?
Reply
#6

deve ter nйh O.O
Reply
#7

normalmente o MAX_VEHICLES fica la no comeзo do cуdigo

#define MAX_VEHICLES 520 < troca isso
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)