Premium Реклама Spotlight Bundles Boost Банери Кредити
Основно Начало Сървъри Marketplace Форум Сървъри
Общности Хостинг Добави Auction Boost
Ресурси
Библиотеки Карти Видеа Магазин Bundles
Инструменти
Builder Demo CFG HUD
AMXX API
Вход Регистрация
TOP SERVER
[IG] Easy Surf | Ramp Fix | RANKS | REPLAYS
Counter-Strike 1.6
surf_flyin_fortress
40.160.19.36:27015
18.05 18:49
10/64
188ms
/ Библиотеки / httpdl.inc

httpdl.inc

kzlt.bentski.lt/

.inc 767 B 34 реда 04.04.2026
Pawn / AMX Mod X
/**
 *
 *   (c)2007, Bentski
 *   Homepage: http://kzlt.bentski.lt/
 *   Server: cs.bentski.lt:27015
 *
 *   HTTP downloader. Allows to download files from the web.
 *
 */

#if defined _httpdl_included
  #endinput
#endif
#define _httpdl_included

#pragma library httpdl

#define MAX_DOWNLOADS 10

/* Forwards */

// Called when download is finished
// * id   - download id
// * file - path + filename of downloaded file
forward dlcomplete(id, file[]);


/* Natives */

// Downloads a file
// Returns download id or 0 if something failed
// * url    - address of remote file (eg. "http://bentski.lt/something.zip")
// * dlpath - where to place downloaded file (eg. "addons/amxmodx/data/something.zip")
native download(url[], dlpath[]);
РЕКЛАМИРАЙ ПРИ НАС!
AMXX-BG.INFO
КАК ДА ИЗПОЛЗВАМ
Добави в началото на .sma файла:
#include <httpdl>
1. Изтегли
Свали файла от бутона по-горе
2. Копирай
Постави в scripting/include/
3. Включи
Добави #include директивата
4. Компилирай
Използвай amxxpc или scripting/compile.exe
PrivateServ.NET