So I have trouble with my veh system...
#6

Quote:
Originally Posted by roym899
Посмотреть сообщение
I might be wrong but if you then assign the car id to one of these like
Cars[GroveStreet] = CreateVehicle(...)
All gangs will have only one car? Most likely that's not what you intended to do. So I guess you reassign the value multiple times for multiple cars? Or do they really have only one car? If so it should work. If not it should only work for the last car created.
For multiplecars per gang you need new Cars[10][TeamCars]; (10 cars per team in this example)
And then loop through all these IDs when someone enters a car.
Good point I will see if it will work ..

new Cars[MAX_VEHICLES][TeamCars]; (Didn't worked!)

Bouth didn't work!
Reply


Messages In This Thread
So I have trouble with my veh system... - by Scrillex - 11.02.2013, 11:48
AW: So I have trouble with my veh system... - by roym899 - 11.02.2013, 11:54
Re: So I have trouble with my veh system... - by Scrillex - 11.02.2013, 12:01
Re: So I have trouble with my veh system... - by RajatPawar - 11.02.2013, 12:05
AW: So I have trouble with my veh system... - by roym899 - 11.02.2013, 12:05
Re: AW: So I have trouble with my veh system... - by Scrillex - 11.02.2013, 12:10
AW: So I have trouble with my veh system... - by roym899 - 11.02.2013, 12:14
Re: So I have trouble with my veh system... - by Scrillex - 11.02.2013, 12:18
AW: Re: So I have trouble with my veh system... - by roym899 - 11.02.2013, 12:18
Re: So I have trouble with my veh system... - by Scrillex - 11.02.2013, 13:01

Forum Jump:


Users browsing this thread: 1 Guest(s)