Comando de respawn sin uso, funciona mal
#8

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;
}
Probalo asн y decime
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)