Jump to content
  • 0

problema numere inmatriculare


Question

Posted

 Am facut acest public ca sa dea refresh la numarul 3d de inmatriculare de pe masina dar nu functioneaza

 

forward Refresh();
public Refresh()
{
    new LabelString[256];
	for(new h = carsonserver; h < sizeof(CarInfo); h++)
	{
		if(CarInfo[h][cOwned] == 1)
		{
		    Delete3DTextLabel();
			format(LabelString, sizeof(LabelString), "{0099FF}%s", CarInfo[h][cLicense]);
		    Car3DLabel[h] = Create3DTextLabel( LabelString, 0xFFFFFFFF, 0.0, 0.0, 0.0, 7.0, 0, 0 );
		    Attach3DTextLabelToVehicle( Car3DLabel[h], h, 0.0, 0.0, 0.0);
		}
	}
	return 1;
}

 

3 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.