ChangeVehicleColor
#1

How to make that, when vip sit in car and then car change colour ? i try to add like this, but its not working :

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(Account[playerid][Vip] == 1)
    {
        ChangeVehicleColor(vehicleid, 0, 1);
        SetTimer("ChangeColor", 2500, 0);
    }
}
pawn Код:
public ChangeColor(vehicleid)
{
    ChangeVehicleColor(vehicleid, 7, 3);
    ChangeVehicleColor(vehicleid, 5, 9);
    ChangeVehicleColor(vehicleid, 128, 7);
    ChangeVehicleColor(vehicleid, 3, 9);
    ChangeVehicleColor(vehicleid, 2, 7);
    ChangeVehicleColor(vehicleid, 31, 47);
    ChangeVehicleColor(vehicleid, 78, 71);
    ChangeVehicleColor(vehicleid, 28, 45);
    ChangeVehicleColor(vehicleid, 2, 5);
    ChangeVehicleColor(vehicleid, 30, 40);
    ChangeVehicleColor(vehicleid, 57, 98);
    return 1;
}
Someone know ? :S
Reply


Messages In This Thread
ChangeVehicleColor - by Gertin - 01.04.2011, 14:42
Re: ChangeVehicleColor - by coole210 - 03.04.2011, 18:07
Re: ChangeVehicleColor - by Mean - 03.04.2011, 18:09
Re: ChangeVehicleColor - by coole210 - 03.04.2011, 18:11
Re: ChangeVehicleColor - by Gertin - 04.04.2011, 13:48
Re: ChangeVehicleColor - by Gertin - 05.04.2011, 11:25

Forum Jump:


Users browsing this thread: