diff --git a/README.md b/README.md new file mode 100644 index 0000000..b0039ad --- /dev/null +++ b/README.md @@ -0,0 +1,36 @@ +# GunGame Mod for Counter-Strike 1.6 + +## What is this? +GunGame is one of most dynamic modifications in terms of gameplay. In this it is similar to CSDM mod, which uses a similar game mechanic:
+– purchase menu is not available;
+– money is not given out;
+– weapon cannot be thrown away and it disappears after death of the owner.
+In the GunGame modification, players are respawned with a weapon corresponding to their level and a knife. For killing enemy, player is awarded a new level, and with it a weapon. By default, knife - is last weapon you can get. Winner will be player who is the first to commit murders with a knife (in team mode, team that was this player in wins). + +## Composition of the modification +`regg_core` - basis of modification
+`regg_balancer` - plugin allows you to control the balance of teams
+`regg_controller` - control of game modes (single, team, FFA)
+`regg_informer` - displays the current level of player or team, as well as weapons and number of points
+`regg_leader` - displays current leader of game
+`regg_map_cleaner` - clearing maps from unnecessary entities
+`regg_notify` - notification plugin
+`regg_warmup` - warmup mode before starting main mode
+`regg_show_winner` - shows winner at end of game
+`regg_block_send_wpn_anim` - blocks animation of changing weapons + +Requirements +============= +- [ReHLDS](https://github.com/dreamstalker/rehlds/) 3.8.0.702 or higher +- [ReGameDLL_CS](https://github.com/s1lentq/ReGameDLL_CS/) 5.19.0.490 or higher +- Metamod-r (or Metamod-P) +- [AMX Mod X](https://github.com/alliedmodders/amxmodx/) 1.9.0 or higher +- [ReAPI](https://github.com/s1lentq/reapi) 5.18.0.205 or higher +* Tip: Recommend using the latest versions. + +Installation +============= + +- Compile `*.sma` files +- Move compiled files `*.amxx` to `amxmodx/plugins/` +- Copy `configs/*.*` files to `amxmodx/configs` directory diff --git a/cstrike/addons/amxmodx/scripting/include/regg.inc b/cstrike/addons/amxmodx/scripting/include/regg.inc index 2aafa15..3313075 100644 --- a/cstrike/addons/amxmodx/scripting/include/regg.inc +++ b/cstrike/addons/amxmodx/scripting/include/regg.inc @@ -4,6 +4,11 @@ #define _regg_included +// for AMXX_VERSION_NUM < 1.10.0 +#if !defined is_user_authorized + native is_user_authorized(index); +#endif + /******************************************************** * NOTE ON SEMANTIC VERSIONING * ********************************************************/