AMXX-BG.INFO fakemeta_util.inc Functions

fakemeta_util functions

All callable symbols documented in this include, grouped by declaration type.

Stocks

Name Signature
fm_boxents_distance stock Float:fm_boxents_distance(boxent1, boxent2) {
fm_boxes_distance stock Float:fm_boxes_distance(const Float:mins1[3], const Float:maxs1[3], const Float:mins2[3], const Float:maxs2[3]) {
fm_cs_remove_decals stock fm_cs_remove_decals(index = 0) {
fm_cs_user_spawn stock fm_cs_user_spawn(index) {
fm_distance_to_box stock Float:fm_distance_to_box(const Float:point[3], const Float:mins[3], const Float:maxs[3]) {
fm_distance_to_boxent stock Float:fm_distance_to_boxent(entity, boxent) {
fm_distance_to_floor stock Float:fm_distance_to_floor(index, ignoremonsters = 1) {
fm_entity_range stock Float:fm_entity_range(ent1, ent2) {
fm_entity_set_origin stock fm_entity_set_origin(index, const Float:origin[3]) {
fm_fakedamage stock fm_fakedamage(victim, const classname[], Float:takedmgdamage, damagetype) {
fm_find_ent_by_flags stock fm_find_ent_by_flags(index, pev_field, flags) {
fm_find_ent_by_integer stock fm_find_ent_by_integer(index, pev_field, value) {
fm_find_ent_by_model stock fm_find_ent_by_model(index, const classname[], const model[]) {
fm_find_ent_by_owner stock fm_find_ent_by_owner(index, const classname[], owner, jghgtype = 0) {
fm_get_aim_origin stock fm_get_aim_origin(index, Float:origin[3]) {
fm_get_brush_entity_origin stock fm_get_brush_entity_origin(index, Float:origin[3]) {
fm_get_grenade_id stock fm_get_grenade_id(id, model[], len, grenadeid = 0) {
fm_get_speed stock fm_get_speed(entity) {
fm_get_user_godmode stock fm_get_user_godmode(index) {
fm_get_user_gravity stock Float:fm_get_user_gravity(index) {
fm_get_user_longjump stock bool:fm_get_user_longjump(index) {
fm_get_user_maxspeed stock Float:fm_get_user_maxspeed(index) {
fm_get_user_suit stock bool:fm_get_user_suit(index) {
fm_get_user_weapon_entity stock fm_get_user_weapon_entity(id, wid = 0) {
fm_get_view_angle_diff stock Float:fm_get_view_angle_diff(index, const Float:point[3]) {
fm_get_weaponbox_type stock fm_get_weaponbox_type(entity) {
fm_give_item stock fm_give_item(index, const item[]) {
fm_is_ent_classname stock bool:fm_is_ent_classname(index, const classname[]) {
fm_is_ent_visible stock bool:fm_is_ent_visible(index, entity, ignoremonsters = 0) {
fm_is_in_viewcone stock bool:fm_is_in_viewcone(index, const Float:point[3]) {
fm_is_visible stock bool:fm_is_visible(index, const Float:point[3], ignoremonsters = 0) {
fm_kill_entity stock fm_kill_entity(index) {
fm_playback_event stock fm_playback_event(flags, invoker, eventindex, Float:delay, const Float:origin[3], const Float:angles[3], Float:fparam1, Float:fparam2, iparam1, iparam2, bparam1, bparam2) {
fm_remove_entity_name stock fm_remove_entity_name(const classname[]) {
fm_set_entity_flags stock fm_set_entity_flags(index, flag, onoff) {
fm_set_entity_visibility stock fm_set_entity_visibility(index, visible = 1) {
fm_set_kvd stock fm_set_kvd(entity, const key[], const value[], const classname[] = "") {
fm_set_rendering stock fm_set_rendering(entity, fx = kRenderFxNone, r = 255, g = 255, b = 255, render = kRenderNormal, amount = 16) {
fm_set_user_armor stock fm_set_user_armor(index, armor) {
fm_set_user_frags stock fm_set_user_frags(index, frags) {
fm_set_user_godmode stock fm_set_user_godmode(index, godmode = 0) {
fm_set_user_gravity stock fm_set_user_gravity(index, Float:gravity = 1.0) {
fm_set_user_health stock fm_set_user_health(index, health) {
fm_set_user_longjump stock fm_set_user_longjump(index, bool:longjump = true, bool:tempicon = true) {
fm_set_user_maxspeed stock fm_set_user_maxspeed(index, Float:speed = -1.0) {
fm_set_user_noclip stock fm_set_user_noclip(index, noclip = 0) {
fm_set_user_origin stock fm_set_user_origin(index, /* const */ origin[3]) {
fm_set_user_rendering stock fm_set_user_rendering(index, fx = kRenderFxNone, r = 255, g = 255, b = 255, render = kRenderNormal, amount = 16) {
fm_set_user_suit stock fm_set_user_suit(index, bool:suit = true, bool:sound = true) {
fm_set_user_velocity stock fm_set_user_velocity(entity, const Float:vector[3]) {
fm_spawn stock fm_spawn(entity) {
fm_strip_user_gun stock bool:fm_strip_user_gun(index, wid = 0, const wname[] = "") {
fm_strip_user_weapons stock fm_strip_user_weapons(index) {
fm_trace_hull stock fm_trace_hull(const Float:origin[3], hull, ignoredent = 0, ignoremonsters = 0) {
fm_trace_line stock fm_trace_line(ignoreent, const Float:start[3], const Float:end[3], Float:ret[3]) {
fm_trace_normal stock fm_trace_normal(ignoreent, const Float:start[3], const Float:end[3], Float:ret[3]) {
fm_transfer_user_gun stock bool:fm_transfer_user_gun(index1, index2, wid = 0, const wname[] = "") {
fm_user_kill stock fm_user_kill(index, flag = 0) {
fm_ViewContents stock fm_ViewContents(id) {