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
basebuilder
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
basebuilder
bb_block_pushpull
bb_buildphase_started
bb_drop_post
bb_drop_pre
bb_drop_user_block
bb_get_build_time
bb_get_class_cost
bb_get_flags_build
bb_get_flags_buildban
bb_get_flags_guns
bb_get_flags_lock
bb_get_flags_override
bb_get_flags_release
bb_get_flags_revive
bb_get_flags_swap
bb_get_user_block
bb_get_user_color
bb_get_user_next_class
bb_get_user_primary
bb_get_user_zombie_class
bb_grab_post
bb_grab_pre
bb_is_build_phase
bb_is_locked_block
bb_is_prep_phase
bb_is_user_banned
bb_is_user_zombie
bb_lock_block
bb_lock_post
bb_lock_pre
bb_new_color
bb_prepphase_started
bb_register_zombie_class
bb_release_zombies
bb_round_started
bb_set_build_time
bb_set_user_block
bb_set_user_color
bb_set_user_primary
bb_set_user_zombie_class
bb_unlock_block
bb_zombie_class_picked
bb_zombie_class_set
is_basebuilder_active
zp_get_user_next_class
zp_get_user_zombie
zp_get_user_zombie_class
zp_register_zombie_class
zp_set_user_zombie_class
celltriebb_buildphase_started
bb_drop_post
bb_drop_pre
bb_drop_user_block
bb_get_build_time
bb_get_class_cost
bb_get_flags_build
bb_get_flags_buildban
bb_get_flags_guns
bb_get_flags_lock
bb_get_flags_override
bb_get_flags_release
bb_get_flags_revive
bb_get_flags_swap
bb_get_user_block
bb_get_user_color
bb_get_user_next_class
bb_get_user_primary
bb_get_user_zombie_class
bb_grab_post
bb_grab_pre
bb_is_build_phase
bb_is_locked_block
bb_is_prep_phase
bb_is_user_banned
bb_is_user_zombie
bb_lock_block
bb_lock_post
bb_lock_pre
bb_new_color
bb_prepphase_started
bb_register_zombie_class
bb_release_zombies
bb_round_started
bb_set_build_time
bb_set_user_block
bb_set_user_color
bb_set_user_primary
bb_set_user_zombie_class
bb_unlock_block
bb_zombie_class_picked
bb_zombie_class_set
is_basebuilder_active
zp_get_user_next_class
zp_get_user_zombie
zp_get_user_zombie_class
zp_register_zombie_class
zp_set_user_zombie_class
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
bb_get_flags_lock
Dodane 22.08.2019 06:37 przez: Rivit#
Opis
Funkcja pobiera flagę potrzebną do blokowania/odblokowywania bloków
Składnia
bb_get_flags_lock()
Zwracana wartość
Flaga (albo ich suma), którą musi posiadać gracz, aby móc blokować/odblokowywać bloki
Typ
NatywnyPrzykład
#include <amxmodx> #include <basebuilder> public plugin_init(){ register_plugin("amxx.pl", "1.0", "amxx.pl") register_clcmd("/flaga", "_flaga"); } public _flaga(id){ new sflags[32]; get_flags(bb_get_flags_lock(), sflags, charsmax(sflags)) client_print(id, print_chat, "bb_get_flags_lock: %s", sflags) }
Uwagi
Flaga jest ustawiana w silniku BB za pomocą tej linijki:
#define FLAGS_LOCK ADMIN_LEVEL_A
Zakaz używania, kopiowania i innego wykorzystywania treści witryny oraz innych materiałów w niej zawartych bez zgody autorów. Wszelkie prawa zastrzeżone. © 2009-2024