Здравствуйте пользователи PAWNO-CRMP.RU!
Команда продажи всех автомобилей на сервере.
Код:
if(strcmp(cmd, "/delcarall", true) == 0 && PlayerInfo[playerid][pAdmin] > 11)
{
SendClientMessage(playerid, -1, "Вы запустили очистку всех автомобилей...подождите.");
for(new house;house <= AllHouse;house++)
{
format(CarInfo[AllCars][cOwner],24,"Nones");
format(CarInfo[AllCars][cNick1],24,"Nones");
}
SendClientMessage(playerid, -1, "Вы продали все автомобили");
return true;
}