vehicle id's messup
#1

hee all,

i have a huge problem in my script, what involves the vehicle id's of my housecars
i create them like this:
cInfo[houseid][HouseCar] = CreateVehicle(cInfo[houseid][CarModel], Carx, Cary, Carz, Angx, cInfo[houseid][CarColor1], cInfo[houseid][CarColor2], 120);

and destroy them like this:

DestroyVehicle(cInfo[houseid][HouseCar]);
cInfo[houseid][HouseCar] = 0;

when the server starts everything works out fine, but after a while some of them get mixed up.

since i only allowed the owner of the car to drive it, the car gets unusable.

i really don't know why this happens, anyone have an idea?

i'm really sure that everywhere i destroy the vehicle i define it to 0 like i showed above!

Thanks in advance,

Jop9888
Reply


Messages In This Thread
vehicle id's messup - by jop9888 - 04.06.2012, 17:53
Re: vehicle id's messup - by zDevon - 07.06.2012, 05:52
Re: vehicle id's messup - by jop9888 - 07.06.2012, 23:22
Re: vehicle id's messup - by jop9888 - 13.06.2012, 11:27

Forum Jump:


Users browsing this thread: 1 Guest(s)