Help!!!
#6

pawn Код:
stock RegisterStaticVehicle(vehicleid,isdrivable,owner[]="0", vehjob=-1, vehfaction=-1)
{
    new plate[50];
    VehicleInfo[vehicleid][visvalid]=isdrivable;
    format(VehicleInfo[vehicleid][vowner],MAX_PLAYER_NAME,"%s",owner);
    VehicleInfo[vehicleid][vfuel]=100;
    VehicleInfo[vehicleid][venginestate]=ENGINE_OFF;
    VehicleInfo[vehicleid][vislocked]=0;
    VehicleInfo[vehicleid][vhasinsurance]=-1;
    VehicleInfo[vehicleid][vmodel]=GetVehicleModel(vehicleid);
    VehicleInfo[vehicleid][vjob]=vehjob;
    VehicleInfo[vehicleid][vfaction]=vehfaction;
    format(plate,sizeof(plate),"[FC]%d - [%d]",random(99999-10000)+10000,vehicleid);
    VehicleInfo[vehicleid][vlabel_plate]=SetVehicleNumberPlate(vehicleid, plate);
    return 1;
}
You were not using SetVehicleNumberPlate right at all.
Reply


Messages In This Thread
Help!!! - by alanhutch - 08.03.2011, 17:06
Re: Help!!! - by Fool - 08.03.2011, 17:07
Re: Help!!! - by airsoft - 08.03.2011, 23:56
Re: Help!!! - by grand.Theft.Otto - 09.03.2011, 00:15
Re: Help!!! - by airsoft - 09.03.2011, 00:16
Re: Help!!! - by [WF]Demon - 09.03.2011, 00:27

Forum Jump:


Users browsing this thread: 1 Guest(s)