VIP Boost Банери Кредити
Основно Начало Сървъри Marketplace Новини Форум Сървъри
Общности Хостинг Добави Boost
Ресурси
Библиотеки Карти Видеа Магазин
Инструменти
Builder Demo CFG HUD
AMXX API
Вход Регистрация
/ Библиотеки / zp50_admin_commands.inc

zp50_admin_commands.inc

.inc 1.7 KB 71 реда 04.04.2026
Pawn / AMX Mod X
#if defined _zp50_admin_commands_included
  #endinput
#endif
#define _zp50_admin_commands_included

#include <zp50_core>

#if AMXX_VERSION_NUM >= 175
	#pragma reqlib zp50_admin_commands
	#if !defined AMXMODX_NOAUTOLOAD
		#pragma loadlib zp50_admin_commands
	#endif
#else
	#pragma library zp50_admin_commands
#endif


/**
 * Manually executes admin command: zp_zombie.
 *
 * @param id		Admin player index.
 * @param player	Target player index.
 * @return			True on success, false otherwise.
 */
native zp_admin_commands_zombie(id, player)

/**
 * Manually executes admin command: zp_human.
 *
 * @param id		Admin player index.
 * @param player	Target player index.
 * @return			True on success, false otherwise.
 */
native zp_admin_commands_human(id, player)

/**
 * Manually executes admin command: zp_nemesis.
 *
 * @param id		Admin player index.
 * @param player	Target player index.
 * @return			True on success, false otherwise.
 */
native zp_admin_commands_nemesis(id, player)

/**
 * Manually executes admin command: zp_survivor.
 *
 * @param id		Admin player index.
 * @param player	Target player index.
 * @return			True on success, false otherwise.
 */
native zp_admin_commands_survivor(id, player)

/**
 * Manually executes admin command: zp_respawn.
 *
 * @param id		Admin player index.
 * @param player	Target player index.
 * @return			True on success, false otherwise.
 */
native zp_admin_commands_respawn(id, player)

/**
 * Manually executes admin command: zp_start_game_mode.
 *
 * @param id				Admin player index.
 * @param game_mode_id		A valid game mode ID.
 * @return					True on success, false otherwise.
 */
native zp_admin_commands_start_mode(id, game_mode_id)
РЕКЛАМИРАЙ ПРИ НАС!
AMXX-BG.INFO
КАК ДА ИЗПОЛЗВАМ
Добави в началото на .sma файла:
#include <zp50_admin_commands>
1. Изтегли
Свали файла от бутона по-горе
2. Копирай
Постави в scripting/include/
3. Включи
Добави #include директивата
4. Компилирай
Използвай amxxpc или scripting/compile.exe