[Ajuda] Definir placas (plate) padrхes... - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Definir placas (plate) padrхes... (
/showthread.php?tid=505663)
Definir placas (plate) padrхes... -
AlexandreRangelMamut - 09.04.2014
Boa tarde.
Gostaria de saber se existe alguma forma, na qual eu defina uma placa RANDOM, para todos veiculos adicionados no meu GM...
Exemplo: ABC 1234 (sу iria variar o numero)
PHP код:
LastVehicleID = Vehicle_AddStatic(VehicleDFT30,...
Obrigado pessoal.
Re: Definir placas (plate) padrхes... -
iFox - 09.04.2014
https://sampwiki.blast.hk/wiki/SetVehicleNumberPlate
Re: Definir placas (plate) padrхes... -
AlexandreRangelMamut - 09.04.2014
PHP код:
new plate[8];
for(new th = 0; th < MAX_VEHICLES; th++)
{
format(plate, sizeof(plate), "XXX %d", th);
SetVehicleNumberPlate(th, plate);
}
Fiz assim, deu certo... valeu