Posts: 410
Threads: 143
Joined: Jul 2009
Reputation:
0
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)
You need to respawn the vehicle for the changes to take effect.
Posts: 720
Threads: 34
Joined: Dec 2010
Reputation:
0
for(new carid = 0; carid < MAX_VEHICLES; carid++)
{
if(IsAAlugavelCar(carid))
{
new veh = GetVehicleModel(GetPlayerVehicleID(playerid));
SetVehicleNumberPlate(veh, "Ownable");
return 1;
}
}
Posts: 2,593
Threads: 34
Joined: Dec 2007
pawn Код:
for(new carid = 1; carid < MAX_VEHICLES; carid++)
{
if(IsAAlugavelCar(carid))
SetVehicleNumberPlate(carid, "Ownable");
}
Posts: 1,599
Threads: 164
Joined: Dec 2010
Reputation:
0
Please, when you ask help post the code in pawn code not only copy paste...
Posts: 410
Threads: 143
Joined: Jul 2009
Reputation:
0
don't works ¬¬, i'm using a 0.3c gm and 0.3c sa-mp
Posts: 1,506
Threads: 69
Joined: Feb 2008
God damnit, none of your answers are right...
pawn Код:
for(new carid = 0; carid < MAX_VEHICLES; carid++)
{
if(IsAAlugavelCar(carid))
{
SetVehicleNumberPlate(carid, "Ownable");
}
}
Posts: 410
Threads: 143
Joined: Jul 2009
Reputation:
0
DAMNIT, DON'T WORK, BUT THE COMMAND /SETPLATE WORKS --'