noob question about sizeof()
#4

Just enter its size.
Also, you should use strcpy for this, not format.
pawn Код:
#define strcpy(%0,%1) strcat((%0[0] = '\0', %0), %1)

strcpy(VehicleInfo[vehicleid][vPlaca], numberplate, SIZE HERE);
Reply


Messages In This Thread
noob question about sizeof() - by dudaefj - 19.09.2014, 16:18
Re: noob question about sizeof() - by Dignity - 19.09.2014, 16:33
Re: noob question about sizeof() - by Vince - 19.09.2014, 16:33
Re: noob question about sizeof() - by Stinged - 19.09.2014, 16:33
Re: noob question about sizeof() - by dudaefj - 19.09.2014, 17:07
Re: noob question about sizeof() - by Vince - 19.09.2014, 17:25

Forum Jump:


Users browsing this thread: 1 Guest(s)