11.02.2013, 12:10
Quote:
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. |
new Cars[MAX_VEHICLES][TeamCars]; (Didn't worked!)
Bouth didn't work!