Vehicle Plate!
#1

Why doesn't this work?
pawn Код:
public OnGameModeInit()
{
    for(new v = 0; v < MAX_VEHICLES; v++)
    {
        SetVehicleNumberPlate(v, "JCNR");
    }
    return 1;
}
Reply
#2

You need to respawn the vehicles before the plate will show.
Reply
#3

Maybe this?
Код:
public OnGameModeInit()
{
    for(new v = 0; v < MAX_VEHICLES; v++)
    {
        SetVehicleNumberPlate(v, "JCNR");
        SetVehicleToRespawn(v);
    }
    return 1;
}
Reply
#4

Respawn needed.
Reply
#5

This is not Working! I have already tried to respawn the vehicles in 2 methods:
1. SetVehicleToRespawn under the loop.
2. Respawn the vehicles manually by using a cmd.

Any solution?
Reply
#6

First, you need to create vehicle, then set his plate, and then respawn it or stream-in.
Reply
#7

why do i have to create vehicles?!! there are already so much vehicles in the server.
I'm using grandlarc vehicles. so?
Reply
#8

Make sure the vehicles are loaded BEFORE you loop and set the number plates.
Reply
#9

Quote:
Originally Posted by Mionee
Посмотреть сообщение
Make sure the vehicles are loaded BEFORE you loop and set the number plates.
Thank you! it works now +Rep.
And thanks all for helping.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)