[Problem]Car colors
#1

Hi, i have a dealership and i try to make when the player click ">" textdraw to change the color to "red" for example,then if he press again to "blue".Then if he press "<" back textdraw button to go back to previous color "red".
Quote:

if(clickedid == SSelectDreapta[playerid])
{
new color2;
ChangeVehicleColor(IDmasina[playerid], color1 +1, color2);
}
if(clickedid == SSelectStanga[playerid])
{
new color2;
ChangeVehicleColor(IDmasina[playerid], color1 -1, color2);
}
if(clickedid == SSelectDDreapta[playerid])
{
new color1;
ChangeVehicleColor(IDmasina[playerid], color1, color2 +1);
}
if(clickedid == SSelectSStanga[playerid])
{
new color1;
ChangeVehicleColor(IDmasina[playerid], color1, color2 -1);
}

But this is not working.
Reply


Messages In This Thread
[Problem]Car colors - by duteba - 03.03.2015, 15:49
Re: [Problem]Car colors - by maramizo - 03.03.2015, 17:02
Re: [Problem]Car colors - by duteba - 03.03.2015, 17:40

Forum Jump:


Users browsing this thread: 1 Guest(s)