Commit Graph

1722 Commits

Author SHA1 Message Date
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