Need help on it.
#1

Код:
forward AutoPaintChange();
Код:
SetTimer("AutoPaintChange",3000,true);
Код:
public AutoPaintChange()
{
	new vehicleid;
    ChangeVehicleColor(vehicleid, -1, -1);
    return 1;
}
i have created this script and it is not working......
even it is blocking other commands...
Reply
#2

Quote:
Originally Posted by Cenation
Посмотреть сообщение
Код:
forward AutoPaintChange();
Код:
SetTimer("AutoPaintChange",3000,true);
Код:
public AutoPaintChange()
{
	new vehicleid;
    ChangeVehicleColor(vehicleid, -1, -1);
    return 1;
}
i have created this script and it is not working......
even it is blocking other commands...
With the code you want to randomize the colors of all the cars?

It won't work. This will:


pawn Код:
SetTimer("AutoPaintChange",3000,true);
pawn Код:
public AutoPaintChange()
{
    for(new vehicleid=0;vehicleid<MAX_VEHICLES;vehicleid++)
    {
        ChangeVehicleColor(vehicleid, -1, -1);
    }
    return 1;
}
Reply
#3

Edit: late
Reply
#4

ty Sasino ... bro of who ever... hehe :P

its not working.. it makes all car black...
Reply
#5

Quote:
Originally Posted by Cenation
Посмотреть сообщение
its not working.. it makes all car black...
pawn Код:
public AutoPaintChange()
{
    for(new vehicleid=0;vehicleid<MAX_VEHICLES;vehicleid++)
    {
        ChangeVehicleColor(vehicleid, random(120), random(120));
    }
    return 1;
}
Reply
#6

Cool it is working...
really... Sino's are intelligent..
Sasino and Garsino both are intelligent
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)