Number Plate don't appear
#1

i Have created this code:

for(new carid = 0; carid < MAX_VEHICLES; carid++)
{
if(IsAAlugavelCar(carid))
{
SetVehicleNumberPlate(IsAAlugavelCar(carid), "Ownable");
return 1;
}
}
but the plates don't appear, its: XYZR 000
(GM: LARP)
Reply
#2

Код:
for(new carid = 0; carid < MAX_VEHICLES; carid++)
{
	if(IsAAlugavelCar(carid))
	{
		SetVehicleNumberPlate(IsAAlugavelCar(carid), "Ownable");
	}
}
Reply
#3

You need to respawn the vehicle for the changes to take effect.
Reply
#4

Quote:
Originally Posted by TerinoR
Посмотреть сообщение
Код:
for(new carid = 0; carid < MAX_VEHICLES; carid++)
{
	if(IsAAlugavelCar(carid))
	{
		SetVehicleNumberPlate(IsAAlugavelCar(carid), "Ownable");
	}
}
Don't work too, i have respawned the cars using /respawnallcars, don't work too
Reply
#5

for(new carid = 0; carid < MAX_VEHICLES; carid++)
{
if(IsAAlugavelCar(carid))
{
new veh = GetVehicleModel(GetPlayerVehicleID(playerid));
SetVehicleNumberPlate(veh, "Ownable");
return 1;
}
}
Reply
#6

pawn Код:
for(new carid = 1; carid < MAX_VEHICLES; carid++)
{
    if(IsAAlugavelCar(carid))
        SetVehicleNumberPlate(carid, "Ownable");
}
Reply
#7

Please, when you ask help post the code in pawn code not only copy paste...
Reply
#8

don't works ¬¬, i'm using a 0.3c gm and 0.3c sa-mp
Reply
#9

God damnit, none of your answers are right...

pawn Код:
for(new carid = 0; carid < MAX_VEHICLES; carid++)
{
    if(IsAAlugavelCar(carid))
    {
        SetVehicleNumberPlate(carid, "Ownable");
    }
}
Reply
#10

DAMNIT, DON'T WORK, BUT THE COMMAND /SETPLATE WORKS --'
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)