20.05.2015, 17:56
These shouldn't be strings, but integers;
It's pretty simple;
As for vehicles colours;
Just change "VehicleInfo" to your vehicles enum variable.
pawn Код:
vcolor1,
vcolor2,
paintjob,
pawn Код:
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
VehicleInfo[vehicleid][paintjob] = paintjobid;
return 1;
}
pawn Код:
public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
VehicleInfo[vehicleid][vcolor1] = color1;
VehicleInfo[vehicleid][vcolor2] = color2;
return 1;
}