22.07.2015, 17:28
Quote:
So when VIP is in any vehicle color of his car will change every one second.
Код:
SetTimerEx("ChangeVehicleColor", 1000, false, "i", playerid); // 1000 ( 1 second ) Код:
forward ChangeVehicleColor(playerid); public ChangeVehicleColor(playerid) { new rand1 = random(255); // color one new rand2 = random(255); //color two ChangeVehicleColor(GetPlayerVehicleID(playerid),rand1,rand2); return 1; } |
and your code crashes my pawn ;(