Vehicle color
#1

Hello

i am trying to make a car system so i tried to save car color with yini i searched on samp forums and found some ways to save car color but didnt worked:

method 1:
PHP Code:
public OnVehicleRespray(playeridvehicleidcolor1color2)
{
    
VehicleInfo[vehicleid][vCol1] = color1;
    
VehicleInfo[vehicleid][vCol2] = color2;
    return 
1;

but did not worked the color of car itself was not changing when i entered pay n spray so i tied this code:
PHP Code:
public OnVehicleRespray(playeridvehicleidcolor1color2)
{
    
VehicleInfo[vehicleid][vCol1] = color1;
    
VehicleInfo[vehicleid][vCol2] = color2;
    
ChangeVehicleColor(vehicleidcolor1color2);
    return 
1;

but still same then i tried another method using this include link:
PHP Code:
    new color1color2;
    
GetVehicleColor(Vehicleidcolor1color2
i put the code above in my car saving stock but still didnt work hope you guys will help me.


NOTE: OTHER DATA SAVES LIKE CAR OWNER AND POSITION
Reply


Messages In This Thread
Vehicle color - by SalmaN97 - 25.04.2016, 03:07
Re: Vehicle color - by Vince - 25.04.2016, 06:21
Re: Vehicle color - by SalmaN97 - 25.04.2016, 07:27
Re: Vehicle color - by [KHK]Khalid - 25.04.2016, 12:04
Re: Vehicle color - by ikey07 - 25.04.2016, 12:40
Re: Vehicle color - by SalmaN97 - 26.04.2016, 00:05
Re: Vehicle color - by Sew_Sumi - 26.04.2016, 01:30
Re: Vehicle color - by SalmaN97 - 26.04.2016, 08:09

Forum Jump:


Users browsing this thread: 1 Guest(s)