19.09.2014, 16:18
hello
I know it is wrong, but how I do it right?
I know it is wrong, but how I do it right?
PHP код:
sizeof(VehicleInfo[vehicleid][vPlaca])
PHP код:
forward SetVehicleNumberPlateEx(vehicleid, numberplate[]);
public SetVehicleNumberPlateEx(vehicleid, numberplate[])
{
format(VehicleInfo[vehicleid][vPlaca], sizeof(VehicleInfo[vehicleid][vPlaca]), "%s", numberplate);
SetVehicleNumberPlate(vehicleid, VehicleInfo[vehicleid][vPlaca]);
}