'SetVehicleNumberPlate' Doesn't works?
#8

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
Okay, try doing it by command.

pawn Код:
CMD:changeplate(playerid, params[])
{
    #pragma unused params
    SetVehicleNumberPlate(GetPlayerVehicleID(playerid), "Testing123");
    SetVehicleToRespawn(GetPlayerVehicleID(playerid));
    return 1;
}
This one works... Maybe too change the vehicle plate under OnGameModeInit, after the vehicles are created.

Quote:
Originally Posted by Infamous
Посмотреть сообщение
If you are setting the same plate on all cars then set it under OnGameModeInIt and you won't have to respawn the vehicles. Make sure you use the following code after the vehicles listed under OnGameModeInIt.

pawn Код:
for(new i=1; i<MAX_VEHICLES; i++) {
        SetVehicleNumberPlate(i, "{01DF01} DL V1.0");
    }
I will try this, and hope that it works.

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
Yes, "XYZR 000" is the default vehicle license (number) plate.
Ok thanks for the info, i didn't know that.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)