Doesn't save vehicle name
#3

Quote:

Well no wonder, look at your second snippet, you create an arrray called "VehName" and then assign the enumerated CarName variable the value of the empty array "VehName", what else do you expect to happen?

Код:
new VehName[60];
            CarInfo[ID][Owned] = 1;
            CarInfo[ID][VehicleNames] = VehName;
See? Of course that array is going to be empty, you're never storing anything into it in that context! Where are you trying to get the value of the array from?

Код:
public OnGameModeInit()
{
    AddBuyableVehicle("Wrecked Glendale 1",10000,2135.4155,-1147.4376,24.2748,55.0182,604);
                             ^^= This value I'm trying to get.
    return 1;
}
Reply


Messages In This Thread
[FIXED]Doesn't save vehicle name - by MasterMJ - 16.08.2011, 08:48
Re: Doesn't save vehicle name - by JaTochNietDan - 16.08.2011, 09:20
Re: Doesn't save vehicle name - by MasterMJ - 16.08.2011, 11:39
Re: Doesn't save vehicle name - by MasterMJ - 16.08.2011, 16:45

Forum Jump:


Users browsing this thread: 1 Guest(s)