Nicholas Hastings
56210f3e96
Quote custom vote winning value (bug 6578).
2017-01-21 22:57:37 -05:00
Nicholas Hastings
5519dd0a14
Do case-insensitive compare when filtering password vars in votes (bug 6578).
2017-01-21 22:38:38 -05:00
Nicholas Hastings
7589c6c578
Quote args in amx_addban, amx_unban, & amx_exec (bug 6578).
2017-01-21 22:36:57 -05:00
Vincent Herbet
9b3839de70
Fix missing CS_NORESET constant ( #400 )
2017-01-10 18:51:41 +01:00
IgnacioFDM
3e660011b2
Fix typo in TE_STREAK_SPLASH description ( #398 )
2017-01-06 21:05:36 +01:00
Evandro Coan
615ecdf7f3
Fixed grammar for Start Voting mapsmenu.txt lang ( #393 )
...
This is bad, what it currently means `Votacao Iniciada` (Votação Iniciada) in english is `The voting has been started`, instead of `Start voting`.
The translator translate it back as `Voting Started`.
Translator link: https://translate.google.com.br/#pt/en/Vota%C3%A7%C3%A3o%20Iniciada
2017-01-01 11:28:11 +01:00
Karol Szuster
e95099817b
Allow execute forwards without need to create variable for returned value ( #382 )
...
We don't need to create variable to store value returned by forward when we ignore it.
2016-09-01 10:37:14 +02:00
IgnacioFDM
732a05dde0
Back out changes in #366 and introduce read_argv_int/float()
...
* Revert "Extend "read_argv" native"
This reverts commit aaa2934595
.
This broke binary compatibility with either older, already compiled
plugins, or newly compiled plugins if you forgot to update .inc headers.
This happened because read_argv used to receive maxlen by value, and
after
this commit it receives it by reference. This causes read_argv either
to fail, or worse, to buffer overflow, resulting in a security vulnerability.
Newly introduced functionality for read_argv should be added with a new,
separate native.
* Add "read_argv_int" & "read_argv_float" natives
2016-08-31 20:34:02 +02:00
voed
575d215c77
Fixed some natives descriptions
2016-06-14 04:49:46 +03:00
Vincent Herbet
f3c58b7cd6
Merge pull request #369 from Ni3znajomy/forwards/value-by-reference
...
Values by reference in forwards
2016-06-05 19:50:40 +02:00
Vincent Herbet
2628ce8664
Merge pull request #349 from Arkshine/feature/command-ml
...
Add a param to register_*cmd() and get_*cmd() to indiquate info is a multilingual key + modify plugin
2016-04-16 13:12:21 +02:00
Arkshine
9054643fe8
Add a param to register_*cmd() and get_*cmd() to indiquate info is a multilingual key + modify plugin
2016-04-16 11:56:49 +02:00
Karol Szuster
53f9144fc3
Values by reference in forwards
2016-04-05 18:51:18 +02:00
Karol Szuster
aaa2934595
Extend "read_argv" native
2016-03-28 20:05:56 +02:00
Karol Szuster
5ad1efd698
Fix description of "set_user_info" native
2016-03-23 17:27:15 +01:00
Karol Szuster
5a3f4be04e
message_stocks.inc: Cache messages id
2016-03-20 13:04:48 +01:00
Vincent Herbet
62a7fe0be5
Merge pull request #342 from Arkshine/feature/cs_get_item_alias
...
Add cs_get_item_alias(), improve cs_get_item_id() & cleanup alias datas
2016-03-16 15:15:00 +01:00
Arkshine
c3a52b366e
Add cs_get_item_alias() native & cleanup alias datas
2016-03-16 12:29:33 +01:00
Arkshine
be06e2448b
Add fmt() native to format and return inline a string
2016-02-23 19:56:02 +01:00
Karol Szuster
cb87fa12e1
Add extra parameters to cs_get_user_weapon native
...
Add clip & ammo as optional as get_user_weapon native has
2016-02-17 20:46:42 +01:00
Arkshine
2928c622f9
Add cs_set_ent_class native
2016-02-09 11:27:02 +01:00
Vincent Herbet
209ff4d527
Merge pull request #339 from IgnacioFDM/fix-whitespace
...
Normalize line endings and whitespace
2016-01-23 22:56:46 +01:00
Vincent Herbet
fa7391e814
Merge pull request #330 from WPMGPRoSToTeMa/csgetuserweapon
...
Add cs_get_user_weapon_entity() and cs_get_user_weapon() natives
2016-01-23 17:53:54 +01:00
IgnacioDM
e502e12e07
Normalize line endings and whitespace
2016-01-16 21:15:52 -03:00
WPMGPRoSToTeMa
b85b37192e
New natives: cs_get_user_weapon_entity and cs_get_user_weapon
2016-01-06 23:10:31 +03:00
Arkshine
17a31b75d7
Add enable/disable_logevent() natives
2015-12-24 19:08:00 +01:00
Vincent Herbet
01d703cdbb
Merge pull request #323 from luxxxoor/patch-1
...
Adding flag parameter to user_silentkill.
2015-12-24 14:45:45 +01:00
Karol Szuster
62a5c54a18
Add client_connectex & extend client_authorized forward
2015-12-22 16:36:51 +01:00
luxxxoor
892f0519ad
Adding flag parameter to user_silentkill.
...
The api says that the user_silentkill() "Kills a user without a message.", that means it is just user_kill() without sending deathmsg.
But user_silentkill() automatically kills player without affecting the client's score (and that is not mentioned in api), so i'll add a second parameter to user_silnetkill() to let user to decide if he want to kill a player without or not affecting the table.
New parameter has the default value 1, so it won't break the compatibility.
2015-12-20 01:02:39 +02:00
Arkshine
a445e806ea
Cstrike: Refactor - Simplify forwards logic, fix and improve few things
...
- The logic around CS_OnBuy forward has been simplified. Since there is no way to have a consistent way to hook/block for all items, the new logic is to have as less as possible code, especially in blocking mode where we want to avoid to do extra stuffs (e.g blocking sound, event, etc).
* All guns + shield -> CanBuyThis()
* Nvgs and Fefuser only -> CanPlayerBuy()
* The others items -> GiveNamedItem() + AddAccount()
* Ammos -> -> BuyGunAmmo() + GiveNamedItem() + AddAccount()
- Fixed missing buyzone check when alias from console are used (CS_OnBUy* were incorrectly fired).
- Fixed an infinite loop when buying of ammos are blocked. Sorted by hooking BuyGunAmmo().
- Fixed blocking mode for some items. Some game behaviors were not blocked (e.g. weapon drop).
- Fixed forwards being triggered even though errors were found. Detours are now a destroyed and associated variables resetted when necessary. Toggling forwards state is now based on detours state.
- Moved things in its own functions (game functions to execute, class members retrieval)
- Renamed CommandAliases -> ItemInfos (more generic)
2015-11-21 00:13:06 +01:00
Arkshine
e87976bc09
Cstrike: Remove CS_OnGetItemPrice forward (reverted from commit 33a7d74b6da2ca4dcb621e9b306c386ba040571e)
...
This is actually not possible to have a proper system to allow this.
This is two majors problems:
- The item price text can't be changed, whatever old and VGUI menu (it's either harcoded in config file or in client binary)
- Once you open VGUI menu, to know if user has enough money to select an item, client relies on the current HUD money value, this means, since we can't directly changed price, before opening the menu, money needs to be somehow faked and restored once closed. It's awful.
Overall it can't work properly, and at the end current forward doesn't make sense.
If an author wanted to have its own prices, the only only way would to force players to use old menu, then overwriting the whole buy menu, so you would be able to display what you want exactly.
2015-11-03 10:45:50 +01:00
Arkshine
ffe8b7761e
Cstrike: Move CSW_* constants from amxconst.inc to cstrike_const.inc
2015-11-03 10:45:49 +01:00
Arkshine
2c5cc4289e
Cstrike: Add cs_is_valid_itemid() stock
2015-11-03 10:45:49 +01:00
Arkshine
75853dae60
Cstrike: Add cs_find_ent_by_owner() native
2015-11-03 10:45:48 +01:00
Arkshine
23b0450938
Cstrike: Add cs_get_weapon_class() stock (weapon id -> class id)
...
Note: this has been modified a bit later in cs_is_valid_itemid() commit.
2015-11-03 10:45:47 +01:00
Arkshine
600a15a57b
Cstrike: Add cs_get_weapon_info() native
2015-11-03 10:45:47 +01:00
Arkshine
60cdbeb219
Cstrike: Add CS_OnGetItemPrice forward to get/alter an item price on purchase
2015-11-03 10:45:46 +01:00
Arkshine
e6a2434887
Cstrike: Add cs_get_item_id() and cs_get_translated_item_alias() natives
2015-11-03 10:45:45 +01:00
Arkshine
c6628f22ee
Cstrike: Add more known constants from game
2015-11-03 10:45:44 +01:00
Arkshine
d3e5957215
Cstrike: Add cstrike_const.inc and move existing constants there
2015-11-03 10:45:44 +01:00
Arkshine
dc6f171f20
Refactor 2 - Duplicate get_member_* for each set of natives for consistency
2015-11-02 20:10:38 +01:00
Arkshine
02c1b20ed7
Rename get_ent_data_size/info/basetype to be more generic
2015-11-02 20:10:37 +01:00
Arkshine
68f99bc2d5
Add get/Set_gamerules_* natives
2015-11-02 20:10:37 +01:00
Arkshine
16f65663dc
Add new natives to read/write on entity's private data based off class/member name available from gamedata files
2015-09-19 20:07:48 +02:00
Vincent Herbet
57a5004f4e
Fix typo
...
Related to #266 . Looks like I've changed the prefix afterward at some point for some reason, but engine is retarded and with `plugin.something.cfg` it will understand extension is `something` instead of `cfg` ; and will fail to execute as it's an invalid extension (only `cfg` and `rc` are allowed).
2015-09-05 08:42:31 +02:00
Vincent Herbet
224239f5a1
Merge pull request #266 from Arkshine/feature/autoexeccfg
...
Introduce automatic config file for plugins and two forwards
2015-08-26 10:42:59 +02:00
Arkshine
5b8bbddbc1
AutoExecConfig: Adjust few things
2015-08-26 10:38:31 +02:00
Iván Lo Giudice
f95f2032fc
Update cstrike.inc
2015-08-22 17:51:48 -03:00
Arkshine
1f3ba35140
AutoExecConfig: Remove config code in admin.sma
2015-08-14 16:38:28 +02:00
Arkshine
1f3c7cf272
AutoExecConfig: Update documentation
2015-08-14 16:38:28 +02:00
Arkshine
ed4faf7c11
Fix player not being internally disconnected in some situation + add client_disconnected forward
2015-08-14 00:08:50 +02:00
Arkshine
6d6a1c1ab0
Add a data argument in INI/SMC_ParseFile() to pass through to callbacks (bug 6228)
2015-07-29 22:23:13 +02:00
Arkshine
df5d935194
Add enable/disable_event() native
2015-07-20 23:06:32 +02:00
Arkshine
662fa61fc7
Cstrike: Fix typos and improve things
2015-07-15 16:40:07 +02:00
Arkshine
dcc2d91b14
Cstrike: cs_get_user_driving - Add the associated constants from HLSDK
2015-07-14 19:44:10 +02:00
Arkshine
86e33d0cb1
Cstrike: cs_set_user_model - Add a param to choose whether modelindex should be updated
2015-07-14 19:44:10 +02:00
Arkshine
1ed354890b
Cstrike: Add CSI_SHIELD for convenience and fix typos
2015-07-14 19:44:08 +02:00
Arkshine
939aad5cb9
Cstrike: cs_set_user_team - Add a param to choose whether TeamInfo message should be sent
2015-07-14 19:44:08 +02:00
Arkshine
63a0910f5b
Cstrike: cs_get/set_armoury_type - Add a param to get/set the number of weapons inside an armoury
2015-07-14 19:44:06 +02:00
Arkshine
81f9a23d16
Cstrike: cs_get_user_armor - Make optional armortype param
2015-07-14 19:44:06 +02:00
Arkshine
7842d0160b
Cstrike: cs_set_weapon_silen - Add a new value for draw_animation to follow game behavior
...
- Player's model sequence will be properly played
- Disallow firing while animation is playing
2015-07-14 19:44:06 +02:00
Arkshine
87d740b92a
Cstrike: Add CZ support for some hostage natives
2015-07-14 19:44:05 +02:00
Arkshine
b82588f081
Cstrike: cs_set_user_deaths - Add a param to choose whether scoreboard should be updated
2015-07-14 19:44:04 +02:00
Vincent Herbet
139a2a082c
Merge pull request #254 from Arkshine/feature/gameconfig
...
Implement a game config parser and expose functionnalities to the module/plugin API
2015-07-11 13:19:09 +02:00
Arkshine
f38c726faf
Gameconfig: Add game configs natives
2015-07-11 13:16:45 +02:00
DmitriyS
e98ab37806
fix memory leaks
2015-07-11 00:39:34 +03:00
Vincent Herbet
846238fe99
Merge pull request #250 from Nextra/enginew
...
Engine Update
2015-07-02 18:43:35 +02:00
WPMGPRoSToTeMa
391991bfce
https://bugs.alliedmods.net/show_bug.cgi?id=6372 bugfix
2015-06-15 18:54:29 +03:00
Vincent Herbet
b364506cbc
Merge pull request #241 from luxxxoor/patch-2
...
Update cmdmenu.sma
2015-05-17 20:10:22 +02:00
luxxxoor
b77c8e253b
Update cmdmenu.sma
...
Changed format with formatex where needed, removed many hardcoded contents in plugin and added semicolons.
2015-05-17 19:50:42 +03:00
Valentin Grünbacher
679714c8be
Engine: Add error path for remove_entity() and unsafe entity ids
2015-05-11 16:15:43 +02:00
Valentin Grünbacher
ff0ca9ba67
Engine: Remove inconsistent error path from entity_get_int()
2015-05-11 16:15:42 +02:00
Valentin Grünbacher
ee0bcc39f1
Engine: Clarify difference between the engine module trace handle and the "real" global trace
2015-05-11 16:15:42 +02:00
Valentin Grünbacher
3c1022af99
Engine: Add a destination parameter to trace_hull() to make it more useful
2015-05-11 16:15:42 +02:00
Valentin Grünbacher
add4867d21
Engine: Add safe get_global_edict2() and entity_get_edict2()
2015-05-10 23:56:06 +02:00
Valentin Grünbacher
d69fddf8b4
Engine/Core: Move precache_event() to core
2015-05-10 23:45:01 +02:00
Valentin Grünbacher
218fb9c794
Engine: Add unregister_[touch|think|impulse]()
2015-05-10 23:40:22 +02:00
Vincent Herbet
c5f6e26802
Merge pull request #239 from Nextra/inc-doc3
...
Update include documentation #3 (mostly engine.inc)
2015-05-10 17:12:50 +02:00
Valentin Grünbacher
fbcbbd8421
hlsdk_const: Add MoveToOrigin move type constants
2015-05-10 14:37:40 +02:00
Valentin Grünbacher
00f9b62ffb
cstrike: Add create_entity() note from engine, rewording
2015-05-10 14:37:39 +02:00
Valentin Grünbacher
59d8d2807f
engine_const: Add sections and comments
2015-05-10 14:37:36 +02:00
Valentin Grünbacher
d9f792b712
engine: Add documentation, group similar natives
2015-05-10 14:37:16 +02:00
Valentin Grünbacher
fdb180e062
Add NULL_VECTOR
2015-05-06 11:28:54 +02:00
Vincent Herbet
39cc240a4e
Merge pull request #240 from Nextra/kvd
...
Improve handling of KeyValueData
2015-05-05 12:01:29 +02:00
Valentin Grünbacher
79189c86ab
Add basic kvd doc to fakemeta.inc and fix ham_const.inc lies
2015-05-05 11:16:26 +02:00
Valentin Grünbacher
8172519389
Improve handling of KeyValueData in FM and make it compatible with Ham
...
- KVD_Wrapper compatibility with Ham by making |&kvdw == &kvdw.kvd|
- Replaces g_kvd_hook with a generic g_kvd_ext to support raw KVD from Ham
- Adds create_kvd() and free_kvd() so plugins have something to feed Ham with
2015-04-21 00:18:21 +02:00
Vincent Herbet
cc11191e57
Merge pull request #236 from Arkshine/fix/missing-sqlite-charset
...
Fix missing SQL_SetCharset native in SQLite
2015-04-20 22:47:16 +02:00
Arkshine
871e14178b
Fix a tag typo in datapack.inc
2015-04-19 19:58:57 +02:00
Arkshine
b88841c6ef
Fix missing SQL_SetCharset native in SQLite
2015-04-12 21:08:03 +02:00
Valentin Grünbacher
a35bc43cab
datapack.inc: Fix copy-pasted error description
2015-04-06 13:33:55 +02:00
Vincent Herbet
044e6b22b2
Merge pull request #233 from Ni3znajomy/update-copyright-year
...
Update copyright year
2015-03-30 13:44:55 +02:00
Vincent Herbet
0b2c33bcd2
Merge pull request #231 from Nextra/datapack-update
...
Datapack update
2015-03-30 13:43:50 +02:00
Valentin Grünbacher
081b683e03
Update datapack test plugin
2015-03-30 04:14:55 +02:00
Valentin Grünbacher
9abe6cd8f6
Add IsPackEnded native (IsPackReadable replacement)
2015-03-30 04:14:54 +02:00
Ni3znajomy
92c2c84617
Update copyright year
2015-03-29 20:01:25 +02:00
Vincent Herbet
a59b72f96a
Merge pull request #229 from Arkshine/feature/trans-format-and-native
...
Add %l format specifier and SetTranslationTarget() native (bug 6331)
2015-03-26 22:54:11 +01:00
Arkshine
8831166705
Add %l format specifier and SetTranslationTarget() native
2015-03-26 22:42:55 +01:00
Vincent Herbet
69d41b65d4
Merge pull request #227 from Freeman-AM/plmenu-update
...
Plmenu: improve readability, more compliance to amxmodx style, small improvements
2015-03-26 21:32:39 +01:00
Freeman-AM
f44ec00133
Plmenu: rollback macros
2015-03-26 21:17:46 +01:00
Arkshine
52c73126e1
VFS: Fix various things
...
- The "ALL" fake pathID is replaced by what does SM, having a public var NULL_STRING which will acts as NULL when needed.
To make compiler accepting public array, this patch was needed: https://hg.alliedmods.net/sourcemod-central/rev/b12f329def09
- The offset thing in read_dir: considering that's something very specific to this native and that implementation in CDirectory doesn't make sense because of the offset compatibility for windows, all code is now in the native.
2015-03-25 13:50:07 +01:00
Arkshine
ba11085ddc
VFS: Add constant in pawn include to define max path
2015-03-22 11:14:13 +01:00
Arkshine
71ab8d560e
VFS: Add more sane FileRead/Write* natives to read/write a single value
2015-03-22 11:14:12 +01:00
Arkshine
a580c8c5e5
VFS: Add SetFilePermissions native
2015-03-22 11:13:36 +01:00
Arkshine
0eeb5942a1
VFS: Reflect changes in natives and documentation
2015-03-22 11:12:21 +01:00
Freeman-AM
c156c220c4
Replace some arrays by bitfield macros
2015-03-21 16:14:14 +01:00
Freeman-AM
5413c59bc7
plmenu: improve readability, more compliance to amxmodx style
2015-03-21 13:54:39 +01:00
9iky6
463de74865
Update message_const.inc
2015-03-12 22:50:49 +05:00
9iky6
c2a21bcaee
Add_SVC_Messages
...
add svc messages id to use hardcode (dont relize, only for alliedmodders dev team view)
2015-03-12 20:54:03 +05:00
xPaw
0ccb99137a
Make spcomp2 cry less
2015-03-11 15:19:27 +02:00
Arkshine
48d6a3354a
Normalize all the line endings
2015-03-10 16:51:45 +01:00
Vincent Herbet
014120e73e
Merge pull request #215 from xPaw/no-version-check
...
Remove version checks from all include files
2015-03-10 01:02:05 +01:00
Vincent Herbet
73cf46ff45
Merge pull request #216 from luxxxoor/patch-1
...
Some missing charsmax and more readability.
2015-03-10 00:27:35 +01:00
luxxxoor
205a0eb2da
admincmd.sma: Missing charsmax and more readability.
...
Fix charsmax and more readability
2015-03-09 23:35:04 +02:00
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