SetVehicleNumberPlate problem
#9

@SkizzoTrick:
Quote:
Originally Posted by Kwarde
Посмотреть сообщение
Try this: After setting the numberplate, respawn cars!
So the code will look like this:

pawn Код:
for(new h = 197; h < sizeof(CarInfo); h++)
{
    SetVehicleNumberPlate(h, CarInfo[h][cLicense]);
    SetVehicleToRespawn(h);
}
And I have an tip. If you use an 'for' thing, or an 'if' statement etc, and it has just one line, don't use brackets.
Example:

pawn Код:
for(new h = 197; h < sizeof(CarInfo); h++)
    SetVehicleNumberPlate(h, CarInfo[h][cLicense]);
Please, read the whole topic first.
Reply


Messages In This Thread
SetVehicleNumberPlate problem - by pantelimonfl - 04.01.2011, 17:56
Re: SetVehicleNumberPlate problem - by iJumbo - 04.01.2011, 18:01
Re: SetVehicleNumberPlate problem - by Kwarde - 04.01.2011, 18:02
Re: SetVehicleNumberPlate problem - by pantelimonfl - 04.01.2011, 18:11
Re: SetVehicleNumberPlate problem - by Kwarde - 04.01.2011, 18:12
Re: SetVehicleNumberPlate problem - by pantelimonfl - 04.01.2011, 18:14
Re: SetVehicleNumberPlate problem - by Kwarde - 04.01.2011, 18:14
Re: SetVehicleNumberPlate problem - by SkizzoTrick - 04.01.2011, 18:16
Re: SetVehicleNumberPlate problem - by Kwarde - 04.01.2011, 18:21
Re: SetVehicleNumberPlate problem - by SkizzoTrick - 04.01.2011, 18:26

Forum Jump:


Users browsing this thread: 1 Guest(s)