custom carid - 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: custom carid (
/showthread.php?tid=237990)
custom carid -
marine - 10.03.2011
So for whatever reason, my ownable cars conflict with the regularly spawned cars. is it possible to set a car's ID number when its spawned somehow?
Re: custom carid -
dk4ever - 10.03.2011
you can't change the id.. buy you can make like this
new regularycar
regularycar = AddStaticVehicleEx(507,1403.8602,-1794.9313,13.3715,88.8551,1,1,600);
and now use "regularycar" where you want
Re: custom carid -
marine - 10.03.2011
the regular cars are just the addstaticvehicle but the ownable cars go by "ownedcar"
whats happening is people buy a car, and it sets them as the owner. but after a server restart, their car may say its owned by someone else and and their stats show them owning a regular car.