Списък с функции в reapi_gamedll.inc

Функция Описание
SetThink
Sets Think callback for entity
SetTouch
Sets Touch callback for entity
SetUse
Sets Use callback for entity
SetBlocked
Sets Blocked callback for entity
SetMoveDone
Sets MoveDone callback for entity
set_member_game
Sets a value to CSGameRules_Members members.
get_member_game
Returns a value from CSGameRules_Members members
set_member
Sets a value to an entity's member.
get_member
Returns a value from an entity's member.
set_pmove
Sets playermove var.
get_pmove
Returns a playermove var.
set_movevar
Sets a movevar value to a playermove.
get_movevar
Returns a movevar value from a playermove.
set_pmtrace
Sets a pmtrace var.
get_pmtrace
Returns a pmtrace var
set_rebuy
Sets a RebuyStruct member.
get_rebuy
Returns a RebuyStruct member
rg_set_animation
Assign the number of the player's animation.
rg_add_account
Adds money to player's account.
rg_give_item
Gives the player an item.
rg_give_custom_item
Gives the player an custom item, this means that don't handled API things.
rg_give_default_items
Give the default items to a player.
rg_give_shield
Gives the player a shield
rg_dmg_radius
Inflicts damage in a radius from the source position.
rg_multidmg_clear
Resets the global multi damage accumulator.
rg_multidmg_apply
Inflicts contents of global multi damage registered on victim.
rg_multidmg_add
Adds damage to the accumulator.
rg_fire_bullets
Fires bullets from entity.
[3] rg_fire_bullets3
Fires bullets from player's weapon.
rg_round_end
Forces the round to end.
rg_update_teamscores
Updates current scores.
rg_create_entity
Creates an entity using Counter-Strike's custom CreateNamedEntity wrapper.
rg_find_ent_by_class
Finds an entity in the world using Counter-Strike's custom FindEntityByString wrapper.
rg_find_ent_by_owner
Finds an entity in the world using Counter-Strike's custom FindEntityByString wrapper, matching by owner.
rg_find_weapon_bpack_by_name
Finds the weapon by name in the player's inventory.
rg_has_item_by_name
Checks if the player has the item.
rg_get_weapon_info
Returns specific information about the weapon.
rg_set_weapon_info
Sets specific weapon info values.
rg_remove_items_by_slot
Remove all the player's stuff in a specific slot.
rg_drop_items_by_slot
Drop to floor all the player's stuff by specific slot.
rg_remove_all_items
Remove all of the player's items.
rg_drop_item
Forces the player to drop the specified item classname.
rg_internal_cmd
Executes a client command on the gamedll side.
rg_remove_item
Removes the specified item classname from the player
rg_set_user_bpammo
Sets the amount of ammo in the client's backpack for a specific weapon.
rg_get_user_bpammo
Returns the amount of ammo in the client's backpack for a specific weapon.
rg_set_user_ammo
Sets the amount of clip ammo for a specific weapon.
rg_get_user_ammo
Returns the amount of clip ammo for a specific weapon.
rg_give_defusekit
Sets the client's defusekit status and allows to set a custom HUD icon and color.
rg_get_user_armor
Returns the client's armor value and retrieves the type of armor.
rg_set_user_armor
Sets the client's armor value and the type of armor.
rg_set_user_team
Sets the client's team without killing the player and sets the client's model.
rg_set_user_model
Sets the client's player model.
rg_reset_user_model
Resets the client's model.
rg_set_user_footsteps
Enable/Disable player's footsteps.
rg_get_user_footsteps
Get the current footsteps state of the player.
rg_transfer_c4
Transfers C4 from one player to another.
rg_instant_reload_weapons
Instantly reload client's weapons.
rg_set_account_rules
Sets the amount of reward in the game account for all players.
rg_get_account_rules
Gets the specified reward rule's money amount.
rg_is_bomb_planted
Checks if the bomb is planted.
rg_join_team
Forces a player to join a team.
rg_balance_teams
Instantly balances the teams.
rg_swap_all_players
Swaps players' teams without reseting frags, deaths and wins.
rg_switch_team
Instantly switches the player to his opposite team.
rg_switch_weapon
Forces the player to switch to a specific weapon.
rg_get_join_team_priority
Gets which team has a higher join priority.
rg_is_player_can_takedamage
Checks whether the player can take damage from the attacker.
rg_get_weaponbox_id
Gets WeaponIdType from weaponbox
rg_round_respawn
Respawn on round for players/bots.
rg_reset_maxspeed
Resets player's maxspeed.
rg_send_bartime
Draws a HUD progress bar which fills from 0% to 100% for the time duration in seconds.
rg_send_bartime2
Same as BarTime, but StartPercent specifies how much of the bar is (already) filled.
rg_send_audio
Sends the SendAudio message - plays the specified audio.
rg_set_iteminfo
Sets a parameter of the member CSPlayerItem::m_ItemInfo
rg_get_iteminfo
Gets a parameter of the member CSPlayerItem::m_ItemInfo