Plate problem
#1

Hy everyone,i have a problem with my sistem,/v plate its with 3dtext,its okay when i have just 10-12 personal cars on server,the 3dtext load ,save and change(/v plate) like a charm,but when i have like 100+ personal cars ,some of 3dtext did not load,and other few ,like 2-3 personal cars 3dtext just dissapear,randomly.
Code from LoadCar,just under OnGmeModeinit,i putted it:
Код:
for(new h = carsonserver; h < sizeof(CarInfo); h++)
	{
		AddStaticVehicleEx(CarInfo[h][cModel],CarInfo[h][cLocationx],CarInfo[h][cLocationy],CarInfo[h][cLocationz]+1.0,CarInfo[h][cAngle],CarInfo[h][cColorOne],CarInfo[h][cColorTwo],60000);
  		format(TextCar, sizeof(TextCar), "%s-%s-%s", CarInfo[h][cLicense], CarInfo[h][cLicense2], CarInfo[h][cLicense3]);
	 	TextUpCar[h] = Create3DTextLabel(TextCar, 0x33AAFFFF, 0.0, 0.0, 0.0, 25, 0, 1);
		Attach3DTextLabelToVehicle(TextUpCar[h], h, 0.0, 0.0, 0.1);
		LoadComponents(h);
	}
Pictures: http://imageshack.us/g/194/samp150wb.png/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)