13.07.2012, 21:48
In your mode:
In the end of public OnGameModeInit:
In the end of the command /veh, when it creating the vehicle:
In the public OnPlayerCommandText:
PHP код:
new bool:AdminVS[MAX_VEHICLES];
PHP код:
for(new i = 0; i < MAX_VEHICLES; i++) AdminVS[i] = false;
PHP код:
AdminVS[i] = true;
PHP код:
if(!strcmp(cmdtext, "/vdelall", true))
{
for(new i = 0; i < MAX_VEHICLES; i++) if(AdminVS) DestroyVehicle(vehicleid), A;
return SendClientMessage(playerid, -1, "You have removed the all vehicles that you has been created before");
}

