06.09.2012, 19:12

@Edit
pawn Код:
new CarroCobras[4]; //Quantidade de Veiculos.
//================= COBRA ========================================================================================
CarroCobras[0] = AddStaticVehicle(562,1655.5938,-1720.0375,20.1433,356.7557,6,0); // Cobra 2
CarroCobras[1] = AddStaticVehicle(560,1646.1033,-1704.8936,20.1892,270.0406,6,0); // Cobra 3
CarroCobras[2] = AddStaticVehicle(559,1672.0814,-1717.9232,20.1407,88.0154,6,0); // Cobra 4
CarroCobras[3] = AddStaticVehicle(534,1660.1813,-1719.5751,20.2089,358.9847,6,0); // Remington
public IsACCobraCar(carid) {
for(new i = (sizeof(CarroCobras) - 1); i > -1; --i) if(carid == CarroCobras[i]) return 1;
return 0;
}