Commit Graph

2051 Commits

Author SHA1 Message Date
Vincent Herbet
22c3d62dec Merge pull request #208 from Nextra/inc-doc2
Update include documentation #2
2015-03-09 19:45:47 +01:00
Freeman-AM
a82f521633 amxmodx.inc: missing commas, typo errors... 2015-03-09 19:41:21 +01:00
Valentin Grünbacher
bc9710e8f2 inc-doc2 nits/finishing touches 2015-03-09 19:41:21 +01:00
Valentin Grünbacher
902cecb0c3 amxconst: Minor improvements on client_print natives 2015-03-09 19:41:20 +01:00
Valentin Grünbacher
950f3f97c1 datapack: Tabs->spaces, consistency, nuke IsPackReadable 2015-03-09 19:41:19 +01:00
Valentin Grünbacher
828d9971a4 cvars: Style touchups, add missing stuff, update notes about named access 2015-03-09 19:41:18 +01:00
Valentin Grünbacher
50fea6be75 cstrike/csx/csstats: Added documentation, consistency updates, typo fixes 2015-03-09 19:41:18 +01:00
Valentin Grünbacher
a1c5c20d7e amxmodx: Consistency updates, typo fixes, missing return/error added 2015-03-09 19:41:17 +01:00
Valentin Grünbacher
ae86152282 cellarray/celltrie/cellstack: Documentation fixes and consistency updates 2015-03-09 19:41:16 +01:00
Valentin Grünbacher
9eb0eaf6a6 core: Add documentation 2015-03-09 19:41:15 +01:00
Valentin Grünbacher
5f278eee7b amxmisc: Documentation updates and additions 2015-03-09 19:41:15 +01:00
xPaw
379d9121b4 Remove version checks from all include files 2015-02-25 00:56:17 +02:00
9iky6
09ed8eb2b1 Update menufront.sma 2015-02-23 02:21:20 +05:00
9iky6
45b63c4394 Update menufront.sma
Just a minor update the plugin and change work in lang-key: you can now add the file through the menu items with the lang-key.
2015-02-20 23:46:26 +05:00
HttrckCldHKS
38db4d3ae0 Updating hahsers INC files and Acknowledgements
INC files have been updated changing the information, adding new
details.
Acknowledgements file includes now Hashing Librarying license.
Spacing consistency has been fixed in CPP Hashing files.
Testsuite plug-in has been rewritten, now using Server Commands.
2015-02-16 16:30:45 +02:00
HttrckCldHKS
c071f53f2c Add new hashers and new natives
Replace the only hasher called MD5 with the ones listed below.

(+) CRC32, MD5, SHA1, SHA256, SHA3 224 BIT, SHA3 256 BIT, SHA3 384 BIT,
SHA3 512 BIT, Keccak 224 BIT, Keccak 256 BIT, Keccak 384 BIT and Keccak
512 BIT.

Add the natives listed below.

(+) hash_string(const string[], hashType:type, output[], const
outputSize)
(+) hash_file(const fileName, hashType:type, output[], const outputSize)
(+) is_arkshine_a_doctor() :  Hidden native, but a sign of recompense
for him being very active since 1.8.3 version of AMX Mod X
(+) get_system_endianness() :  Checks if the system is currently Big
Endian or Little Endian.

Add the following Enum.

(+) hashType {}
(+) sysEndianness {}

Deprecate the following natives.

(-) amx_md5()
(-) amx_md5_file()

It has been tested on Windows and Linux. The sanity checks seems to be
properly working, so no worries about them.

These are useful if people are using Sockets, cURLs or MySQLs in order
to compare hashes of different files On-line for further investigation.
You are not able to check if the files are older or newer, but you can
see if the content is different (Hash Checksum mismatch).

I'm glad I did this. Thanks to
2015-02-16 14:39:45 +02:00
Arkshine
77762b9c2c Fix typo in documentation 2015-02-07 17:51:30 +01:00
Arkshine
5241fdf673 Add geoip_country_ex, mark geoip_country as deprecated, and do some cleanup 2015-02-07 16:26:40 +01:00
Freeman-AM
35eeb6036d missing alignment 2015-02-06 01:36:32 +01:00
Freeman-AM
9e5810e615 amxmisc.inc: Missing charsmax, more readability, more compliance to amxmodx style 2015-02-06 01:32:33 +01:00
Arkshine
14f06ca1bb MAX_PLAYERS: Fix moar 2015-02-01 21:45:16 +01:00
Arkshine
91c4b5d708 MAX_¨PLAYERS: Fix more. 2015-02-01 20:34:35 +01:00
Arkshine
e441908230 MAX_PLAYERS: Fix plugins 2015-02-01 19:25:36 +01:00
Arkshine
1b350b627b MAX_PLAYERS: Change value in includes 2015-02-01 18:40:20 +01:00
Vincent Herbet
dd38ee103b Merge pull request #189 from Arkshine/feature/add-cs_create_entity
Add cs_create_entity and cs_find_ent_by_class natives
2015-01-31 16:39:43 +01:00
Vincent Herbet
14b072dd47 Merge pull request #190 from Freeman-AM/small-plmenu-update
Plmenu: small update: formatex, semicolon, missing things, remove useless TABs
2015-01-31 16:39:18 +01:00
Arkshine
4ceb767022 Add error messages and fix documentation 2015-01-31 14:45:37 +01:00
Freeman-AM
7a3ee17093 Remove #pragma semicolon 1
It could disturb non initiated people who want to modify base plugins.
2015-01-30 22:57:31 +01:00
Vincent Herbet
6319331a33 Merge pull request #188 from Arkshine/feature/mysql-rw-and-default-timeout
Establish a default timeout for MySQL connectivity
2015-01-30 15:56:40 +01:00
Arkshine
c87d46ad5b Add cs_find_ent_by_class and fix documentation 2015-01-30 15:53:25 +01:00
Vincent Herbet
7d084ee0bf Merge pull request #185 from Arkshine/feature/hooking-cvars
Introduce new features for cvars
2015-01-30 14:20:11 +01:00
Freeman-AM
cfc92ca3db Plmenu: small update: formatex, semicolon, missing things, remove useless TABs 2015-01-30 00:57:45 +01:00
Arkshine
1488b9747f Cvars: De-frenchify by Nextra 2015-01-29 21:44:53 +01:00
Arkshine
2446ff49f2 Add cs_create_entity native 2015-01-29 20:43:01 +01:00
Arkshine
f8ec7f94a4 Mysql: Establish a default timeout 2015-01-29 13:50:13 +01:00
Arkshine
e4a7e67783 Cvars: Adjust few things
- Hook is not as post, because allowing blocking change is not really that useful and this makes a context more simpler.
- Setting a min bound > max bound and reversely throw an error
- set_pcvar_bounds set cvar value on new min/max bound.
- Remove error "A cvar can't be binded with several variables", it's okay to no error such situation.
2015-01-28 00:26:24 +01:00
Arkshine
356a981164 Cvars: Add get/set_pcvar_bool natives 2015-01-26 14:26:48 +01:00
Arkshine
8a241ed0fd Cvars: Add new description param in get_plugins_cvar 2015-01-25 11:38:01 +01:00
Arkshine
cb0b9da51f Cvars: Add bind_pcvar_num/float/string 2015-01-24 21:31:00 +01:00
Arkshine
8ebb7be36d Cvars: Add get|set_pcvar_bounds natives 2015-01-24 15:04:49 +01:00
Arkshine
a05d0df50e Cvars: Add create_cvar native with more options (description, bounds) 2015-01-23 19:05:34 +01:00
Arkshine
15ad1d2247 Cvars: Moving cvars stuffs in its own files
cvars.cpp renamed to CvarManager.cpp
all cvars natives moved to a new cvars.cpp file
Pawn include is updated as wall.
2015-01-23 19:05:34 +01:00
Arkshine
768fa2c3bc Cvars: Add hook_cvar_change, [enable|disable]_cvar_hook natives 2015-01-23 19:05:33 +01:00
Arkshine
0db5963641 Cvars: Remove global forward 2015-01-23 19:05:33 +01:00
Arkshine
cdc7d550eb Cvars: Rearrange a bit some code
Changed class CCVar -> struct CvarInfo
Added CvarManager class and moved some code there
Code of registering a cvar is rewritten
Cvars datas are stored in a hashtable for fast lookup
For natives compatibility, an inline list is kept (though CList -> ke::InlineList)
Replace some CVAR_GET/SEt_ by FindVar
2015-01-23 19:05:32 +01:00
Arkshine
faeaf9259e Cvars: Add OnCvarChanged global forward
I really tried to use "cvar_changed" as name, but it bothered me so much to look that weird I could not keep it.
2015-01-23 19:05:31 +01:00
Arkshine
cdfd789f56 Rename change_level to engine_changelevel 2015-01-23 16:55:16 +01:00
Arkshine
03e426fc28 Add FCVAR_NOEXTRAWHITEPACE in amxconst.inc 2015-01-16 23:21:01 +01:00
Karol Szuster
e7e9994b73 Updated PL translations
Updated PL translations
2014-12-28 20:56:52 +01:00
Karol Szuster
47d6f849f2 Added missing dictionary's key to PL translation.
Added TRANSF_SILENT key to PL translation.
2014-12-28 20:55:54 +01:00
KliPPy
f3dfc6e4c6 Add any: tag to set_task parameter[] 2014-12-14 19:00:15 +01:00
9iky6
015e4f2f33 fix_alive_spectator
Fix invisible living the spectators
2014-11-21 20:56:06 +06:00
9iky6
63aff82dc8 Update regex.inc 2014-11-07 18:11:55 +05:00
9iky6
21ae30b985 Fix stock regex_match_simple
Fix regex_match_simple.

Where regex_match_ex referred to in this file?
2014-11-07 18:09:10 +05:00
Arkshine
d0ab27092c Allow show_menu native to send empty text and add reset_menu stock (bug 6244) 2014-10-24 20:36:38 +02:00
HttrckCldHKS
3953db97cd Improving Code 2014-10-18 11:11:10 -07:00
HttrckCldHKS
7ced590cbc Improving Code 2014-10-18 11:04:10 -07:00
HttrckCldHKS
5d2b738ec1 Improving Code 2014-10-18 10:36:07 -07:00
HttrckCldHKS
3615e717ca Adding New Game Modifications Due Colored Menus
Adding New Game Modifications Due Colored Menus.
2014-10-18 10:10:58 -07:00
Freeman-AM
94a4be95fe Nextmap: replace len hardcoded content by charsmax and sizeof 2014-10-12 02:11:07 +02:00
Freeman-AM
2db8156326 Plmenu: replace len hardcoded content by charsmax 2014-10-12 01:41:58 +02:00
Freeman-AM
6bb9052261 Mapchooser: missing MAX_NAME_LENGTH 2014-10-12 00:59:08 +02:00
Freeman-AM
c440929700 Stats: Replace len hardcoded contents by charsmax and sizeof 2014-10-11 23:17:20 +02:00
Freeman-AM
c2ee729380 Stats_logging: Replace len hardcoded contents by charsmax 2014-10-11 22:41:18 +02:00
Freeman-AM
4e343f65bd Stats_logging: Replace len hardcoded contents by charsmax 2014-10-11 22:31:11 +02:00
Freeman-AM
15b160e51a Stats: Replace len hardcoded contents by charsmax and sizeof 2014-10-11 21:29:10 +02:00
Freeman-AM
2a5fae43b8 Plmenu: replace len hardcoded content by charsmax 2014-10-11 20:55:24 +02:00
Freeman-AM
59cb65f47a Timeleft: replace len hardcoded content by charsmax and sizeof 2014-10-11 19:51:57 +02:00
Freeman-AM
93d37a6366 Plmenu: replace len hardcoded content by charsmax 2014-10-11 19:07:24 +02:00
Freeman-AM
6e183f3e64 Plmenu: fix typos errors from previous commit 2014-10-11 19:05:25 +02:00
Freeman-AM
3776650a38 Nscommands: remove an hardcoded value 2014-10-11 18:13:08 +02:00
Freeman-AM
7e9e2b7b58 Stats: more use of sizeof 2014-10-11 17:55:42 +02:00
Freeman-AM
6e525ea8fe Statsx: more use of sizeof 2014-10-11 17:46:29 +02:00
Freeman-AM
8d4a1ca359 Restmenu: more use of sizeof 2014-10-11 17:04:12 +02:00
Freeman-AM
ea23bdb579 Nscommands: replace len hardcoded content by charsmax 2014-10-11 16:20:49 +02:00
Freeman-AM
cff3ab867a Nextmap: replace len hardcoded content by charsmax and sizeof 2014-10-11 16:00:11 +02:00
Freeman-AM
8071b895d2 Idlekicker: replace len hardcoded content by sizeof 2014-10-11 14:39:34 +02:00
Freeman-AM
8b9c107a03 Stats: Replace len hardcoded contents by sizeof + fix typo error in previous commit 2014-10-11 14:31:56 +02:00
Freeman-AM
ee6285c79d Statsx: Replace len hardcoded contents by sizeof 2014-10-11 14:10:36 +02:00
Freeman-AM
54ab06493a Restmenu: fix a typo error induced by previous commit 2014-10-11 14:07:38 +02:00
Freeman-AM
97aac34dc9 Miscstats: replace len hardcoded content by sizeof 2014-10-11 14:02:15 +02:00
Freeman-AM
d7911d8f3f Mapchooser: replace len hardcoded content by charsmax 2014-10-08 23:47:51 +02:00
Freeman-AM
7ba6f72825 Idlekicker: replace len hardcoded content by charsmax 2014-10-08 23:31:00 +02:00
Freeman-AM
9a9dd7a4ad Stats_logging: replace len hardcoded content by charsmax 2014-10-08 23:24:48 +02:00
Freeman-AM
2cc771371a Stats: Replace len hardcoded contents by charsmax
Note: TOPX is over 8 char len in some languages.
2014-10-08 22:52:57 +02:00
Freeman-AM
0a4cd13622 Plmenu: replace len hardcoded content by charsmax 2014-10-08 21:49:00 +02:00
Freeman-AM
91dfec4ef7 Statsx: Replace len hardcoded contents by charsmax 2014-10-08 15:03:51 +02:00
Freeman-AM
0237153ddd Stats_logging: Replace len hardcoded contents by charsmax 2014-10-08 14:32:03 +02:00
Freeman-AM
71f011c70d Restmenu: replace len hardcoded content by charsmax and sizeof 2014-10-08 14:21:53 +02:00
9iky6
8ea62d22cb Update engine_stocks.inc
When compiling was varningov , and the function itself was crooked written
2014-10-05 16:19:47 +06:00
Arkshine
199b41af0a Compiler: Treat pawn warnings as errors when building 2014-09-29 15:55:16 +02:00
Freeman-AM
83873aa7f7 Stats: Add full UTF-8 symbols support 2014-09-21 02:39:09 +02:00
Freeman-AM
9a1b7b0a63 Statsx: Add full UTF-8 symbols support 2014-09-21 00:42:03 +02:00
Arkshine
c1dca680f2 Don't remove this return 2014-09-18 19:35:29 +02:00
Arkshine
a93886fb65 Fix unreachable code warning (reported by kwpd) 2014-09-18 19:17:00 +02:00
Vincent Herbet
e8acb93b99 Merge pull request #75 from LittleKu/patch-1
Add chinese language
2014-09-04 23:25:11 +02:00
LittleKu
4d0d865700 Update stats_dod.txt 2014-09-04 13:57:10 +08:00
LittleKu
8bd81ee883 Update restmenu.txt 2014-09-04 12:33:53 +08:00
LittleKu
8b0a8737b8 Update plmenu.txt 2014-09-04 12:19:59 +08:00
LittleKu
c111f59825 Update pausecfg.txt 2014-09-04 12:14:27 +08:00
LittleKu
f2ba295668 Update nextmap.txt 2014-09-04 11:59:54 +08:00
LittleKu
01dbd4093b Update statscfg.txt 2014-09-04 11:58:05 +08:00
Karol Szuster
47413928c8 Fix a typo in documentation. 2014-08-29 16:48:30 +02:00
Arkshine
16e5f54507 Compiler: Improve the reported line number accuracy on warning 203/4 (symbol never used).
Imported from Pawn 3.1.3541+.
https://code.google.com/p/pawnscript/source/detail?r=25
2014-08-26 09:05:03 +02:00
Arkshine
520493fab1 Compiler: Add #pragma deprecated.
This is based on SM, including patch to support macros/constants (https://hg.alliedmods.net/sourcemod-central/rev/ef8dd1cddc35).
Updated also some pawn includes to use this new pragma.
2014-08-26 09:04:36 +02:00
Vincent Herbet
bd08cc5126 Merge pull request #126 from Arkshine/feature-find-player-engclient_print
Allow some natives to be used on connecting players (bug 6229).
2014-08-19 18:35:52 +02:00
Arkshine
68aec7eec0 Use new flags in get_players/find_player instead to avoid breakage. 2014-08-19 15:39:06 +02:00
Vincent Herbet
38d43e8fc9 Merge pull request #122 from xPaw/lastmanhp
Add an option to disable showing last man's health (bug 5847)
2014-08-19 09:56:07 +02:00
Ryan
4dd53b333f moving comment 2014-08-18 06:34:18 -05:00
Ryan
b1b47a6d4c fix compile error 2014-08-18 05:36:37 -05:00
xPaw
518944c41e Add an option to disable showing last man's health (bug 5847) 2014-08-18 12:36:13 +03:00
Vincent Herbet
f185eaa232 Update TRANS_SILENT Serbian translaton. 2014-08-16 17:41:27 +02:00
Vincent Herbet
d49064b43e Merge pull request #113 from kiapwnz/silentswitch
Added Silent Transfer Option in Team Menu.
2014-08-16 15:13:18 +02:00
Vincent Herbet
8f2aeed9da Fix missing TE_BEAMENTPOINT define. 2014-08-15 14:20:51 +02:00
Kia
8890b2fd27 Added languages, languages available now :
[en]
[de]
[fr]
[sv]
[ru]
[pl]
[es]
[sk]
[sr]
[tr]
[da]
[nl]
[bp]
[cz]
[fi]
[bg]
[ro]
[hu]
2014-08-13 14:20:29 +02:00
Kia
5ee794f9f4 Fixed another Typo. 2014-08-11 16:41:35 +02:00
Kia
2ab4a8a44a Added Silent Transfer Option in Team Menu. 2014-08-11 16:38:16 +02:00
Kia
5ba0e3ec2a Added Silent Transfer Option in Team Menu.
Players will be transferred without getting killed if admin chooses to enable this function.
2014-08-11 14:46:30 +02:00
Vincent Herbet
fc1732e758 Fix possible compatibility issue,
Unfortunately some plugin doesn't explicit max length, resulting a compilation error with AMXX 1.8.3 compiler.
2014-08-09 13:09:53 +02:00
Vincent Herbet
c22bb12c1e Merge pull request #108 from Nextra/inc-doc
Update include documentation (mainly amxmodx.inc)
2014-08-08 01:25:56 +02:00
Valentin Grünbacher
b096f94ca4 amxconst: Purge tabs 2014-08-07 23:13:03 +02:00
Valentin Grünbacher
a63042d961 amxmodx/cellarray: Assorted consistency updates and typo fixes 2014-08-07 23:02:39 +02:00
Valentin Grünbacher
8b42767b19 amxmodx: Precaching documentation is the bane of my existence 2014-08-07 22:01:21 +02:00
Valentin Grünbacher
20a173d8a3 amxmodx: Improve precache comments 2014-08-07 21:49:56 +02:00
Valentin Grünbacher
08315a4329 message_const: Move TE_USERTRACER example into the comment block 2014-08-07 21:42:18 +02:00
Valentin Grünbacher
4231c5a6ae amxmodx: Sixth and final batch of documentation updates 2014-08-07 21:26:37 +02:00
Valentin Grünbacher
bbffcbf739 cellarray: Update lying ArrayCreate doc 2014-08-07 21:17:45 +02:00
Arkshine
c03271c856 Use server language as fallback if client's "lang" key is not defined. 2014-08-07 14:20:29 +02:00
Valentin Grünbacher
88b69ea8a1 amxmodx: Update change_level doc for consistency 2014-08-07 01:46:11 +02:00
Valentin Grünbacher
1fb91dc02e Merge branch 'master' of ssh://github.com/alliedmodders/amxmodx into inc-doc
Conflicts:
	plugins/include/amxmodx.inc
	plugins/include/message_const.inc
	plugins/include/sockets.inc
2014-08-07 01:44:04 +02:00
Vincent Herbet
d3bc58d80b Merge pull request #101 from Arkshine/textparsers
Introduce TextParser API
2014-08-07 01:24:51 +02:00
Vincent Herbet
c72d130fde Merge pull request #104 from Arkshine/add-change_level
Add change_level() native.
2014-08-07 01:24:36 +02:00
Arkshine
58b6f9f353 fix the documentation. How it's possible to not see a double comma! 2014-08-07 01:26:05 +02:00
Arkshine
e9eaae4dd1 Fix documentation. 2014-08-07 01:21:22 +02:00
Arkshine
29eb4e4647 Fix documentation. 2014-08-07 01:18:45 +02:00
Arkshine
6b5387f428 Fix documentation. 2014-08-07 01:16:44 +02:00
Valentin Grünbacher
c1ed795196 sockets: Convert file to UTF-8 2014-08-07 00:51:17 +02:00
Valentin Grünbacher
9a0a52b7b2 amxmodx: Fix typos, touch up some descriptions, remove/merge lonely comments 2014-08-07 00:46:16 +02:00
Valentin Grünbacher
37e22dc22f amxmodx: Fifth batch of documentation updates 2014-08-07 00:19:24 +02:00
Vincent Herbet
fb4d05fd60 Fix documentation. 2014-08-06 19:39:19 +02:00
Arkshine
3369f6d115 Update license in pawn includes and add them in project files. 2014-08-06 09:24:09 +02:00
Arkshine
2d07189e38 Fix few issues. 2014-08-06 09:17:53 +02:00
Arkshine
b97093a778 Add more debug in plugin. 2014-08-06 09:17:51 +02:00
Arkshine
037af0aec2 Split INI/SMC API. 2014-08-06 09:17:47 +02:00
Arkshine
0cf5a2e12f Expose ParseFile_INI to API.
Some minor changes have been made in parser:

- Added ReadINI_ParseStart and ReadINI_ParseEnd call.
- Function returns SMCResult instead of bool. To avoid unecessary complexity and duplicating natives, this feels more appropriate to let these functions to share some SMCResult and SMCParse constants. Since properly documented, this should be ok.
- Made sure curtok is set to 0 when ptr_val is null, otherwise unexpected value would be passed into the forward.
2014-08-06 09:17:45 +02:00
Arkshine
9af7931a79 Introduce TextParser API. 2014-08-06 09:17:43 +02:00
Arkshine
023c1e3baf Geoip: Fix missing continent id and fix indentation. 2014-08-05 23:00:00 +02:00
Valentin Grünbacher
3a232f1576 message_const: Add placeholder titles for TE_* messages missing a description 2014-08-05 20:18:16 +02:00
Arkshine
17e0ab99e6 Geoip: Update documentation. 2014-08-05 20:12:20 +02:00
Valentin Grünbacher
9885c926e9 message_const: Fix up all headings and move notes into the new headings 2014-08-05 20:09:57 +02:00
Arkshine
d2ed9e70cd Geoip: Add an optional parameter in some natves to get a result in player's language.
This is new with Geoip2 database where some entries, like country, city, etc, are translated in several languages.
So far: de, en, es, fr, ru, pt-BR, zh-CN.
2014-08-05 20:09:16 +02:00
Arkshine
abaee9f4a3 Geoip: Add geoip_continent_name() native. 2014-08-05 20:08:30 +02:00
Arkshine
fc19f53ea9 Geoip: Add geoip_continent_code() native. 2014-08-05 20:08:28 +02:00
Arkshine
81d56dfdc0 Geoip: Add geoip_distance() native. 2014-08-05 20:08:27 +02:00
Arkshine
6941e406f4 Geoip: Add geoip_latitude() and geoip_longitude() natives. 2014-08-05 20:08:25 +02:00
Arkshine
b439753ac5 Geoip: Add geoip_timezone() native. 2014-08-05 20:08:24 +02:00
Arkshine
c11f721ad4 Geoip: Add geoip_region_name() native. 2014-08-05 20:08:22 +02:00
Arkshine
b61ed9fa3e Geoip: Add geoip_region_code() native. 2014-08-05 20:08:20 +02:00
Arkshine
95bc1703a6 Geoip: Add geoip_city() native. 2014-08-05 20:08:19 +02:00
Valentin Grünbacher
2659e63483 amxconst: Add some more structure 2014-08-05 18:59:08 +02:00
Valentin Grünbacher
d9b20d7896 amxconst: Move SND_* constants where they belong 2014-08-05 18:48:37 +02:00
Valentin Grünbacher
566596f7b4 cellarray: Touch up documentation to make the parser happy and make it consistent 2014-08-05 16:05:19 +02:00
Arkshine
c9ea68d1d3 Fix typo in documentation. 2014-08-05 11:41:55 +02:00
Arkshine
10d5c8e9ad Add change_level() native. 2014-08-05 09:49:32 +02:00
Valentin Grünbacher
d60c94cbb1 amxmodx: Fourth batch of documentation updates 2014-08-05 01:39:16 +02:00
Valentin Grünbacher
9e9e3a9abd hlsdk_const: Fix up section heading to make docgen happy, purge tabs 2014-08-04 23:54:07 +02:00
Scott Ehlert
f787db1be5 Update license headers for plugins and includes. 2014-08-04 13:18:41 -05:00
Valentin Grünbacher
63cf35b904 hlsdk_const: Fix up headings for proper display in api reference 2014-08-04 19:55:45 +02:00
Valentin Grünbacher
bc3808cb3f ham_const: Fix up headings for proper display in api reference 2014-08-04 19:39:40 +02:00
Valentin Grünbacher
b5aef1856d amxmodx: Third batch of documentation updates 2014-08-04 19:24:36 +02:00
Valentin Grünbacher
f134ff9fdf amxmodx: Second batch of documentation updates 2014-08-04 16:29:01 +02:00
Valentin Grünbacher
c9316542be amxconst: Grant @xPaw his beloved tabs 2014-08-04 02:32:12 +02:00
Valentin Grünbacher
8ba288cfb1 amxmodx: First batch of documentation updates 2014-08-04 00:48:37 +02:00
Valentin Grünbacher
9544364116 amxconst: Purge tabs 2014-08-04 00:35:52 +02:00
Valentin Grünbacher
79f15d5621 amxconst: Fix up the headings some more and move long descriptions to @note 2014-08-04 00:30:49 +02:00
xPaw
c219878ac2 Remove XS__LIBRELEASE and tabs so docgen can catch the stocks 2014-08-03 22:26:54 +03:00
Valentin Grünbacher
5aef27a3ab amxconst: Add proper headings for all constant types 2014-08-03 16:33:08 +02:00
Vincent Herbet
69371d6d6d Merge pull request #96 from xPaw/inc
Fix some comments
2014-08-02 18:18:27 +02:00
xPaw
c068c0d0f4 Fix some comments 2014-08-02 19:12:32 +03:00
Arkshine
e7b7506efa Introduce API to create Stack structures 2014-08-01 23:14:44 +02:00
Vincent Herbet
5689be448c Merge pull request #35 from Freeman-AM/master
hlsdk_const.inc : Add iuser1 constants
2014-08-01 19:12:16 +02:00
Freeman-AM
7aa895089a hlsdk_const.inc : modification of constants description. 2014-08-01 19:09:47 +02:00
Freeman-AM
5ef5f4b41f hlsdk_const.inc : modification of constants description. 2014-08-01 18:53:19 +02:00
Freeman-AM
600e5dce97 hlsdk_const.inc : modification of constants description. 2014-08-01 18:18:56 +02:00
Vincent Herbet
47dc226393 Merge pull request #76 from Arkshine/improve-cellarray
Update dynamic Array.
2014-08-01 18:03:53 +02:00
Arkshine
eabafd4eed Fix typo, documention and others issues. 2014-08-01 09:21:26 +02:00
LittleKu
f5164a9c02 Update statsx.txt 2014-08-01 12:25:36 +08:00
skyrim
f1b2c802e6 Fix of a possible buffer overflow 2014-07-30 22:43:26 +02:00
LittleKu
8f6f49c9f3 Update scrollmsg.txt 2014-07-31 00:55:54 +08:00
LittleKu
a397dfffb7 Update telemenu.txt 2014-07-31 00:50:09 +08:00
LittleKu
dc9237c1d8 Update time.txt 2014-07-31 00:49:06 +08:00
LittleKu
7248c5e731 Update timeleft.txt 2014-07-31 00:41:38 +08:00
LittleKu
4970aaf02d Update multilingual.txt 2014-07-31 00:36:12 +08:00
LittleKu
6da929dc95 Update miscstats.txt 2014-07-31 00:24:18 +08:00
Arkshine
6040dbfbb9 Fix compilation. 2014-07-30 10:19:41 +02:00
skyrim
0de8ee48d0 Replaced sizeof(str)-1 and magic nums with charsmax 2014-07-29 16:32:32 +02:00
Vincent Herbet
f1e07caca4 Fix compilation. 2014-07-29 12:22:32 +02:00
Vincent Herbet
0365676262 Merge pull request #88 from xPaw/client-cmd-be-g
Remove some client_cmd
2014-07-29 12:15:20 +02:00
xPaw
c084965cf1 Remove some client_cmd 2014-07-29 13:13:39 +03:00
Vincent Herbet
b4365e3fb9 Merge pull request #87 from xPaw/what-is-this
Instead of assigning FCVAR_PROTECTED to cvars after startup, register cv...
2014-07-28 23:41:40 +02:00
xPaw
0e0d7ec9d5 Instead of assigning FCVAR_PROTECTED to cvars after startup, register cvars with said flag 2014-07-29 00:33:08 +03:00
xPaw
ab46adc91c Trim target in amx_ban to prevent bypassing equali checks 2014-07-29 00:00:07 +03:00
Vincent Herbet
919af60ca9 Merge pull request #85 from xPaw/missing-tr
Add missing [tr] translations
2014-07-28 21:45:14 +02:00
xPaw
437ce48f42 Add missing [tr] translations 2014-07-28 22:40:38 +03:00
Vincent Herbet
16d19097c5 Merge pull request #84 from xPaw/amx-help
Replace hardcoded defines in adminhelp with cvars
2014-07-27 15:05:44 +02:00
xPaw
fea209fa7f Replace hardcoded defines in adminhelp with cvars 2014-07-27 15:59:09 +03:00
Vincent Herbet
8d719e1191 Merge pull request #83 from xPaw/leet-speek-can-go-to-hell
Remove leet speak
2014-07-27 13:09:44 +02:00
Vincent Herbet
d2595b8b92 Merge pull request #31 from xPaw/burn-baby-burn
Remove compatibility stuff from the core
2014-07-27 12:07:58 +02:00
xPaw
fecf24ebfd Add missing [tr] translation in time.txt 2014-07-27 13:05:06 +03:00
xPaw
d65cedf8c7 Remove leet speak 2014-07-27 13:03:23 +03:00
Vincent Herbet
88042ce5a9 Merge pull request #82 from xPaw/ml-plugin-update
Multilingual plugin update
2014-07-27 11:57:51 +02:00
xPaw
dff6dc53f4 Use formatex and charsmax 2014-07-27 12:51:36 +03:00
Vincent Herbet
87c0be470b Merge pull request #80 from xPaw/package-script
Package script fixes
2014-07-27 11:44:56 +02:00
xPaw
499b5a1ac8 Use MAX_PLAYERS 2014-07-27 12:37:58 +03:00
xPaw
c5ba642630 Change zeroes to manual in predefined version.inc 2014-07-27 11:43:50 +03:00
xPaw
ef1e1edea5 Update copyright year 2014-07-27 11:22:40 +03:00
xPaw
57a1004c15 Replace svn_version with default amxmodx_version which should get replaced by AMBuild regardless 2014-07-27 11:07:13 +03:00
xPaw
1d17835e9a Update multilingual plugin
- User pcvars
- Remove vault usage
- Remove amx_setlang (not very useful, it's covered by the cvar now)
- Remove server language from the menu (covered by the cvar now)
- Add a cvar for previously hardcoded DISPLAY_MSG
2014-07-27 10:54:46 +03:00
9iky6
aa37e7f4e8 Update statsx.sma 2014-07-26 21:30:45 +06:00
9iky6
795131cd9f Update statsx.sma 2014-07-26 21:18:40 +06:00
9iky6
d4cdec6f11 Update statsx.sma 2014-07-26 21:13:49 +06:00
9iky6
6fbf08869c Update statsx.sma 2014-07-26 21:03:05 +06:00
9iky6
279a053dbe Update statsx.sma 2014-07-26 21:01:07 +06:00
9iky6
cfaf862249 Update statsx.sma 2014-07-26 20:58:30 +06:00
9iky6
dae467032b Update statsx.sma 2014-07-26 20:57:23 +06:00
9iky6
6ae11ed755 Update statsx.sma 2014-07-26 20:56:42 +06:00
9iky6
fec17e2bf5 Update statsx.sma
Fix MAX_PLAYERS -> MaxClients
2014-07-26 20:33:07 +06:00
Arkshine
42fa547cb4 Improve CellArray. 2014-07-25 21:28:23 +02:00
LittleKu
cf93ad50fa Update menufront.txt 2014-07-21 22:28:46 +08:00
LittleKu
46c9535087 Update mapsmenu.txt 2014-07-21 22:24:49 +08:00
LittleKu
57d621ac14 Update mapsmenu.txt 2014-07-21 22:24:19 +08:00
LittleKu
59219d3825 Update mapchooser.txt 2014-07-21 21:41:18 +08:00
LittleKu
8a6f6d7e36 Update languages.txt 2014-07-21 21:37:46 +08:00
LittleKu
477b61c5aa Update imessage.txt 2014-07-21 21:34:02 +08:00
LittleKu
2930654c7d Update common.txt 2014-07-21 21:32:10 +08:00
LittleKu
1f98a77ba0 Update cmdmenu.txt 2014-07-21 21:26:40 +08:00
LittleKu
9f513a755b Update antiflood.txt 2014-07-21 21:25:13 +08:00
LittleKu
8c46046fdb Update adminvote.txt 2014-07-21 21:23:09 +08:00
LittleKu
178516ac17 Update adminslots.txt 2014-07-21 20:59:41 +08:00
LittleKu
6b6a7bdc2b Update adminhelp.txt 2014-07-21 20:56:19 +08:00
LittleKu
4346a59035 Update admincmd.txt 2014-07-21 20:50:50 +08:00
LittleKu
da90ed748b Update adminchat.txt 2014-07-21 02:25:38 +08:00
LittleKu
2fccafb3ca update admin.txt
add a chinese language
2014-07-21 01:00:25 +08:00
Arkshine
a2b564eaaa Fix another potantial bug. 2014-07-20 17:48:05 +02:00
Arkshine
0347571ee9 Fix some typos and possible bugs. 2014-07-20 17:31:43 +02:00
Arkshine
da63bcb24b Fix redefinition of constant. 2014-07-20 17:14:05 +02:00
Arkshine
1fe80667a2 Fix definitively unused variable warning. 2014-07-20 15:25:37 +02:00
Arkshine
ee2ae84d7a Remove MAX_PLAYERS define assocaited to get_players. 2014-07-20 15:15:45 +02:00
Arkshine
7b96b4df22 Remove unecessary variable. 2014-07-20 12:56:59 +02:00
Arkshine
07534edfcd Use the new constants in various place. 2014-07-20 12:27:02 +02:00
Arkshine
e84653571c Fix stupid compiler warning on unused wariable. 2014-07-20 10:27:58 +02:00
Arkshine
ee99ee93e4 Add 👍 to MAX_PLAYERS for the sake of convenience. 2014-07-19 19:58:22 +02:00
Arkshine
2c4e99fe8d Add some generic constants to amxconst.inc file. 2014-07-19 19:46:40 +02:00
Vincent Herbet
3a5cb29e67 Merge pull request #69 from Arkshine/update-regex
Update regex module
2014-07-18 18:14:56 +02:00
Arkshine
1c9febfd22 Regex: Fix documention. 2014-07-18 18:02:12 +02:00
Arkshine
dbe95c849b Engine: Add entity_intersects native. 2014-07-18 16:37:32 +02:00
Arkshine
752f95e913 Regex: Fix plugin title. 2014-07-18 13:50:41 +02:00
Vincent Herbet
7d69a78d06 Merge pull request #68 from Arkshine/feature-improve-client-buy
Improve client buy forward
2014-07-18 10:00:10 +02:00
xPaw
1262c197c4 Fix some translations. 2014-07-17 16:53:20 +02:00
Vincent Herbet
face80aa3f Merge pull request #66 from patrig/patch-26
Update statscfg.txt
2014-07-17 15:35:41 +02:00
Vincent Herbet
4cbb9b0e64 Merge pull request #64 from 9iky6/patch-8
Update statsx.txt
2014-07-17 15:35:16 +02:00
Vincent Herbet
7a46222758 Merge pull request #58 from patrig/patch-23
Update restmenu.txt
2014-07-17 15:31:22 +02:00
Danil
8111eee1b2 Update statscfg.txt
Add Russian language ...
2014-07-17 19:27:47 +06:00
Vincent Herbet
9413eba2f6 Merge pull request #61 from 9iky6/patch-5
Update adminchat.txt
2014-07-17 15:25:28 +02:00
Vincent Herbet
17553c844a Merge pull request #63 from 9iky6/patch-7
Update pausecfg.txt
2014-07-17 15:24:33 +02:00
Vincent Herbet
092535d653 Merge pull request #62 from 9iky6/patch-6
Update cmdmenu.txt
2014-07-17 15:23:56 +02:00
Arkshine
62e4eb29eb Regex: Update documentation. 2014-07-17 14:58:57 +02:00
Danil
a98df451cf Update restmenu.txt
fix [ru].
2014-07-17 18:33:27 +06:00
Arkshine
939a724b1a Regex: Add regex_replace native. 2014-07-17 11:21:06 +02:00
9iky6
ffb179c991 Update statsx.txt 2014-07-16 01:54:50 +06:00
9iky6
d53ce41a20 Update pausecfg.txt 2014-07-16 01:52:17 +06:00
9iky6
c0201a52a5 Update cmdmenu.txt 2014-07-16 01:46:31 +06:00
9iky6
baef33c12d Update adminchat.txt 2014-07-16 01:37:17 +06:00
9iky6
7d49398186 Update admin.txt 2014-07-16 01:35:28 +06:00
Vincent Herbet
1dba9eaeb9 Merge pull request #59 from patrig/patch-24
Update pausecfg.txt
2014-07-15 18:56:43 +02:00
Vincent Herbet
718e5efaf3 Merge pull request #57 from patrig/patch-22
Update admincmd.txt
2014-07-15 18:55:08 +02:00
Vincent Herbet
84404ec311 Merge pull request #56 from patrig/patch-21
Update telemenu.txt
2014-07-15 18:54:40 +02:00
Vincent Herbet
6d6d492c51 Merge pull request #55 from patrig/patch-20
Update time.txt
2014-07-15 18:54:33 +02:00
Vincent Herbet
d0501a8314 Merge pull request #54 from patrig/patch-19
Update timeleft.txt
2014-07-15 18:54:21 +02:00
Vincent Herbet
ff39293537 Merge pull request #53 from patrig/patch-18
Update scrollmsg.txt
2014-07-15 18:54:12 +02:00
Vincent Herbet
e03b2f7183 Merge pull request #52 from patrig/patch-17
Update plmenu.txt
2014-07-15 18:54:01 +02:00
Vincent Herbet
b1ac1453e1 Merge pull request #51 from patrig/patch-16
Update nextmap.txt
2014-07-15 18:53:52 +02:00
Vincent Herbet
e71b20359c Merge pull request #50 from patrig/patch-15
Update multilingual.txt
2014-07-15 18:53:44 +02:00
Vincent Herbet
42fb23d6c3 Merge pull request #49 from patrig/patch-14
Update miscstats.txt
2014-07-15 18:53:33 +02:00
Vincent Herbet
9682abb095 Merge pull request #48 from patrig/patch-13
Update menufront.txt
2014-07-15 18:52:58 +02:00
Vincent Herbet
d32457f9cf Merge pull request #47 from patrig/patch-12
Update mapsmenu.txt
2014-07-15 18:52:46 +02:00
Vincent Herbet
69651e6ebf Merge pull request #46 from patrig/patch-11
Update mapchooser.txt
2014-07-15 18:52:29 +02:00
Vincent Herbet
132a7fd0fc Merge pull request #36 from patrig/patch-1
Update admin.txt
2014-07-15 18:52:14 +02:00
Vincent Herbet
14600c0980 Merge pull request #45 from patrig/patch-10
Update languages.txt
2014-07-15 18:51:59 +02:00
Vincent Herbet
965f479bad Merge pull request #44 from patrig/patch-9
Update imessage.txt
2014-07-15 18:51:46 +02:00
Vincent Herbet
ab12ed6275 Merge pull request #43 from patrig/patch-8
Update common.txt
2014-07-15 18:51:28 +02:00
Vincent Herbet
8e0609e3ad Merge pull request #41 from patrig/patch-6
Update antiflood.txt
2014-07-15 18:51:07 +02:00
Vincent Herbet
2d0479bb07 Merge pull request #42 from patrig/patch-7
Update cmdmenu.txt
2014-07-15 18:50:47 +02:00
Vincent Herbet
320eede0a4 Merge pull request #40 from patrig/patch-5
Update adminvote.txt
2014-07-15 18:50:29 +02:00
Vincent Herbet
f496dc5bff Merge pull request #39 from patrig/patch-4
Update adminslot.txt … …
2014-07-15 18:50:10 +02:00
Danil
d31cc7adbb Update pausecfg.txt
Update restmenu.txt …

Just do later completed yet. need to run
2014-07-15 16:55:19 +06:00
Danil
091a685d75 Update restmenu.txt
Add Russian language ...
2014-07-15 16:26:39 +06:00
Danil
357258c46e Update admincmd.txt
Add Russian language ...
2014-07-15 16:14:25 +06:00
Danil
c3eef5df05 Update telemenu.txt
Add Russian language ...
2014-07-15 16:00:24 +06:00
Danil
e46b5fc132 Update time.txt
Add Russian language ... Thanks NiHiLaNTh
2014-07-15 15:57:04 +06:00
Danil
982c3ae3bd Update timeleft.txt
Add Russian language ...
2014-07-15 15:53:20 +06:00
Danil
b06baffb06 Update scrollmsg.txt
Add Russian language ...
2014-07-15 15:50:50 +06:00
Danil
9be1e63080 Update plmenu.txt
Add Russian language ...
2014-07-15 15:48:34 +06:00
Danil
e190309f4e Update nextmap.txt
Add Russian language ...
2014-07-15 15:34:39 +06:00
Danil
bf210cd080 Update multilingual.txt
Add Russian language ...
2014-07-15 15:33:37 +06:00
Danil
08968e2130 Update miscstats.txt
Add Russian language ...
2014-07-15 15:31:32 +06:00
Danil
7e29c62e18 Update menufront.txt
Add Russian language ...
2014-07-15 15:15:41 +06:00
Danil
3ffd04b12d Update mapsmenu.txt
Add Russian language ...
2014-07-15 15:11:50 +06:00
Danil
76d30f2e5b Update mapchooser.txt
Add Russian language ...
2014-07-15 15:06:09 +06:00
Danil
d196fcf32c Update languages.txt
Add Russian language ...
2014-07-15 15:01:00 +06:00
Danil
41175ce3e9 Update imessage.txt
Add Russian language ...
2014-07-15 14:56:59 +06:00
Danil
d6acb22582 Update common.txt
Add Russian language ...
2014-07-15 14:55:04 +06:00
Danil
4a7c0bb9ea Update cmdmenu.txt
Add Russian language ...
2014-07-15 14:44:20 +06:00
Danil
bb222d1f33 Update antiflood.txt
Add Russian language ...
2014-07-15 14:42:14 +06:00
Danil
ba5a0fccbf Update adminvote.txt
Add Russian language ...
2014-07-15 14:40:15 +06:00
Danil
9197fd38b1 Update adminslot.txt … …
Add Russian language ...
2014-07-15 14:16:43 +06:00
Danil
34a8576eca Update adminhelp.txt …
Add Russian language ...
2014-07-15 14:14:07 +06:00
Danil
699f324716 Update admin.txt
Add Russian language ...
2014-07-15 13:20:46 +06:00
Freeman-AM
e53c30bacf hlsdk_const.inc : Add iuser1 constants 2014-07-08 12:58:12 +02:00
Arkshine
287f471ac4 Regex: Remove regex_match_ex and RegexError tag, change regex_match_all to use flags and update documentation.
- regex_match_ex was kind of duplicated.
- regex_match_all uses now integer flags (header like regex_compiler_ex)
- Removed RegexError tag to allow old natives to use these constants without mismatch tag error.
- Made all error params optional
2014-07-08 00:08:35 +02:00
Arkshine
a44d20b26b Regex: Add regex_match_all_c and regex_match_all natives (by Nextra) 2014-07-07 20:49:38 +02:00
Arkshine
08475bb0cc Regex: Update documentation + add regex_match_simple stock. 2014-07-06 12:23:22 +02:00
Arkshine
f9503cb98a Regex: Add regex_compile_ex and regex_match_ex natives.
Purpose is to use the PCRE flags and error num directly.
Harcoding flags letters is really not readable and friendly.
Also this makes error params optionnal.
2014-07-05 12:21:36 +02:00
Arkshine
6c4cb27d3e Cstrike: Implement CS_OnBuyAttempt forward. 2014-07-04 10:41:13 +02:00
Vincent Herbet
17f2006f38 Merge pull request #17 from Freeman-AM/master
Telemenu: Some bug fixes and small improvements
2014-07-03 23:11:21 +02:00
Freeman-AM
18b91278db Telemenu: Remove ducking feature for Natural Selection because of incompatibilities
The main reason to remove this feature and let it behave like normal in Natural Selection is the fact that, in this game, there is different classes. Humans can crouch when some (small) aliens can't and normally never get the FL_DUCKING flag.
There is a small chance to create a teleportion point ducking as human and teleport an alien who will get an unsual flag for an alien.

So to don't mess with the game, this feature is disabled.
2014-07-03 22:19:20 +02:00
Vincent Herbet
006e6e967a Fix array size typo in timeleft.sma plugin
Reported by CryWolf through private message (thanks!).
As note, typo was inserted in last commit (3abd842).
2014-06-24 23:31:16 +02:00
9iky6
c7bdddfda3 Update plmenu.sma 2014-06-22 15:59:21 +06:00
Vincent Herbet
e166c37d22 Merge pull request #27 from xPaw/patch-lang
Fix some languages
2014-06-17 13:50:41 +02:00
Vincent Herbet
8764321c8d Fix typos in cstrike.inc (related to #25) 2014-06-08 19:58:18 +02:00
xPaw
fd144a6b5b Add missing [sr] translations, thanks Gasa 2014-06-07 22:54:43 +03:00
xPaw
363f1be4a5 Add missing [ro] translations, thanks knif3vitalii 2014-06-06 18:25:21 +03:00
xPaw
2e6dc308a8 🔥 Remove backwards compatible CreateMultiForwardEx 2014-06-05 23:33:45 +03:00
xPaw
2696f0af0e 🔥 Remove compatibility stuff from the core 2014-06-05 23:00:47 +03:00
xPaw
e3e3d8a255 🔥 Remove NS2AMX utility backwards compatibility 2014-06-05 17:18:25 +03:00
xPaw
66281d81b3 Add missing [cz] translations, thanks Backstabnoob 2014-06-05 15:43:18 +03:00
xPaw
0de8abc342 Add missing [de] translation in multilingual, thanks Mordekay 2014-06-05 15:40:42 +03:00
xPaw
ae9315ad48 🔥 Remove amxmod compatability
This doesn't remove anything from the engine
2014-06-05 13:48:56 +03:00
xPaw
a58c2b0f94 💄 Remove invalid token from statscfg 2014-06-05 13:22:42 +03:00
xPaw
7167663160 💄 Fixed translation tokens in stats_dod
Blame whoever copypasted all strings from miscstats
2014-06-05 13:20:22 +03:00
xPaw
95c2e82543 Fix some languages 2014-06-05 12:02:29 +03:00
Vincent Herbet
08378eed4b Merge pull request #25 from Arkshine/feature-client_buy-forward
Implement CS_OnBuy forward + Do some clean up (bug 5906)
2014-06-03 10:20:13 +02:00
Arkshine
2595fbe764 Cstrike: Remove unused defines and fix typo. 2014-06-03 10:05:56 +02:00
Arkshine
9d99863c7e Cstrike: Add CSW_SHIELDGUN constant (valid CS value) 2014-05-30 16:56:26 +02:00
Arkshine
f130a8ea89 Cstrike: Implement CS_OnBuy forward. 2014-05-30 16:54:36 +02:00
Vincent Herbet
a828ee8fda Merge pull request #21 from Nextra/newmenus
Newmenus: Add menu timeouts (+ extra bugfix)
2014-05-27 12:31:30 +02:00
Valentin Grünbacher
c91d67912b Newmenus: Update MENU_TIMEOUT doc 2014-05-27 10:32:28 +02:00
Freeman-AM
94e0021e78 Telemenu: Fix a typo error 2014-05-25 11:50:11 +02:00
Freeman-AM
1b4d0c7965 Telemenu: Remove some TAB before comments for readability 2014-05-24 18:35:06 +02:00
Freeman-AM
2ca61e2de2 Telemenu: Fix bad array usage 2014-05-24 18:30:02 +02:00
Freeman-AM
aa67fae7b9 Telemenu: Fix some bugs and add some improvements
Bugfixes
- a typo error induced by me, id instead of player
- The second teleportation way of this plugin can only be done when the menuactor is not alive.
There is no crouch in death mod or spectator mod, so i remove this useless call. (Line 134 - 139)
Improvements :
- Check mod VEC_DUCK_VIEW only one time.
- Removal of code duplication
2014-05-24 15:53:30 +02:00
Valentin Grünbacher
ff18b03250 Newmenus: Add MEXIT_FORCE for proper exit button on non-paginated menus 2014-05-21 22:18:48 +02:00
Valentin Grünbacher
3b87c428dc Newmenus: Add necessary API changes for newmenu timeouts 2014-05-21 19:17:04 +02:00
Freeman-AM
44b4ff6f05 Telemenu: Fix view_ofs not correctly set at teleportation 2014-05-21 00:59:48 +02:00
Freeman-AM
d3bae33c64 Telemenu: Plugin style compliancy 2014-05-19 14:03:31 +02:00
Freeman-AM
914ae9e0d1 Telemenu: Improve ducking feature
Apply ducking state on teleported player only when the teleportation point is saved by a ducking player.
This feature fix possibles errors that could happen with games that don't use crouch, like ESF, NNK...
And for game like Counter-Strike 1.6, this is more logic.
2014-05-19 13:52:21 +02:00
Scott Ehlert
7ae802d736 Fix compile.sh script for OS X. 2014-05-18 20:37:44 -05:00
Freeman-AM
b3d1b49fab Telemenu: Switch format to formatex 2014-05-18 16:20:40 +02:00
Freeman-AM
a6e3b57848 Telemenu: Add charsmax in place of hardcoded buffer lengths 2014-05-18 16:11:13 +02:00
Freeman-AM
7007105150 Telemenu: Add the ability to save the view and use it during teleportation 2014-05-18 15:58:53 +02:00
Freeman-AM
9c93cd1283 Telemenu: Add the ability to teleport in crouched areas 2014-05-18 15:32:45 +02:00
Freeman-AM
d2f909981a Telemenu: Use of float version of origin natives instead of integer version 2014-05-18 15:23:40 +02:00
Vincent Herbet
7e6812f64a Merge pull request #10 from Arkshine/client_printex
Add client_printex Stock (bug 5828)
2014-05-13 14:33:23 +02:00
Arkshine
1c13d0dd6b Use a more standard if conditionnal way. 2014-05-13 14:09:45 +02:00
Arkshine
c5c2721e60 Fix missing Float tag in some DoD forwards headers. 2014-05-12 16:40:19 +02:00
Arkshine
5f210d3404 Append a note about usage of the new buffer size (related to ce4ef6e272) 2014-05-08 16:18:50 +02:00
Arkshine
f5921a3535 Refactor code
It would seem I was wrong (was I drunk?). It doesn't support custom
message using formating (%s).
This simplifies things, as this stock is now meant to be used only on
predefined message.

* If not a predefined message, we redirect to client_print, as there is
more checks and can deal with ML.
* If length goes above known limits, we redirect to client_print to be
cut properly.
* Changed MSG_ONE to MSG_UNRELIABLE and MSG_ALL to MSG_BROADCAST.
* Updated documention.
2014-05-05 20:42:51 +02:00
Arkshine
f691d2ed79 Fix english 2014-05-05 00:59:36 +02:00
Vincent Herbet
60f54ee691 Merge pull request #9 from Nextra/statsx-lang
StatsX Language/Translation Update (bug 3040)
2014-05-04 20:15:22 +02:00
Arkshine
d0b335dc6e Add missing 'stock' keyword. 2014-05-04 18:32:15 +02:00
Valentin Grünbacher
25f507c5e3 StatsX: Add is_user_alive check to eventSpawn 2014-05-04 17:04:01 +02:00
Valentin Grünbacher
2fb232ee68 StatsX: Use replace_string and set task timer to 0.1 (AMXX minimum) 2014-05-04 17:03:59 +02:00
Valentin Grünbacher
90c4eed92e StatsX: More charsmax in place of hardcoded buffer lengths 2014-05-04 17:03:58 +02:00
Valentin Grünbacher
bf4ba091e4 StatsX: cmdReport has to use LANG_SERVER 2014-05-04 17:03:57 +02:00
Valentin Grünbacher
c19b9d9d5d StatsX: Switch spawn detection from ResetHUD to Ham_Spawn 2014-05-04 17:03:56 +02:00
Valentin Grünbacher
5143cada8e StatsX: Don't format roundend hudstats if we don't show them 2014-05-04 17:03:55 +02:00
Valentin Grünbacher
f630a8afc8 StatsX: Format team score (g_sScore) on demand 2014-05-04 17:03:54 +02:00
Valentin Grünbacher
ccd0adb84d StatsX: Actually use cached player id in end_game_stats 2014-05-04 17:03:53 +02:00
Valentin Grünbacher
4afefa25d1 StatsX: Format roundend stats for each player individually 2014-05-04 17:03:52 +02:00
Valentin Grünbacher
4de2bf21a3 StatsX: Remove implicit usages of global buffers for formatting 2014-05-04 17:03:51 +02:00
Valentin Grünbacher
136309ae6f StatsX: Move hudstats formatting to own function 2014-05-04 17:03:50 +02:00
Valentin Grünbacher
12d2e49adf StatsX: Rip out LANG_SERVER where possible (still pass 0 as id) 2014-05-04 17:03:48 +02:00
Valentin Grünbacher
85bb592eeb StatsX: Switch cvar access to pcvars 2014-05-04 17:03:47 +02:00
Valentin Grünbacher
164285b221 StatsX: Switch from using defines to charsmax 2014-05-04 17:03:46 +02:00
Valentin Grünbacher
297ced77b9 StatsX: Switch format to formatex 2014-05-04 17:03:45 +02:00
Arkshine
0c1931284e Clean up include file. 2014-05-03 23:50:43 +02:00
Arkshine
9ac3763267 Add iterators natives 2014-05-03 23:21:56 +02:00
Arkshine
b6cd247d12 Add new 'replace' and 'size' paramaters in some natives.
Fix some typos
Update the test plugin
2014-05-03 22:36:40 +02:00
Arkshine
f3bce9ecfd Add TrieGetSize native. 2014-05-03 16:09:31 +02:00
Arkshine
d933783629 Switch trie_natives off KTrie 2014-05-03 13:22:48 +02:00
Arkshine
3b0ce189ea Add print_radio constant (counter-strike only) 2014-05-02 19:13:38 +02:00
Arkshine
9a2bce66fd Add client_printex stock 2014-05-02 19:13:15 +02:00
Arkshine
9c191949d8 Add amxclient_cmd native (bug 5887, r=Nextra) 2014-05-02 09:16:16 +02:00
Arkshine
d3f22d2089 Add support for bot without "player" classname in Hamsandwich (bug 6111, r=ds) 2014-05-01 10:21:46 +02:00
Arkshine
6eb10a5f5a Missing modification on a86ca1491 2014-04-30 16:11:27 +02:00
Arkshine
ce4ef6e272 Increase get_amxstring buffer size (bug 5901, r=ds) 2014-04-30 15:22:55 +02:00
Arkshine
a86ca1491f Add new string natives/stocks, make some UTF-8 safe (bug 6110, r=ds) 2014-04-30 09:33:03 +02:00
Arkshine
3d732bbbb6 Added SQL_SetCharset native to (re)set character set (bug 5999, r=ds). 2014-04-18 22:04:32 +02:00
Lev
19e160117f Directly kick players rather than use a loopback command (bug 5946, r=arkshine) 2014-04-16 17:27:20 +02:00
Arkshine
f78fda6d9c Add new CellArray natives: Clone/Resize/FindString/FindValue (bug 6104, r=ds) 2014-04-15 10:34:48 +02:00