AMXX-BG.INFO reapi_gamedll.inc Functions

reapi_gamedll functions

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

Natives

Name Signature
get_member native any:get_member(const index, any:member, any:...)
get_member_game native any:get_member_game(CSGameRules_Members:member, any:...)
get_member_s native any:get_member_s(const index, any:member, any:...)
get_movevar native any:get_movevar(const MoveVars:var, any:...)
get_pmove native any:get_pmove(const PlayerMove:var, any:...)
get_pmtrace native any:get_pmtrace(const tracehandle, const PMTrace:var, any:...)
get_rebuy native any:get_rebuy(const RebuyHandle:rebuyhandle, RebuyStruct:member)
rg_add_account native rg_add_account(const index, amount, AccountSet:typeSet = AS_ADD, const bool:bTrackChange = true)
rg_add_ammo_registry native rg_add_ammo_registry(const szAmmoname[])
rg_balance_teams native rg_balance_teams()
rg_check_win_conditions native rg_check_win_conditions()
rg_create_entity native rg_create_entity(const classname[], const bool:useHashTable = false)
rg_create_weaponbox native rg_create_weaponbox(const pItem, const pPlayerOwner, const modelName[], Float:origin[3], Float:angles[3], Float:velocity[3], Float:lifeTime, bool:packAmmo)
rg_death_notice native rg_death_notice(const pVictim, const pKiller, const pevInflictor)
rg_decal_trace native rg_decal_trace(const ptr, Decal:decalNumber)
rg_disappear native rg_disappear(const player)
rg_dmg_radius native rg_dmg_radius(Float:vecSrc[3], const inflictor, const attacker, const Float:flDamage, const Float:flRadius, const iClassIgnore, const bitsDamageType)
rg_drop_item native rg_drop_item(const index, const item_name[])
rg_drop_items_by_slot native rg_drop_items_by_slot(const index, const InventorySlotType:slot)
rg_emit_texture_sound native rg_emit_texture_sound(const ptr, Float:vecSrc[3], Float:vecEnd[3], Bullet:iBulletType)
rg_find_ent_by_class native rg_find_ent_by_class(start_index, const classname[], const bool:useHashTable = false)
rg_find_ent_by_owner native rg_find_ent_by_owner(&start_index, const classname[], owner)
rg_find_weapon_bpack_by_name native rg_find_weapon_bpack_by_name(const index, const weapon[])
rg_fire_buckshots native rg_fire_buckshots(const inflictor, const attacker, const shots, Float:vecSrc[3], Float:vecDirShooting[3], Float:vecSpread[3], const Float:flDistance, const iTracerFreq, const iDamage)
rg_fire_bullets native rg_fire_bullets(const inflictor, const attacker, const shots, Float:vecSrc[3], Float:vecDirShooting[3], Float:vecSpread[3], const Float:flDistance, const Bullet:iBulletType, const iTracerFreq, const iDamage)
rg_fire_bullets3 native Float:[3] rg_fire_bullets3(const inflictor, const attacker, Float:vecSrc[3], Float:vecDirShooting[3], const Float:vecSpread, const Float:flDistance, const iPenetration, const Bullet:iBulletType, const iDamage, const Float:flRangeModifier, const bool:bPistol, const shared_rand)
rg_get_account_rules native rg_get_account_rules(const RewardRules:rules_index)
rg_get_can_hear_player native bool:rg_get_can_hear_player(const listener, const sender)
rg_get_global_iteminfo native rg_get_global_iteminfo(const {WeaponIdType,_}:weapon_id, ItemInfo:type, any:...)
rg_get_iteminfo native rg_get_iteminfo(const ent, ItemInfo:type, any:...)
rg_get_join_team_priority native TeamName:rg_get_join_team_priority()
rg_get_user_ammo native rg_get_user_ammo(const index, WeaponIdType:weapon)
rg_get_user_armor native rg_get_user_armor(const index, &ArmorType:armortype = ARMOR_NONE)
rg_get_user_bpammo native rg_get_user_bpammo(const index, WeaponIdType:weapon)
rg_get_user_footsteps native rg_get_user_footsteps(const index)
rg_get_weapon_info native any:rg_get_weapon_info(any:...)
rg_get_weaponbox_id native WeaponIdType:rg_get_weaponbox_id(const entity)
rg_give_custom_item native rg_give_custom_item(const index, const pszName[], GiveType:type = GT_APPEND, const uid = 0)
rg_give_default_items native rg_give_default_items(const index)
rg_give_defusekit native rg_give_defusekit(const index, const bool:bDefusekit = true, const Float:color[] = {0.0, 160.0, 0.0}, const icon[] = "defuser", const bool:bFlash = false)
rg_give_item native rg_give_item(const index, const pszName[], GiveType:type = GT_APPEND)
rg_give_shield native rg_give_shield(const index, const bool:bDeploy = true)
rg_has_item_by_name native bool:rg_has_item_by_name(const index, const item[])
rg_hint_message native bool:rg_hint_message(const index, const message[], Float:duration = 6.0, bool:bDisplayIfPlayerDead = false, bool:bOverride = false)
rg_initialize_player_counts native rg_initialize_player_counts(&num_alive_terrorist = 0, &num_alive_ct = 0, &num_dead_terrorist = 0, &num_dead_ct = 0)
rg_instant_reload_weapons native rg_instant_reload_weapons(const index, const weapon = 0)
rg_internal_cmd native rg_internal_cmd(const index, const cmd[], const arg[] = "")
rg_is_bomb_planted native bool:rg_is_bomb_planted()
rg_is_player_can_respawn native bool:rg_is_player_can_respawn(const index)
rg_is_player_can_takedamage native bool:rg_is_player_can_takedamage(const index, const attacker)
rg_join_team native rg_join_team(const index, const TeamName:team)
rg_multidmg_add native rg_multidmg_add(const inflictor, const victim, const Float:flDamage, const bitsDamageType)
rg_multidmg_apply native rg_multidmg_apply(const inflictor, const attacker)
rg_multidmg_clear native rg_multidmg_clear()
rg_plant_bomb native rg_plant_bomb(const index, Float:vecOrigin[3], Float:vecAngles[3] = {0.0,0.0,0.0})
rg_remove_all_items native rg_remove_all_items(const index, const bool:removeSuit = false)
rg_remove_entity native rg_remove_entity(const pEntity)
rg_remove_item native rg_remove_item(const index, const item_name[], const bool:removeAmmo = false)
rg_remove_items_by_slot native rg_remove_items_by_slot(const index, const InventorySlotType:slot, const bool:removeAmmo = true)
rg_reset_can_hear_player native rg_reset_can_hear_player(const index)
rg_reset_maxspeed native rg_reset_maxspeed(const index)
rg_reset_user_model native rg_reset_user_model(const index, const bool:update_index = false)
rg_restart_round native rg_restart_round()
rg_round_end native rg_round_end(const Float:tmDelay, const WinStatus:st, const ScenarioEventEndRound:event = ROUND_NONE, const message[] = "default", const sentence[] = "default", const bool:trigger = false)
rg_round_respawn native rg_round_respawn(const index)
rg_send_audio native rg_send_audio(const index, const sample[], const pitch = PITCH_NORM)
rg_send_bartime native rg_send_bartime(const index, const duration, const bool:observer = true)
rg_send_bartime2 native rg_send_bartime2(const index, const duration, const Float:startPercent, const bool:observer = true)
rg_set_account_rules native rg_set_account_rules(const RewardRules:rules_index, const amount)
rg_set_animation native rg_set_animation(const index, PLAYER_ANIM:playerAnim)
rg_set_can_hear_player native rg_set_can_hear_player(const listener, const sender, const bool:can_hear)
rg_set_global_iteminfo native rg_set_global_iteminfo(const {WeaponIdType,_}:weapon_id, ItemInfo:type, any:...)
rg_set_iteminfo native rg_set_iteminfo(const entity, ItemInfo:type, any:...)
rg_set_observer_mode native rg_set_observer_mode(const player, const mode)
rg_set_user_ammo native rg_set_user_ammo(const index, WeaponIdType:weapon, amount)
rg_set_user_armor native rg_set_user_armor(const index, armorvalue, ArmorType:armortype)
rg_set_user_bpammo native rg_set_user_bpammo(const index, WeaponIdType:weapon, amount)
rg_set_user_footsteps native rg_set_user_footsteps(const index, bool:silent = false)
rg_set_user_model native rg_set_user_model(const index, const model[], const bool:update_index = false)
rg_set_user_team native rg_set_user_team(const index, {TeamName,_}:team, {ModelName,_}:model = MODEL_AUTO, const bool:send_teaminfo = true, const bool:check_win_conditions = false)
rg_set_weapon_info native rg_set_weapon_info(const {WeaponIdType,_}:weapon_id, WpnInfo:type, any:...)
rg_spawn_grenade native rg_spawn_grenade(WeaponIdType:weaponId, pevOwner, Float:vecSrc[3], Float:vecThrow[3], Float:time, TeamName:iTeam, usEvent = 0)
rg_spawn_head_gib native rg_spawn_head_gib(const index)
rg_spawn_random_gibs native rg_spawn_random_gibs(const index, const cGibs, const bool:bHuman = true)
rg_swap_all_players native rg_swap_all_players()
rg_switch_best_weapon native rg_switch_best_weapon(const player, const currentWeapon = 0)
rg_switch_team native rg_switch_team(const index)
rg_switch_weapon native rg_switch_weapon(const index, const weapon)
rg_transfer_c4 native rg_transfer_c4(const index, const receiver = 0)
rg_update_teamscores native rg_update_teamscores(const iCtsWins = 0, const iTsWins = 0, const bool:bAdd = true)
rg_weapon_deploy native rg_weapon_deploy(const entity, const szViewModel[], const szWeaponModel[], iAnim, const szAnimExt[], skiplocal = 0)
rg_weapon_kickback native rg_weapon_kickback(const entity, Float:up_base, Float:lateral_base, Float:up_modifier, Float:lateral_modifier, Float:up_max, Float:lateral_max, direction_change)
rg_weapon_reload native rg_weapon_reload(const entity, iClipSize, iAnim, Float:fDelay)
rg_weapon_send_animation native rg_weapon_send_animation(const entity, iAnim, skiplocal = 0)
rg_weapon_shotgun_reload native rg_weapon_shotgun_reload(const entity, iAnim, iStartAnim, Float:fDelay, Float:fStartDelay, const pszReloadSound1[] = "", const pszReloadSound2[] = "")
set_member native set_member(const index, any:member, any:...)
set_member_game native set_member_game(CSGameRules_Members:member, any:...)
set_member_s native set_member_s(const index, any:member, any:...)
set_movevar native set_movevar(const MoveVars:var, any:...)
set_pmove native set_pmove(const PlayerMove:var, any:...)
set_pmtrace native set_pmtrace(const tracehandle, const PMTrace:var, any:...)
set_rebuy native set_rebuy(const RebuyHandle:rebuyhandle, const RebuyStruct:member, any:value)
SetBlocked native SetBlocked(const ent, const callback[], const params[] = "", const len = 0)
SetMoveDone native SetMoveDone(const ent, const callback[], const params[] = "", const len = 0)
SetThink native SetThink(const ent, const callback[], const params[] = "", const len = 0)
SetTouch native SetTouch(const ent, const callback[], const params[] = "", const len = 0)
SetUse native SetUse(const ent, const callback[], const params[] = "", const len = 0)