Vehicle Help - 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: Vehicle Help (
/showthread.php?tid=125070)
Vehicle Help -
JakesRolePlay - 02.02.2010
Ok so when I try to add a new car to my gamemode/script it puts it as car id 1, and if i added 2 new cars it put it as 1, 2 and I need to change that and make it like 1000 or something but it still be scripted for the server faction and I was ok with it but it moved the bought vehicles to. Please help :\
Re: Vehicle Help -
shady91 - 02.02.2010
this makes not one bit of sense.
Re: Vehicle Help -
mansonh - 02.02.2010
You cannot change the actual vehicle ids.
You can however make an array of vehicle ids.
either like
new VehicleTeam[MAX_VEHICLES]; which is an array of the vehicle id matched to a team id.
or
new TeamAVehicles[100], TeamBVehicles[100]... which is a groups array of vehicles they own.
Re: Vehicle Help -
JakesRolePlay - 02.02.2010
Quote:
|
Originally Posted by mansonh
You cannot change the actual vehicle ids.
You can however make an array of vehicle ids.
either like
new VehicleTeam[MAX_VEHICLES]; which is an array of the vehicle id matched to a team id.
or
new TeamAVehicles[100], TeamBVehicles[100]... which is a groups array of vehicles they own.
|
Thanks for the help!