Jump to content
  • 0

problema 3dtext


kiLLers10

Question

Problema intalnita (descriere): Am o problema la acest script . nu imi apar numerele 3d ci doar pe placuta .
Ero(area / rile) / warning-(ul / urile):
Liniile de cod / sursa / script-ul(obligatoriu): 

	new nrstr[256];
	for(new i = 0; i < sizeof(FBI); i++)
	{
	    format(nrstr, sizeof(nrstr), "LS-%d-FBI", i);
	    TextCar[i] = Create3DTextLabel( nrstr, 0xFFFFFFFF, 0.0, 0.0, 0.0, 7.0, 0, 0 );
	    Attach3DTextLabelToVehicle( TextCar[i], i, 0.0, 0.0, 0.0);
	    SetVehicleNumberPlate(FBI[i], nrstr);
	    SetVehicleToRespawn(FBI[i]);
	}


Imagini / Video (optional):
Ati incercat sa rezolvati singur?:  da

Link to comment
Share on other sites

13 answers to this question

Recommended Posts

  • 0

1.ai pus stringul muult prea mare nu folosești 256 de caractere...mai mult de 32 nu folosești, și chiar și așa tot e prea mult.

2.Foloseste Update3DTextLabel

**********************************

Servicii Scripting de calitate:

*********************************

Future Project: ExpertGame

*********************************

Link to comment
Share on other sites

  • 0
new nrstr[32];
	for(new i = 0; i < sizeof(FBI); i++)
	{
	    format(nrstr, sizeof(nrstr), "LS-%d-FBI", i);
	    TextCar[i] = Create3DTextLabel( nrstr, 0xFFFFFFFF, 0.0, 0.0, 0.0, 50.0, 0, 1);
	    Attach3DTextLabelToVehicle( TextCar[i], i,  -0.7, -1.9, -0.3);
	    SetVehicleNumberPlate(FBI[i], nrstr);
	    SetVehicleToRespawn(FBI[i]);
	}

Salut.

Incearca asa.

 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.