Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse
3rdParty
CSX
DoDX
Engine
ESF
Fakemeta
Fun
GeoIP
HamSandwich
JSON
NS
nVault
REAPI
Sockets
Sql
SQLx
TFCX
TSFUN
TSX
ammopacks
amxbans_core
amxbans_main
atac
celltrie
chr_engine
cod
codmod
colorchat
credits
csdm
dHUD
diablo_nowe
entlib
expmod
expmod_achievements
expmod_mission
expmod_shop
fvault
ggpro
gunxpmod
ncodmod
netdb
orpheu
orpheu_advanced
orpheu_const
orpheu_memory
orpheu_stocks
pokemod
roulette
StripWeapons
zmvip
zombie_plague_advance
zombieplague
zombieplaguenew1.3
Coreamxbans_core
amxbans_main
atac
atac_player_punish
atac_player_reset
atac_player_spawn
atac_punished
atac_punishment_activated
atac_punishment_name
atac_register_addon
atac_register_punishment
atac_team_attack
atac_team_kill
get_atac_attacks
get_atac_kills
get_maxpunishments
is_punishment_valid
set_atac_attacks
set_atac_kills
basebuilderatac_player_reset
atac_player_spawn
atac_punished
atac_punishment_activated
atac_punishment_name
atac_register_addon
atac_register_punishment
atac_team_attack
atac_team_kill
get_atac_attacks
get_atac_kills
get_maxpunishments
is_punishment_valid
set_atac_attacks
set_atac_kills
celltrie
chr_engine
cod
codmod
colorchat
credits
csdm
dHUD
diablo_nowe
entlib
expmod
expmod_achievements
expmod_mission
expmod_shop
fvault
ggpro
gunxpmod
ncodmod
netdb
orpheu
orpheu_advanced
orpheu_const
orpheu_memory
orpheu_stocks
pokemod
roulette
StripWeapons
zmvip
zombie_plague_advance
zombieplague
zombieplaguenew1.3
amxconst
amxmisc
amxmodx
cellarray
chatcolor
core
datapack
file
float
hlsdk_const
lang
message_const
message_stocks
messages
newmenus
sorting
string
time
vault
vector
Cstrikeamxmisc
amxmodx
cellarray
chatcolor
core
datapack
file
float
hlsdk_const
lang
message_const
message_stocks
messages
newmenus
sorting
string
time
vault
vector
CSX
DoDX
Engine
ESF
Fakemeta
Fun
GeoIP
HamSandwich
JSON
NS
nVault
REAPI
cssdk_const
hlsdk_const
reapi
reapi_engine
reapi_engine_const
reapi_gamedll
reapi_rechecker
reapi_reunion
reapi_vtc
Regexhlsdk_const
reapi
reapi_engine
reapi_engine_const
reapi_gamedll
reapi_rechecker
reapi_reunion
reapi_vtc
Sockets
Sql
SQLx
TFCX
TSFUN
TSX
/* ATAC Functions * * Copyright � 2006-2008, ATAC Team * * This file is provided as is (no warranties). * */ #if defined _atac_included #endinput #endif #define _atac_included #pragma reqlib atac // The following two define how many plugins can hook into ATAC. // remember: atac.sma will need to be recompiled if you change these values! #define MAX_PUNISHMENTS 32 #define MAX_ADDONS 8 #define ATAC_HOOK_CONTINUE 0 #define ATAC_HOOK_SPAWNED 1 #define ATAC_HOOK_RESET 2 // Register a punishment returns -1 on failure. Allows hooking any forward from [Punishments] native atac_register_punishment(); // Called when ATAC builds it's Team Kill Menu. You must return with EngFunc_AllocString! [Punishments] forward atac_punishment_name(victim); // Called when a punishment is chosen. [Punishments] forward atac_player_punish(killer, victim); // Called when a player dies and just before a player respawns. [Punishments] forward atac_player_reset(killer, victim); // Called when a player (re)spawns. [Punishments] forward atac_player_spawn(killer, victim); // Register a addon returns -1 on failure. Allows hooking any forward from [Addons] native atac_register_addon(); // Called when a team attack occurs. [Addons] forward atac_team_attack(attacker, victim, damage); // Called when a team kill occurs. [Addons] forward atac_team_kill(killer, victim); // Called when a team kill increment occurs. This forward can supercede ATAC's banning system by: return PLUGIN_HANDLED [Addons] forward atac_punished(killer, const name[], const authid[], bantype); // Called when a punishment activates. [Addons] forward atac_punishment_activated(punishment_id, killer, victim); // Returns -1 on failure or plugin index if punishment is valid. native is_punishment_valid(index); // Returns maximum amount of punishments registered. native get_maxpunishments(); // Gets the amount of Team Attacks done by a player. native get_atac_attacks(id); // Sets the amount of Team Attacks done by a player. If attacker & victim teams match, Team Attack is simulated. native set_atac_attacks(attacker, victim, amount=-1); // Gets the amount of Team Kills done by a player. native get_atac_kills(id); // Sets the amount of Team Kills done by a player. /* special: -1 - No action 0 - Simulate a real team kill longs the killer & victim teams match! 1 - Fun Menu 2+ - Activate a specific punishment */ native set_atac_kills(killer, victim, amount=-1, special=-1);
Pobierz plik atac.inc