29.11.2010, 17:24
(
Последний раз редактировалось smeti; 29.11.2010 в 19:08.
)
Try.:
pawn Код:
// Created by me
// thanks ****** For the method to not replace the function names
new
LicPlate[MAX_VEHICLES][32+1];
native
P_SetVehicleNumberPlate(vehicleid, numberplate[]) = SetVehicleNumberPlate;
#define SetVehicleNumberPlate \
SetVehicleNumberPlateEx
stock
SetVehicleNumberPlateEx(vehicleid, numberplate[])
{
format(LicPlate[vehicleid], 32+1, "%s", numberplate);
return P_SetVehicleNumberPlate(vehicleid, LicPlate[vehicleid]); // or numberplate
}
#define GetVehicleNumberPlate(%0) \
LicPlate[%0]