SA-MP Forums Archive
[BUG] SetVehicleNumberPlate. - 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: [BUG] SetVehicleNumberPlate. (/showthread.php?tid=197258)



[BUG] SetVehicleNumberPlate. - cepiokas - 08.12.2010

Why numbers are resetting to XYZR 000 after changing resolution? Not always, but often.


AW: [BUG] SetVehicleNumberPlate. - Littl3j0hNy - 08.12.2010

I have tested it and i can't confirm this


Re: AW: [BUG] SetVehicleNumberPlate. - piohh - 08.12.2010

Quote:
Originally Posted by Littl3j0hNy
Посмотреть сообщение
I have tested it and i can't confirm this
I don't have any problems and I use 2 systems. Random and Staticplates


Re: AW: [BUG] SetVehicleNumberPlate. - StreetGT - 08.12.2010

Quote:
Originally Posted by piohh
Посмотреть сообщение
I don't have any problems and I use 2 systems. Random and Staticplates
I don't have problems too
But i only have plates at my statics cars
like: army1 = AddStaticVehicle(.....
SetVehicleNumberPlate(army1, "Hi Piohh");


Re: [BUG] SetVehicleNumberPlate. - cepiokas - 08.12.2010

Well, i'm use it on CreateVehicle and not in OnGameModeInit, there is place to get plates. But sometimes their re-writing to XYZR 000. Doesn't understand. :/


Re: [BUG] SetVehicleNumberPlate. - StreetGT - 08.12.2010

add static vehicles man, is a good system

pawn Код:
new streegt;

streetgt = CreateVehicle(ID,X,Y,Z,angle,color1,color2,respawn);
SetVehicleNumberPlate(streetgt, "StreetGT");



Re: [BUG] SetVehicleNumberPlate. - Scenario - 08.12.2010

When you change the resolution? Do you mean the resolution of your game? I don't think it would reset them. You do realize you need to re-spawn the vehicle(s) after changing their license plate? (aka numberplate)


Re: [BUG] SetVehicleNumberPlate. - cepiokas - 08.12.2010

Yeah, the game resolution. Well, i don't know or its after that, bus they changes to default ones. God damn, of course i know what to do. I said they changes then they are setted to customs, you know what i'm mean. Oh.. Just let it go. Thanks.. Admins, lock topic.