[Suggestion] Vehicle number plate
#10

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]
Reply


Messages In This Thread
[Suggestion] Vehicle number plate - by scottyishere - 29.11.2010, 15:16
Re: [Suggestion] Vehicle number plate - by Mauzen - 29.11.2010, 15:19
Re: [Suggestion] Vehicle number plate - by Jochemd - 29.11.2010, 15:31
Re: [Suggestion] Vehicle number plate - by scottyishere - 29.11.2010, 15:31
Re: [Suggestion] Vehicle number plate - by Jochemd - 29.11.2010, 15:33
Re: [Suggestion] Vehicle number plate - by kurta999 - 29.11.2010, 15:33
Re: [Suggestion] Vehicle number plate - by Jochemd - 29.11.2010, 15:35
Re: [Suggestion] Vehicle number plate - by scottyishere - 29.11.2010, 15:42
Re: [Suggestion] Vehicle number plate - by Jochemd - 29.11.2010, 15:48
Re: [Suggestion] Vehicle number plate - by smeti - 29.11.2010, 17:24

Forum Jump:


Users browsing this thread: 2 Guest(s)