SetVehicleNumberPlate to specifc car ids
#1

SetVehicleNumberPlate to specifc car ids how to do so
Reply
#2

How do you mean?
Reply
#3

Are these cars created in files/MySQL or in the script it's self?
Reply
#4

in script
Reply
#5

pawn Код:
new TaxiVehicle[2];

/// this under OnGameModeInit

PrivateVehicle[1] = AddStaticVehicleEx(504,1779.7747,-1909.4396,13.5150,270.6893,79,7,-1);

// Put this anywhere At the bottom over ur script.. i do..
stock CountPrivateVehicles()
{
    new count;
    for(new PV=0; PV != 2; PV++)  
    {
        if(PrivateVehicle[PV] == INVALID_VEHICLE_ID)
        SetVehicleNumberPlate(PrivateVehicle[PV], "Thenamehere");
        SetVehicleToRespawn(PrivateVehicle[PV]);
        count ++;
    }
    return count;
}
If You need An Enum To store Random plate names. Let me know Ill fix you up with one.. Just send me Private Message.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)