Commit Graph

1679 Commits

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