Whats wrong?
#6

ok the prototype is:

Quote:

forward OnVehicleMod(vehicleid, componentid);

and what is wrong is: (at least it tells that difers from prototype)

Quote:

public OnVehicleMod(vehicleid, componentid)
{
if(vehicleid >= nstaticcars)
{
vehicleid = vehicleid - nstaticcars;
SaveComponent(vehicleid,componentid);
}

Quote:

public OnVehiclePaintjob(vehicleid, paintjobid)
{
if(vehicleid >= nstaticcars)
{
if(IsaCarforsell(vehicleid) == 0)
{
new carnfoid;
carnfoid = vehicleid - nstaticcars;
CarsInfo[carnfoid][cpaintjob] = paintjobid;
}
}

}

and

Quote:

public OnVehicleRespray(vehicleid, color1, color2)
{
if(vehicleid >= nstaticcars)
{
if(IsaCarforsell(vehicleid) == 0)
{
new carnfoid;
carnfoid = vehicleid - nstaticcars;
CarsInfo[carnfoid][ccolor1] = color1;
CarsInfo[carnfoid][ccolor2] = color2;
}
}

}

Reply


Messages In This Thread
Whats wrong? - by Shellegg - 16.02.2009, 21:13
Re: Whats wrong? - by Backwardsman97 - 16.02.2009, 21:36
Re: Whats wrong? - by Shellegg - 16.02.2009, 21:42
Re: Whats wrong? - by Joe Staff - 16.02.2009, 21:44
Re: Whats wrong? - by yom - 16.02.2009, 22:22
Re: Whats wrong? - by Shellegg - 17.02.2009, 20:46
Re: Whats wrong? - by Joe Staff - 17.02.2009, 21:04
Re: Whats wrong? - by MenaceX^ - 17.02.2009, 21:05
Re: Whats wrong? - by Shellegg - 17.02.2009, 21:45
Re: Whats wrong? - by Daren_Jacobson - 18.02.2009, 01:17

Forum Jump:


Users browsing this thread: 1 Guest(s)