Functions

reapi_gamedll.inc

Function Type Description
SetBlocked native Sets Blocked callback for entity
SetMoveDone native Sets MoveDone callback for entity
SetThink native Sets Think callback for entity
SetTouch native Sets Touch callback for entity
SetUse native Sets Use callback for entity
get_member native Returns a value from an entity's member.
get_member_game native Returns a value from CSGameRules_Members members
get_member_s native Returns a value from an entity's member.
Safe version, can guarantee that the present member is refers to derived class of the entity.
get_movevar native Returns a movevar value from a playermove.
get_pmove native Returns a playermove var.
get_pmtrace native Returns a pmtrace var
get_rebuy native Returns a RebuyStruct member
rg_add_account native Adds money to player's account.
rg_add_ammo_registry native Generates an ammo slot in game's logic
rg_balance_teams native Instantly balances the teams.
rg_check_win_conditions native Instantly check win conditions.
rg_create_entity native Creates an entity using Counter-Strike's custom CreateNamedEntity wrapper.
rg_create_weaponbox native Spawn a weaponbox entity with its properties
rg_death_notice native Emits a death notice (logs, DeathMsg event, win conditions check)
rg_decal_trace native Creates a Decal in world based on a traceresult.
rg_disappear native Disappear a player from the world. Used when VIP reaches escape zone. Basically a silent kill.
rg_dmg_radius native Inflicts damage in a radius from the source position.
rg_drop_item native Forces the player to drop the specified item classname.
rg_drop_items_by_slot native Drop to floor all the player's stuff by specific slot.
rg_emit_texture_sound native Emits a sound based on a traceresult simulating a bullet hit (metal, wood, concrete, etc.).
rg_find_ent_by_class native Finds an entity in the world using Counter-Strike's custom FindEntityByString wrapper.
rg_find_ent_by_owner native Finds an entity in the world using Counter-Strike's custom FindEntityByString wrapper, matching by owner.
rg_find_weapon_bpack_by_name native Finds the weapon by name in the player's inventory.
rg_fire_buckshots native Fires buckshots from entity (used at XM1014 and M3 weapons).
rg_fire_bullets native Fires bullets from entity.
rg_fire_bullets3 native Fires bullets from player's weapon.
rg_get_account_rules native Gets the specified reward rule's money amount.
rg_get_can_hear_player native Get if player can hear another player
rg_get_global_iteminfo native Gets a parameter of the global CBasePlayerItem::m_ItemInfoArray array
rg_get_iteminfo native Gets a parameter of the member CSPlayerItem::m_ItemInfo
rg_get_join_team_priority native Gets which team has a higher join priority.
rg_get_user_ammo native Returns the amount of clip ammo for a specific weapon.
rg_get_user_armor native Returns the client's armor value and retrieves the type of armor.
rg_get_user_bpammo native Returns the amount of ammo in the client's backpack for a specific weapon.
rg_get_user_footsteps native Get the current footsteps state of the player.
rg_get_weapon_info native Returns specific information about the weapon.
rg_get_weaponbox_id native Gets WeaponIdType from weaponbox
rg_give_custom_item native Gives the player an custom item, this means that don't handled API things.
rg_give_default_items native Give the default items to a player.
rg_give_defusekit native Sets the client's defusekit status and allows to set a custom HUD icon and color.
rg_give_item native Gives the player an item.
rg_give_shield native Gives the player a shield
rg_has_item_by_name native Checks if the player has the item.
rg_hint_message native Adds hint message to the queue.
rg_initialize_player_counts native Instantly initialize player counts.
rg_instant_reload_weapons native Instantly reload client's weapons.
rg_internal_cmd native Executes a client command on the gamedll side.
rg_is_bomb_planted native Checks if the bomb is planted.
rg_is_player_can_respawn native Checks whether the player can respawn.
rg_is_player_can_takedamage native Checks whether the player can take damage from the attacker.
rg_join_team native Forces a player to join a team.
rg_multidmg_add native Adds damage to the accumulator.
rg_multidmg_apply native Inflicts contents of global multi damage registered on victim.
rg_multidmg_clear native Resets the global multi damage accumulator.
rg_plant_bomb native Plant a bomb.
rg_player_relationship native Checks a player relationship with another reference
rg_remove_all_items native Remove all of the player's items.
rg_remove_entity native Removes an entity using gamedll's UTIL_Remove function, which sets a frame delay to ensure its removal.
rg_remove_item native Removes the specified item classname from the player
rg_remove_items_by_slot native Remove all the player's stuff in a specific slot.
rg_reset_can_hear_player native Reset if player can hear another player.
rg_reset_maxspeed native Resets player's maxspeed.
rg_reset_user_model native Resets the client's model.
rg_restart_round native Instantly restart round.
rg_round_end native Forces the round to end.
rg_round_respawn native Respawn on round for players/bots.
rg_send_audio native Sends the SendAudio message - plays the specified audio.
rg_send_bartime native Draws a HUD progress bar which fills from 0% to 100% for the time duration in seconds.
rg_send_bartime2 native Same as BarTime, but StartPercent specifies how much of the bar is (already) filled.
rg_send_death_message native Sends death messages to all players, including info about the killer, victim, weapon used,
extra death flags, death position, assistant, and kill rarity using the CHalfLifeMultiplay::SendDeathMessage function.
rg_set_account_rules native Sets the amount of reward in the game account for all players.
rg_set_animation native Assign the number of the player's animation.
rg_set_can_hear_player native Set if player can hear another player
rg_set_global_iteminfo native Sets a parameter of the global CBasePlayerItem::m_ItemInfoArray array
rg_set_iteminfo native Sets a parameter of the member CSPlayerItem::m_ItemInfo
rg_set_observer_mode native Sets player current Observer mode.
rg_set_user_ammo native Sets the amount of clip ammo for a specific weapon.
rg_set_user_armor native Sets the client's armor value and the type of armor.
rg_set_user_bpammo native Sets the amount of ammo in the client's backpack for a specific weapon.
rg_set_user_footsteps native Enable/Disable player's footsteps.
rg_set_user_model native Sets the client's player model.
rg_set_user_team native Sets the client's team without killing the player and sets the client's model.
rg_set_weapon_info native Sets specific weapon info values.
rg_spawn_grenade native Spawn a grenade (HEGrenade, Flashbang, SmokeGrenade, or C4)
rg_spawn_head_gib native Spawn a head gib
rg_spawn_random_gibs native Spawn random gibs
rg_swap_all_players native Swaps players' teams without reseting frags, deaths and wins.
rg_switch_best_weapon native Switches player current weapon into the best one on its inventory using the CHalfLifeMultiplay::GetNextBestWeapon function.
rg_switch_team native Instantly switches the player to his opposite team.
rg_switch_weapon native Forces the player to switch to a specific weapon.
rg_transfer_c4 native Transfers C4 from one player to another.
rg_update_teamscores native Updates current scores.
rg_weapon_deploy native Deploys a weapon attached to a player using the CBasePlayerWeapon::DefaultDeploy function.
rg_weapon_kickback native Emits a "recoil" effect on weapon's player using the CBasePlayerWeapon::KickBack function.
rg_weapon_reload native Reloads a weapon or a player's active weapon using the CBasePlayerWeapon::DefaultReload function.
rg_weapon_send_animation native Sends a weapon animation using the CBasePlayerWeapon::SendWeaponAnim function.
rg_weapon_shotgun_reload native Forces shotgun reload thinking on a weapon or a player's active weapon using the CBasePlayerWeapon::DefaultShotgunReload function.
set_member native Sets a value to an entity's member.
set_member_game native Sets a value to CSGameRules_Members members.
set_member_s native Sets a value to an entity's member.
Safe version, can guarantee that the present member is refers to derived class of the entity.
set_movevar native Sets a movevar value to a playermove.
set_pmove native Sets playermove var.
set_pmtrace native Sets a pmtrace var.
set_rebuy native Sets a RebuyStruct member.