17.08.2013, 18:08
Usa variбveis, tipo:
Dai pra verificar por exemplo:
pawn Код:
new Carro[5]; //Topo do GM
//OnGameModeInit
Carro[0] = AddStaticVehicle(...);
Carro[1] = AddStaticVehicle(...);
Carro[2] = AddStaticVehicle(...);
Carro[3] = AddStaticVehicle(...);
Carro[4] = AddStaticVehicle(...);
pawn Код:
stock CarroCivil(vehicleid)
{
for (new i; i < 6; i++)
if (vehicleid == Carro[i])
return 1;
return 0;
}