SA-MP Forums Archive
Number Plate don't appear - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Number Plate don't appear (/showthread.php?tid=215654)



Number Plate don't appear - GuikBretas - 23.01.2011

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)


Re: Number Plate don't appear - TerinoR - 23.01.2011

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



Re: Number Plate don't appear - [03]Garsino - 23.01.2011

You need to respawn the vehicle for the changes to take effect.


Re: Number Plate don't appear - GuikBretas - 23.01.2011

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


Re: Number Plate don't appear - Marricio - 23.01.2011

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


Re: Number Plate don't appear - Jefff - 23.01.2011

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



Re: Number Plate don't appear - ricardo178 - 23.01.2011

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


Re: Number Plate don't appear - GuikBretas - 23.01.2011

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


Re: Number Plate don't appear - Mike Garber - 23.01.2011

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

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



Re: Number Plate don't appear - GuikBretas - 23.01.2011

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