Getting Data from a function..
#2

You could create an array and use it for your vehicles.

pawn Код:
//At the top
new VehID[MAX_VEHICLES];

//Right above VehiclePID++;
VehID[vehicleid] = VehiclePID;
The only problem with that is you need a vehicle id to use for the array index. You could use CreateVehicle instead of AddStaticVehicleEx so you could get the vehicle id. It's up to you.
Reply


Messages In This Thread
Getting Data from a function.. - by [L3th4l] - 12.07.2010, 02:15
Re: Getting Data from a function.. - by Backwardsman97 - 12.07.2010, 03:50

Forum Jump:


Users browsing this thread: 1 Guest(s)