Jump to content
  • 0

3dtext problema


kiLLersx

Question

Problema intalnita (descriere): ce nu e corect in acest script ? imi pune textul pe tablita dar numi pune 3d ! 
Ero(area / rile) / warning-(ul / urile):
Liniile de cod / sursa / script-ul(obligatoriu): 

forward plate();
public plate()
{
	//new nrinmatric[128];
	for(new i = 0; i < sizeof(PD); i++)
	{
	    format(TextCar, sizeof(TextCar), "LS-%d-PD", i);
     	//format(TextCar, sizeof(TextCar), "%s", CarInfo[h][cLicense]);
       	TextUpCar2[i] = Create3DTextLabel(TextCar, 0x0080FFFF , 0.0, 0.0, 0.0, 25, 0, 1);
       	Attach3DTextLabelToVehicle(TextUpCar2[i], i, 0.0, 0.0, 0.1);
	    //SetVehicleNumberPlate(PD[i], nrinmatric);
	    //SetVehicleToRespawn(PD[i]);
	}
	return 1;
	
}


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

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

Incearca:

for(new i = 0; i < sizeof(PD); i++)
	{
	    format(TextCar, sizeof(TextCar), "LS-%d-PD", i);
     	//format(TextCar, sizeof(TextCar), "%s", CarInfo[h][cLicense]);
       	TextUpCar2[i] = Create3DTextLabel(TextCar, 0x0080FFFF , 0.0, 0.0, 0.0, 10.0, 0, 1);
       	Attach3DTextLabelToVehicle(TextUpCar2[i], i, 0.0, -2.8, 0.0);
	    //SetVehicleNumberPlate(PD[i], nrinmatric);
	    //SetVehicleToRespawn(PD[i]);
	}

 

Link to comment
Share on other sites

  • 0

am la ongamemodeinit 

	for(new i; i < sizeof(PD); i++)
    {
	    format(TextCar2, sizeof(TextCar2), "LS-%d-PD", i);
     	//format(TextCar, sizeof(TextCar), "%s", CarInfo[h][cLicense]);
       	TextUpCar2[i] = Create3DTextLabel(TextCar2, 0x0080FFFF , 0.0, 0.0, 0.0, 25, 0, 1);
       	Attach3DTextLabelToVehicle(TextUpCar2[i], i, 0.0, 0.0, 0.1);
	    SetVehicleNumberPlate(PD[i], TextCar2);
	    //SetVehicleToRespawn(PD[i]);
	}

deci pe placuta apare numarul bine dar numi apare 3d ! .

 

Edited by kiLLersx
Link to comment
Share on other sites

  • 0

 

forward plate();
public plate()
{
	//new nrinmatric[128];
	for(new i = 0; i < sizeof(PD); i++)
	{
	    format(TextCar, sizeof(TextCar), "LS-%d-PD", i);
     	//format(TextCar, sizeof(TextCar), "%s", CarInfo[h][cLicense]);
       	TextUpCar2[i] = Create3DTextLabel(TextCar, 0x0080FFFF , 0.0, 0.0, 0.0, 25, 0, 1);
       	Attach3DTextLabelToVehicle(TextUpCar2[i], i, 0.0, 0.0, 0.1);
	    //SetVehicleNumberPlate(PD, nrinmatric);
	    //SetVehicleToRespawn(PD);
	}
	return 1;
	
}

Atunci asta de ce o mai ai daca ai si la ongamemodeinit pus acelasi lucru ?

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.