plate don't load
#1

Hello,

This is my command for load plate number:

(plaque(fr) = plate (en) )

Код:
mysql_get_field("plaque",Field); CarInfo[i][cPlate] = strval(Field);
And the code for create vehicle:

Код:
for(new h = 0; 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);
        SetVehicleNumberPlate(h, CarInfo[h][cPlate]);
	}
But, the plate isn't load...

The field of the plate is: TEXT

Regards
Reply
#2

if I remember correctly you have to REspawn the vehicle after setting it's plate; with:

https://sampwiki.blast.hk/wiki/SetVehicleToRespawn
Reply
#3

Sorry, I didn't say, but I had already reload it and don't work too..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)