簡介
AMX MOD X當前官方AMX MOD X編譯器共支持 1093個內置函式:
內置函式
abort
abs
access
add
AddClientMenuItem
AddMenuItem
AddTranslation
angle_vector
arrayset
attach_view
bomb_defused
bomb_defusing
bomb_explode
bomb_planted
bomb_planting
callfunc_begin
callfunc_begin_i
callfunc_end
callfunc_push_array
callfunc_push_float
callfunc_push_floatrf
callfunc_push_int
callfunc_push_intrf
callfunc_push_str
call_think
change_task
clamp
ClearSyncHud
client_authorized
client_built
client_changeclass
client_changeteam
client_cmd
client_command
client_connect
client_damage
client_damage
client_damage
client_death
client_death
client_death
client_disconnect
client_impulse
client_infochanged
client_kill
client_PostThink
client_powerup
client_PreThink
client_print
client_putinserver
client_score
client_spawn
client_stunt
close_dir
cmd_access
cmd_target
colored_menus
console_cmd
console_print
constraint_offset
contain
containi
copy
copyc
copy_infokey_buffer
copy_keyvalue
CreateHudSyncObj
CreateLangKey
CreateMultiForward
CreateOneForward
create_entity
cstrike_running
cs_get_hostage_foll
cs_get_hostage_id
cs_get_no_knives
cs_get_user_armor
cs_get_user_bpammo
cs_get_user_buyzone
cs_get_user_deaths
cs_get_user_defuse
cs_get_user_driving
cs_get_user_hasprim
cs_get_user_mapzones
cs_get_user_model
cs_get_user_money
cs_get_user_nvg
cs_get_user_plant
cs_get_user_shield
cs_get_user_stationary
cs_get_user_team
cs_get_user_tked
cs_get_user_vip
cs_get_user_zoom
cs_get_weapon_ammo
cs_get_weapon_burst
cs_get_weapon_id
cs_get_weapon_silen
cs_reset_user_model
cs_set_hostage_foll
cs_set_no_knives
cs_set_user_armor
cs_set_user_bpammo
cs_set_user_deaths
cs_set_user_defuse
cs_set_user_model
cs_set_user_money
cs_set_user_nvg
cs_set_user_plant
cs_set_user_team
cs_set_user_tked
cs_set_user_vip
cs_set_user_zoom
cs_set_weapon_ammo
cs_set_weapon_burst
cs_set_weapon_silen
cs_user_spawn
custom_weapon_add
custom_weapon_add
custom_weapon_dmg
custom_weapon_dmg
custom_weapon_shot
custom_weapon_shot
cvar_exists
date
dbg_fmt_error
dbg_trace_begin
dbg_trace_info
dbg_trace_next
dbi_close
dbi_connect
dbi_error
dbi_field
dbi_field_name
dbi_free_result
dbi_nextrow
dbi_num_fields
dbi_num_rows
dbi_query
dbi_query2
dbi_result
dbi_type
delete_file
DestroyForward
DF_AddToFullPack
DF_Blocked
DF_ClientCommand
DF_ClientConnect
DF_ClientDisconnect
DF_ClientKill
DF_ClientPutInServer
DF_ClientUserInfoChanged
DF_CmdEnd
DF_CmdStart
DF_CreateBaseline
DF_CreateInstancedBaseline
DF_GameInit
DF_GetGameDescription
DF_GetHullBounds
DF_MetaFunc_CallGameEntity
DF_ParmsChangeLevel
DF_ParmsNewLevel
DF_pfnAllowLagCompensation
DF_PlayerPostThink
DF_PlayerPreThink
DF_PM_FindTextureType
DF_RegisterEncoders
DF_ServerDeactivate
DF_SetAbsBox
DF_Spawn
DF_SpectatorConnect
DF_SpectatorDisconnect
DF_SpectatorThink
DF_StartFrame
DF_Sys_Error
DF_Think
DF_Touch
DF_UpdateClientData
DF_Use
dir_exists
DispatchKeyValue
DispatchSpawn
dllfunc
dod_clear_model
dod_client_changeclass
dod_client_changeteam
dod_client_spawn
dod_get_map_info
dod_get_next_class
dod_get_pl_deaths
dod_get_pl_teamname
dod_get_pronestate
dod_get_team_score
dod_get_user_ammo
dod_get_user_class
dod_get_user_kills
dod_get_user_score
dod_get_user_team
dod_get_user_weapon
dod_is_deployed
dod_is_randomclass
dod_make_deathmsg
dod_set_body_number
dod_set_fuse
dod_set_model
dod_set_pl_deaths
dod_set_pl_teamname
dod_set_stamina
dod_set_user_ammo
dod_set_user_class
dod_set_user_kills
dod_set_user_score
dod_set_user_team
dod_user_kill
dod_wpnlog_to_id
dod_wpnlog_to_name
drop_to_floor
EF_AllocString
EF_AngleVectors
EF_AnimationAutomove
EF_BuildSoundMSG
EF_CanSkipPlayer
EF_ChangeLevel
EF_ChangePitch
EF_ChangeYaw
EF_CheckVisibility
EF_ClientPrintf
EF_CreateEntity
EF_CreateFakeClient
EF_CreateInstBaseline
EF_CreateNamedEntity
EF_CrosshairAngle
EF_DecalIndex
EF_DropToFloor
EF_EmitAmbientSound
EF_EmitSound
EF_EntIsOnFloor
EF_EntitiesInPVS
EF_FadeClientVolume
EF_FindClientInPVS
EF_FindEntityByString
EF_FindEntityInSphere
EF_FreeEntPrivateData
EF_GetAimVector
EF_GetAttachment
EF_GetBonePosition
EF_GetClientListening
EF_GetCurrentPlayer
EF_GetEntityIllum
EF_GetInfoKeyBuffer
EF_GetPhysicsInfoString
EF_GetPhysicsKeyValue
EF_InfoKeyValue
EF_LightStyle
EF_MakeStatic
EF_MakeVectors
EF_MessageBegin
EF_ModelFrames
EF_ModelIndex
EF_MoveToOrigin
EF_NumberOfEntities
EF_ParticleEffect
EF_PlaybackEvent
EF_PointContents
EF_PrecacheEvent
EF_PrecacheGeneric
EF_PrecacheModel
EF_PrecacheSound
EF_RegUserMsg
EF_RemoveEntity
EF_RunPlayerMove
EF_SetClientKeyValue
EF_SetClientListening
EF_SetClientMaxspeed
EF_SetGroupMask
EF_SetKeyValue
EF_SetModel
EF_SetOrigin
EF_SetPhysicsKeyValue
EF_SetSize
EF_SetView
EF_StaticDecal
EF_SzFromIndex
EF_Time
EF_TraceHull
EF_TraceLine
EF_TraceModel
EF_TraceMonsterHull
EF_TraceSphere
EF_TraceTexture
EF_TraceToss
EF_VecToAngles
EF_VecToYaw
EF_WalkMove
EF_WriteAngle
EF_WriteCoord
emessage_begin
emessage_end
emit_sound
engclient_cmd
engclient_print
engfunc
entity_count
entity_get_byte
entity_get_edict
entity_get_float
entity_get_int
entity_get_string
entity_get_vector
entity_range
entity_set_byte
entity_set_edict
entity_set_float
entity_set_int
entity_set_model
entity_set_origin
entity_set_size
entity_set_string
entity_set_vector
equal
equali
esf_create_avatar
esf_explosion
esf_get_class
esf_get_ki
esf_get_powerlevel
esf_get_shotstate
esf_get_speed
esf_get_swoopspeed
esf_grabbedwall
esf_groundthrown
esf_has_avatar
esf_has_died
esf_has_dragonball
esf_in_advmelee
esf_in_combo
esf_in_stance
esf_in_water
esf_is_advmeleed
esf_is_advmeleeing
esf_is_beamjumping
esf_is_blocking
esf_is_crushed
esf_is_flying
esf_is_grappling
esf_is_idle
esf_is_kicked
esf_is_kicking
esf_is_lying
esf_is_prepunch
esf_is_recovered
esf_is_shooting
esf_is_stunned
esf_is_swooping
esf_is_swung
esf_is_tumbling
esf_remove_avatar
esf_set_avatar_model
esf_set_chargebar
esf_set_class
esf_set_health
esf_set_ki
esf_set_powerlevel
esf_set_speed
esf_set_swoopspeed
esf_start_powerup
esf_stop_powerup
esf_threw_dragonball
esf_transformfx_1
esf_transformfx_2
esf_transformfx_off
esf_transforming
esf_transform_done
esf_walljumped
ewrite_angle
ewrite_byte
ewrite_char
ewrite_coord
ewrite_entity
ewrite_long
ewrite_short
ewrite_string
ExecuteForward
fakedamage
fake_touch
fclose
feof
fflush
fgetc
fgetf
fgeti
fgetl
fgets
filesize
file_exists
file_size
find_ent_by_class
find_ent_by_model
find_ent_by_owner
find_ent_by_target
find_ent_by_tname
find_ent_in_sphere
find_player
find_plugin_byfile
find_sphere_class
float
floatabs
floatacos
floatadd
floatasin
floatatan
floatatan2
floatclamp
floatcmp
floatcos
floatdiv
floatfract
floatlog
floatmax
floatmin
floatmul
floatpower
floatround
floatsin
floatsqroot
floatstr
floatsub
floattan
float_to_str
fopen
force_unmodified
force_use
format
formatex
format_args
format_time
forward_return
fprintf
fputc
fputf
fputi
fputl
fputs
fread
fread_blocks
fread_raw
fseek
ftell
funcidx
fungetc
FVecIVec
fwrite
fwrite_blocks
fwrite_raw
geoip_code2
geoip_code3
geoip_country
getarg
GetLangTransKey
get_addr_val
get_amxx_verstring
get_array
get_array_f
get_basedir
get_brush_entity_origin
get_cd
get_class
get_clcmd
get_clcmdsnum
get_client_listen
get_concmd
get_concmdsnum
get_configsdir
get_cvar_flags
get_cvar_float
get_cvar_num
get_cvar_pointer
get_cvar_string
get_datadir
get_decal_index
get_distance
get_distance_f
get_entity_distance
get_entity_flags
get_entity_visibility
get_es
get_flags
get_float_byref
get_func_id
get_gametime
get_global_edict
get_global_float
get_global_int
get_global_string
get_global_vector
get_grenade
get_grenade_id
get_info_keybuffer
get_keyvalue
get_kvd
get_lang
get_langsnum
get_localinfo
get_mapname
get_mask
get_maxplayers
get_maxspeed
get_modname
get_module
get_modulesnum
get_msg_args
get_msg_argtype
get_msg_arg_float
get_msg_arg_int
get_msg_arg_string
get_msg_block
get_msg_origin
get_orig_retval
get_param
get_param_byref
get_param_f
get_pcvar_flags
get_pcvar_float
get_pcvar_num
get_pcvar_string
get_pdata_float
get_pdata_int
get_pdata_string
get_players
get_playersnum
get_plugin
get_pluginsnum
get_res
get_spawn
get_speak
get_special
get_speed
get_speedchange
get_srvcmd
get_srvcmdsnum
get_stats
get_stats
get_stats
get_stats
get_stats2
get_statsnum
get_statsnum
get_statsnum
get_statsnum
get_string
get_systime
get_time
get_timeleft
get_time_length
get_tr
get_tr2
get_uc
get_usercmd
get_user_aiming
get_user_ammo
get_user_armor
get_user_astats
get_user_astats
get_user_astats
get_user_astats
get_user_attacker
get_user_authid
get_user_button
get_user_deaths
get_user_flags
get_user_footsteps
get_user_frags
get_user_godmode
get_user_gravity
get_user_health
get_user_hitzones
get_user_index
get_user_info
get_user_ip
get_user_lstats
get_user_maxspeed
get_user_menu
get_user_msgid
get_user_name
get_user_noclip
get_user_oldbutton
get_user_origin
get_user_ping
get_user_rstats
get_user_rstats
get_user_rstats
get_user_rstats
get_user_stats
get_user_stats
get_user_stats
get_user_stats
get_user_stats2
get_user_team
get_user_time
get_user_userid
get_user_velocity
get_user_vstats
get_user_vstats
get_user_vstats
get_user_vstats
get_user_weapon
get_user_weapons
get_user_wlstats
get_user_wlstats
get_user_wrstats
get_user_wrstats
get_user_wrstats
get_user_wrstats
get_user_wstats
get_user_wstats
get_user_wstats
get_user_wstats
get_var_addr
get_vaultdata
get_weaponid
get_weaponname
get_xvar_float
get_xvar_id
get_xvar_num
give_item
global_get
grenade_throw
grenade_throw
halflife_time
Handle:SQL_Connect
Handle:SQL_MakeDbTuple
Handle:SQL_PrepareQuery
has_weapon
heapspace
inconsistent_file
int3
isalnum
isalpha
isdigit
isspace
is_amd64_server
is_combat
is_dedicated_server
is_in_viewcone
is_linux_server
is_map_valid
is_module_loaded
is_plugin_loaded
is_running
is_str_num
is_user_admin
is_user_alive
is_user_bot
is_user_connected
is_user_connecting
is_user_hltv
is_valid_ent
is_visible
IVecFVec
jit_enabled
KungFoo_Attack
lang_exists
log_amx
log_error
log_message
log_to_file
make_deathmsg
map_reset
max
md5
md5_file
Melee_Attack
menu_addblank
menu_additem
menu_cancel
menu_create
menu_destroy
menu_display
menu_find_id
menu_items
menu_item_getinfo
menu_item_setcall
menu_item_setcmd
menu_item_setname
menu_makecallback
menu_pages
menu_setprop
message_begin
message_end
min
mkdir
module_exists
next_file
next_hudchannel
ns2amx_getammo
ns2amx_getenergy
ns2amx_gethives
ns2amx_getjpfuel
ns2amx_giveitem
ns2amx_isdigesting
ns2amx_nspopup
ns2amx_setammo
ns2amx_setjpfuel
ns2amx_setres
ns_add_obs_energy
ns_add_weld_done
ns_add_weld_time
ns_build_structure
ns_finish_weldable
ns_get_build
ns_get_class
ns_get_deaths
ns_get_energy
ns_get_ent
ns_get_exp
ns_get_hive_ability
ns_get_hive_trait
ns_get_jpfuel
ns_get_locationname
ns_get_mask
ns_get_maxspeed
ns_get_obs_energy
ns_get_points
ns_get_res
ns_get_score
ns_get_spawn
ns_get_speedchange
ns_get_struct_owner
ns_get_weapon
ns_get_weap_clip
ns_get_weap_dmg
ns_get_weap_range
ns_get_weap_reserve
ns_get_weld_done
ns_get_weld_time
ns_give_item
ns_has_weapon
ns_is_combat
ns_lookup_title
ns_popup
ns_recycle
ns_round_in_progress
ns_set_deaths
ns_set_energy
ns_set_exp
ns_set_fov
ns_set_hive_trait
ns_set_jpfuel
ns_set_mask
ns_set_menu
ns_set_obs_energy
ns_set_player_body
ns_set_player_model
ns_set_player_skin
ns_set_points
ns_set_res
ns_set_score
ns_set_speedchange
ns_set_struct_owner
ns_set_weap_clip
ns_set_weap_dmg
ns_set_weap_range
ns_set_weap_reserve
ns_set_weld_done
ns_set_weld_time
ns_show_menu
ns_spawn_player
ns_unstick_player
numargs
num_to_str
num_to_word
nvault_close
nvault_get
nvault_lookup
nvault_open
nvault_prune
nvault_pset
nvault_remove
nvault_set
nvault_touch
open_dir
param_convert
parse
parse_loguser
parse_time
pause
pev
pev_valid
pfn_keyvalue
pfn_playbackevent
pfn_spawn
pfn_think
pfn_touch
pfn_use
playback_event
player_menu_info
plugin_cfg
plugin_end
plugin_flags
plugin_init
plugin_log
plugin_modules
plugin_natives
plugin_pause
plugin_precache
plugin_unpause
point_contents
power
precache_event
precache_generic
precache_model
precache_sound
PrepareArray
query_client_cvar
radius_damage
random
random_float
random_num
read_argc
read_args
read_argv
read_data
read_datanum
read_dir
read_file
read_flags
read_logargc
read_logargv
read_logdata
regex_free
regex_match
regex_substr
RegisterHam
RegisterHamFromEntity
register_clcmd
register_concmd
register_cvar
register_dictionary
register_event
register_forward
register_impulse
register_library
register_logevent
register_menu
register_menucmd
register_menuid
register_message
register_native
register_plugin
register_srvcmd
register_statsfwd
register_think
register_touch
remove_cvar_flags
remove_entity
remove_entity_name
remove_filepath
remove_quotes
remove_task
remove_user_flags
remove_vaultdata
rename_file
replace
replace_all
require_module
reset_user_wstats
reset_user_wstats
reset_user_wstats
reset_user_wstats
rewind
rmdir
round_end
round_start
server_changelevel
server_cmd
server_exec
server_frame
server_print
setarg
setc
set_addr_val
set_array
set_array_f
set_cd
set_client_listen
set_cvar_flags
set_cvar_float
set_cvar_num
set_cvar_string
set_entity_flags
set_entity_visibility
set_error_filter
set_es
set_fail_state
set_float_byref
set_hudmessage
set_kvd
set_lights
set_localinfo
set_mask
set_module_filter
set_msg_arg_float
set_msg_arg_int
set_msg_arg_string
set_msg_block
set_native_filter
set_param_byref
set_pcvar_flags
set_pcvar_float
set_pcvar_num
set_pcvar_string
set_pdata_float
set_pdata_int
set_pdata_string
set_pev
set_player_body
set_player_model
set_player_skin
set_rendering
set_speak
set_speedchange
set_string
set_task
set_tr
set_tr2
set_uc
set_usercmd
set_user_armor
set_user_deaths
set_user_flags
set_user_footsteps
set_user_frags
set_user_godmode
set_user_gravity
set_user_health
set_user_hitzones
set_user_info
set_user_maxspeed
set_user_noclip
set_user_origin
set_user_rendering
set_user_velocity
set_vaultdata
set_view
set_xvar_float
set_xvar_num
ShowSyncHudMsg
show_activity
show_hudmessage
show_menu
show_motd
socket_change
socket_close
socket_open
socket_recv
socket_send
socket_send2
SortCustom1D
SortCustom2D
SortFloats
SortIntegers
SortStrings
spawn
split
sqlite_table_exists
SQL_AffectedRows
SQL_Execute
SQL_FieldNameToNum
SQL_FieldNumToName
SQL_FreeHandle
SQL_GetAffinity
SQL_GetInsertId
SQL_GetQueryString
SQL_IsNull
SQL_MakeStdTuple
SQL_MoreResults
SQL_NextRow
SQL_NumColumns
SQL_NumResults
SQL_QueryError
SQL_QuoteString
SQL_QuoteStringFmt
SQL_ReadResult
SQL_SetAffinity
SQL_SimpleQuery
SQL_ThreadQuery
sqroot
strbreak
strcat
strcmp
strfind
strip_user_weapons
strlen
strpack
strtok
strtolower
strtoupper
strunpack
str_to_float
str_to_num
swapchars
task_exists
tfc_clearmodel
tfc_getbammo
tfc_getgrenadename
tfc_getweaponammo.
tfc_getweaponbammo
tfc_getwpnlogname
tfc_getwpnname
tfc_get_user_goalitem
tfc_isgrenade
tfc_ismelee
tfc_setbammo
tfc_setmodel
tfc_setpddata
tfc_setweaponammo
tfc_setweaponbammo
tfc_userkill
tickcount
time
tolower
toupper
traceresult
trace_forward
trace_hull
trace_line
trace_normal
trim
ts_createpwup
ts_getkillingstreak
ts_getusercash
ts_getuseritems
ts_getuserkillflags
ts_getuserlastfrag
ts_getuserpwup
ts_getuserslots
ts_getuserspace
ts_getusertime
ts_getuserwpn
ts_givepwup
ts_giveweapon
ts_setpdata
ts_setuserslots
ts_setusertime
ts_set_fuattack
ts_wpnlogtoid
ts_wpnlogtoname
ucfirst
unlink
unpause
unregister_forward
user_has_weapon
user_kill
user_silentkill
user_slap
vaultdata_exists
vdformat
vector_distance
vector_length
vector_to_angle
velocity_by_aim
vformat
ViewContents
write_angle
write_byte
write_char
write_coord
write_entity
write_file
write_long
write_short
write_string
xmod_get_maxweapons
xmod_get_maxweapons
xmod_get_stats_size
xmod_get_stats_size
xmod_get_wpnlogname
xmod_get_wpnlogname
xmod_get_wpnname
xmod_get_wpnname
xmod_is_custom_wpn
xmod_is_melee_wpn
xmod_is_melee_wpn
xvar_exists
zdod_get_next_class
zdod_get_pl_deaths
zdod_is_randomclass
zdod_set_fuse
zdod_set_pl_deaths
zdod_set_pl_teamname
zdod_set_stamina
zdod_set_user_class
zdod_set_user_score
zdod_set_user_team