22.10.2015, 15:15
(
Последний раз редактировалось rambalili2; 22.10.2015 в 16:08.
)
I made this command for re-spawning my group vehicles and i get 2 warnings on this 2 lines
The enum
Command
and i get warning 213: tag mismatch on this lines
if any one can help me fix this warnings it would be greate thanks.
The enum
Код:
enum Bcars { Car1, Car2, Car3, Car4, Car5, Car6, Car7 } new Bcar[Bcars];
Код:
CMD:breset2(playerid, params[]) { if(PlayerInfo[playerid][pBikers] >= 2) { for(new i; i < MAX_VEHICLES; i++) { if(!VehicleOccupied(Bcar[i])) { SetVehicleToRespawn(Bcar[i]); } } SendClientMessage(playerid, COLOR_GREEN, "Unoccupied vehicles of The Bikers have been respawned."); } else { SendClientMessage(playerid, COLOR_RED, "Are you sure you typed the correct command?"); } return 1; }
Код:
if(!VehicleOccupied(Bcar[i]))
Код:
SetVehicleToRespawn(Bcar[i]);