[Help] Vehicle System.
#1

Hi guys,
I'm building a vehicle system right now, I'm almost done with it.
I have collided with a problem, when someone sells his car, or new cars adding to the mod, the carid changing and the INI will not change himself.
So I tried to add a parameter that will save on the vehicle file, let's says the vehicle id is 3 so in the vehicle file(3.ini), will be wroten ID = 3.
I tried to do
PHP код:
if(VehicleInfo[vehicleid][vID] != vehicleidprintf("Error"); 
But that's printing me the Error when it's not true.
To verify that I removed one vehicle from the gm, and the vehicle id that was 3 become 2, and his file still was 3, with ID = 3.

It's really important for me, thanks for who helping/trying to.
Good day.
Reply


Messages In This Thread
[Help] Vehicle System. - by BlackSA - 08.11.2011, 13:06
Re: [Help] Vehicle System. - by mineralo - 08.11.2011, 14:24
Re: [Help] Vehicle System. - by BlackSA - 08.11.2011, 15:11
Re: [Help] Vehicle System. - by mineralo - 08.11.2011, 16:09
Re: [Help] Vehicle System. - by BlackSA - 08.11.2011, 16:40

Forum Jump:


Users browsing this thread: 2 Guest(s)