AMXX-BG.INFO chr_engine.inc Functions

chr_engine functions

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

Stocks

Name Signature
distance_from_line stock Float:distance_from_line(Float:start[3],Float:end[3],Float:origin[3],&is_visible) {
entity_set_aim stock entity_set_aim(ent,const Float:origin2[3],bone=0) {
get_hudmessage_locs stock get_hudmessage_locs(ent,const Float:origin[3],Float:hudpos[2]) {
get_offset_origin stock get_offset_origin(ent,const Float:offset[3],Float:origin[3]) {
get_offset_origin_body stock get_offset_origin_body(ent,const Float:offset[3],Float:origin[3]) {
get_players_distance stock get_players_distance(const Float:origin2[3],players[32], &num,const flags[]="",index=0,const team[]="") {
get_speed_vector stock get_speed_vector(const Float:origin1[3],const Float:origin2[3],Float:speed, Float:new_velocity[3]) {
get_speed_vector2 stock get_speed_vector2(ent1, ent2, Float:speed, Float:new_velocity[3]) {
is_inside stock is_inside(const Float:point[2],const Float:polygon[MAX_SIDES][2],numsides) {
is_user_crouching stock is_user_crouching(ent,ignoreplayer=0) {
is_within_difference stock is_within_difference(Float:number1,Float:number2,Float:difference) {
set_speed stock set_speed(ent,Float:speed,mode=0,const Float:origin[3]={0.0,0.0,0.0}) {