diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json new file mode 100644 index 0000000..7994a86 --- /dev/null +++ b/.vs/VSWorkspaceState.json @@ -0,0 +1,7 @@ +{ + "ExpandedNodes": [ + "" + ], + "SelectedNode": "\\reapi.sln", + "PreviewInSolutionExplorer": false +} \ No newline at end of file diff --git a/.vs/reapi/v17/.wsuo b/.vs/reapi/v17/.wsuo new file mode 100644 index 0000000..66b0088 Binary files /dev/null and b/.vs/reapi/v17/.wsuo differ diff --git a/.vs/reapi/v17/DocumentLayout.json b/.vs/reapi/v17/DocumentLayout.json new file mode 100644 index 0000000..5b3cda2 --- /dev/null +++ b/.vs/reapi/v17/DocumentLayout.json @@ -0,0 +1,12 @@ +{ + "Version": 1, + "WorkspaceRootPath": "E:\\Repos\\reapi\\", + "Documents": [], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [] + } + ] +} \ No newline at end of file diff --git a/reapi/extra/amxmodx/scripting/include/reapi_gamedll.inc b/reapi/extra/amxmodx/scripting/include/reapi_gamedll.inc index 013eb5e..7c8838b 100644 --- a/reapi/extra/amxmodx/scripting/include/reapi_gamedll.inc +++ b/reapi/extra/amxmodx/scripting/include/reapi_gamedll.inc @@ -1221,3 +1221,99 @@ native rg_player_relationship(const player, const target); * @noreturn */ native rg_send_death_message(const pKiller, const pVictim, const pAssister, const pevInflictor, const killerWeaponName[], const DeathMessageFlags:iDeathMessageFlags, const KillRarity:iRarityOfKill); + +/* +* - +* +* @param index Client index +* @param attacker Attacker index +* @param flDamage The amount of damage +* @param vecDir Direction +* @param ptr Traceresult pointer +* @param bitsDamageType Damage type DMG_* +* +* @noreturn +*/ +native rg_player_traceattack(const index, const attacker, const Float:flDamage, Float:vecDir[3], const ptr, bitsDamageType); + +/* +* - +* +* @param index Client index +* @param inflictor Inflictor index +* @param attacker Attacker index +* @param flDamage The amount of damage +* @param bitsDamageType Damage type DMG_* +* +* @return 1 on success, 0 otherwise +*/ +native rg_player_takedamage(const index, const inflictor, const attacker, const Float:flDamage, const bitsDamageType); + +/* +* - +* +* @param index Client index +* @param flHealth The amount of health +* @param bitsDamageType Damage type DMG_* +* +* @return 1 on success, 0 otherwise +*/ +native rg_player_takehealth(const index, const Float:flHealth, const bitsDamageType); + +/* +* - +* +* @param index Client index +* @param attacker Attacker index +* @param gibs Use DMG_NEVERGIB or DMG_ALWAYSGIB +* +* @noreturn +*/ +native rg_player_killed(const index, const attacker, const gibs); + +/* +* - +* +* @param index Client index +* @param score Adds the score to the current amount +* @param allowNegativeScore Allow Negative Score +* +* @noreturn +*/ +native rg_player_addpoints(const index, const score, const bool:allowNegativeScore); + +/* +* - +* +* @param index Client index +* +* @return 1 on success, 0 otherwise +*/ +native rg_is_player_alive(const index); + +/* +* - +* +* @param index Client index +* +* @return 1 on success, 0 otherwise +*/ +native rg_is_player_net_client(const index); + +/* +* - +* +* @param index Client index +* +* @return Float:[3] The source position +*/ +native Float:[3] rg_get_player_gun_position(const index); + +/* +* - +* +* @param index Client index +* +* @return 1 on success, 0 otherwise +*/ +native rg_is_player_bot(const index); \ No newline at end of file