16.05.2016, 21:10
pawn Код:
CMD:racs(playerid, params[])
{
for(new i=0; i<MAX_VEHICLES; i++)
{
if(!IsVehicleOcuppied(i))
{
SetVehicleToRespawn(i);
if( CarInfo[ i ][ cOwned ] == 1 )
{
SetVehicleParamsEx( i, 0, 0, 0, 1, 0, 0, 0 );
}
else
{
SetVehicleParamsEx( i, 0, 0, 0, 0, 0, 0, 0 );
engineOn[i] = false;
ChangeVehicleColor(i, CarInfo[i][cColorOne], CarInfo[i][cColorTwo]);
AddCarTuning( i );
}
}
}
return 1;
}