Problems with vehicles
#1

Hi, i added a selling vehicles in my gm for my future server and i have some problem here.

I have normal vehicles which they use only " CreateVehicle" ( which they are public not for sale )

Then

the last vehicle i named it " lastnormalvehicle" like ( new lastnormalvehicle = CreateVehicle..... )

Then i used to make just to check the vehicle ID for example

SellableVehicle = GetPlayerVehicleID(playerid) - lastnormalvehicle;

And now when someone had sold his vehicle which the server destroy the car and its records.

So now i ended up with Sellable Vehicles: 1, 2, 3, 5 and the 5th for some reason ( probably ) cause there isn't any 4th, it got messed up ( but server can read the file but it aint finding its vehicle id the id that is sellable not the physical vehicleid )

Any ideas on how to fix this?
Reply


Messages In This Thread
Problems with vehicles - by silvan - 21.01.2011, 07:04
Re: Problems with vehicles - by silvan - 21.01.2011, 20:08

Forum Jump:


Users browsing this thread: 1 Guest(s)