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
Arkshine
d0b335dc6e
Add missing 'stock' keyword.
2014-05-04 18:32:15 +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
Arkshine
f78fda6d9c
Add new CellArray natives: Clone/Resize/FindString/FindValue (bug 6104, r=ds)
2014-04-15 10:34:48 +02:00
Arkshine
b3609a23fa
Add missing magic tag in include file (previous patch). For some reason my change was ignored.
2014-04-11 23:02:46 +02:00
Arkshine
8a1464ac41
Introduce DataPacks (bug 5885, r=ds)
2014-04-11 22:57:42 +02:00
Arkshine
5468e9745c
Add set/show_dhudmessage (bug 5979, r=ds)
2014-04-11 21:54:24 +02:00
Arkshine
f097e01c3f
Fix typo in previous commit.
2014-04-10 12:55:58 +02:00
Arkshine
1a7daad657
Update globally Hamsandwich module (bug 5611, r=sawce)
2014-04-09 16:44:02 +02:00
DynamicBits
1503a6571f
Fix TFC_PC_CIVILIAN value (bug 6042, r=arkshine)
2014-03-22 16:59:15 +01:00
Vincent Herbet
5dc96ddf47
Add strtof native (bug 5909, r=Nextra)
2014-03-20 18:21:38 +01:00
Vincent Herbet
f520a39c89
Add DMG_GRENADE constant (bug 6030, r=arkshine)
2014-03-20 18:14:31 +01:00
David Anderson
e2855dee7d
Undo vim modelines.
2014-02-09 23:49:19 -08:00
David Anderson
aa46469878
Add new variants of strbreak, which is too broken to use.
2014-02-09 23:40:45 -08:00
David Anderson
1f15fdd6cb
Update versioning for AMBuild and git.
...
Former-commit-id: ea473061ef
2014-02-08 20:37:33 -08:00
Vincent Herbet
878d68bb21
Backed out changeset: 2bc36c43b15f
...
Former-commit-id: 0f14674ff1
2013-09-10 09:04:52 +02:00
Vincent Herbet
af0a1200ab
Add client_print_color native (CS only) (bug 5823, r=Nextra)
...
Former-commit-id: 9e37c60bc5
2013-08-24 01:03:13 +02:00
Lev
d9fb9bac09
Add assign operator for floats to allow implicit int-to-float conversion (bug 3997, r=dvander)
...
Former-commit-id: 04b6a21f23
2013-08-24 00:42:16 +02:00
connorr
784f91e441
Add a new access level flag 'v' for temporary bans (bug 3218, r=arkshine)
...
Former-commit-id: d09b92cf6c
2013-08-16 18:49:55 +02:00
Vincent Herbet
ddacdb0ab2
Add set_ent_rendering native (bug 5773, r=Nextra)
...
Former-commit-id: d322cd2e79
2013-08-10 14:16:26 +02:00
Nextra
917c52ec96
Add ewrite_[coord_f/angle_f], write_[coord_f/angle_f] and [e]message_begin_f natives (bug 5829, r=arkshine)
...
Former-commit-id: 34ab529d53
2013-08-10 10:22:38 +02:00
Vincent Herbet
0afe87be0a
Add get_map_objectives native for CS (bug 5820, r=Nextra)
...
Former-commit-id: 47487a4aa7
2013-08-08 19:11:12 +02:00
Vincent Herbet
7e11cb5cc1
Add has_map_ent_class native (bug 5814, r=Nextra)
...
Former-commit-id: bfa749105f
2013-08-07 16:40:37 +02:00
connorr
5557124f05
Add an additionnal note to reflect change in 436d02c3ec30
...
Former-commit-id: 3ceb00dfdd
2013-08-05 19:12:16 +02:00
connorr
a459f578fa
Set set_user_rendering default color/amount to 0 to follow game behavior (bug 5772, r=arkshine)
...
Former-commit-id: b9d6327829
2013-08-05 19:00:51 +02:00
connorr
98f8602c59
Set set_hudmessage default channel to -1 to reflect auto-channeling support (bug 5771, r=arkshine)
...
Former-commit-id: 418023ed91
2013-08-05 18:54:19 +02:00
Vincent Herbet
5a6d3fde61
Add ArraySortEx/SortADTArray natives and new sort method Sort_Random (bug 5494, r=Nextra)
...
Former-commit-id: 1ff337d980
2013-08-05 16:56:59 +02:00
Nextra
eb43b69e4d
Add strtok2 which fixes a trim issue with strtok (bug 3993, r=arkshine)
...
Former-commit-id: ad9e3ad972
2013-07-31 23:40:49 +02:00
Nextra
e4d74f199f
Fix re-entrancy issue when a [generated] message is sent during register_event forward (bug 3664, r=joropito)
...
Former-commit-id: 163098892c
2013-07-27 20:49:19 +02:00
Vincent Herbet
0dd14eed43
Add ability to text formatting to set_fail_state (bug 5800, r=me)
...
Former-commit-id: 2af8a27164
2013-07-27 20:33:17 +02:00
Vincent Herbet
93339d9be4
Add client_cmdStart forward (bug 5779, r=me)
...
Former-commit-id: 785ce1ea81
2013-07-03 01:00:52 +02:00
Vincent Herbet
6c2655c841
Comply to AMXX style for more consistency in a4e667e91410
...
Former-commit-id: 6a989a1857
2013-07-02 23:32:22 +02:00
Vincent Herbet
1e7a4d2727
Comply to AMXX style for more consistency in 47c47df488e8
...
Former-commit-id: f9deb552af
2013-07-02 23:31:27 +02:00
Vincent Herbet
6912199ae0
Comply to AMXX style for more consistency in 8f3605ea03d5
...
Former-commit-id: 3075e0b375
2013-07-02 23:13:26 +02:00
Vincent Herbet
83e70d7dd7
Add [Get|Set]ModelCollisionBox and [Get|Set]ModelBoundingBox (bug 3527, r=joropito)
...
Former-commit-id: 4d174007b1
2013-07-02 20:48:18 +02:00
Vincent Herbet
c0fcf06c96
Add [get|set]_pdata_[bool|byte|short|vector|ehandle] and set_pdata_ent (bug 5770, r=joropito)
...
Former-commit-id: da3d13a9c0
2013-07-02 16:05:39 +02:00
Nextra
21a00e00a2
Add menu_addblank2 and menu_addtext2 to fix unexpected behavior with the original ones when slot=1 (bug 3096, r=Arkshine)
...
Former-commit-id: b4f84a5cee
2013-07-02 14:54:07 +02:00
Vincent Herbet
1026edec6c
Add new register_event flags to filter humans and bots (bug 5768, r=me)
...
Former-commit-id: 15b0fba122
2013-07-02 11:22:43 +02:00
Vincent Herbet
e409a6cf23
Fix typo in 3bcba0ef360b
...
Former-commit-id: 4fcf93afb9
2013-06-29 12:31:08 +02:00
Vincent Herbet
873fb6924f
Add strtol native (bug 3233, r=joropito)
...
Former-commit-id: 9508f9f86d
2013-06-27 18:55:19 +02:00
Vincent HERBET
e5864c5abf
Add GetFileTime returning a file timestamp as a unix timestamp (bug 4543, r=joropito)
...
Former-commit-id: cf7b8645fa
2013-06-21 23:09:41 +02:00
Vincent Herbert
4e81779adb
Fix native_filter documentation (bug 5692, r=me)
...
Former-commit-id: b44616576f
2013-06-15 22:37:52 +02:00
Fysiks
a26a98cb98
Fix incorrect result for replace_all (bug 5064, r=dvander).
...
Former-commit-id: e3824c4c87
2013-02-13 00:40:57 -08:00
Scott Ehlert
40c1fee55a
Added support for Mac OS X and building with clang (bug 5601, r=dvander).
2013-02-13 01:14:37 -06:00
fezh cs
26d2a4f877
Add documentation to set_view (bug 4065, r=dvander).
2010-12-12 18:24:30 -08:00
Fysiks
76d407b45a
Fix menu_create() documentation (bug 4426, r=dvander).
2010-09-11 22:33:57 -05:00
David Anderson
73e3e52057
Updated version files for HG.
2010-04-04 17:22:45 -07:00
David Anderson
0f8c61c1e1
Re-added fflush function (bug 3355, r=sawce).
2009-02-07 23:43:07 +00:00
David Anderson
0b4f28fecf
SQL_QuoteString can now be used without a DB handle (bug 3427, r=sawce).
2009-01-08 20:02:09 +00:00
David Anderson
cdf3807955
Bumped version numbers.
2008-08-17 00:50:57 +00:00
David Anderson
6486c56a15
Bumped versions.
2008-08-16 22:47:59 +00:00
Steve Dudenhoeffer
0a38ef831f
Fix for amb1647: brush origin retrieval was wrong
2008-05-07 05:17:21 +00:00
Steve Dudenhoeffer
f410ea743d
Added part of amb1604: unregister_message - OH GOD I HOPE I DIDNT BREAK IT
2008-04-29 02:18:39 +00:00
Steve Dudenhoeffer
9100ec753c
Added amb1167: menu_addtext(menu, const text[], slot=1)
2008-04-27 19:19:53 +00:00
Steve Dudenhoeffer
4049a0c3be
Initial addition of ns_remove_upgrade (amb1635): oh god I hope this will suffice
2008-04-26 21:40:56 +00:00
Steve Dudenhoeffer
86ea50dfdd
amb1624: revision 3234 was accidentally undone
2008-04-26 08:18:34 +00:00
Steve Dudenhoeffer
53ed817183
Added amb1600: trie natives
2008-04-14 19:52:11 +00:00
Steve Dudenhoeffer
375d6aa0da
Added amb1263: A new flag in users.ini, 'k' implies name/tags are case sensitive
2008-03-30 19:28:36 +00:00
Steve Dudenhoeffer
5e9e119c76
Fix for amb1545: show_activity was ignoring the last client
2008-03-30 07:36:10 +00:00
Steve Dudenhoeffer
2a383feef6
added amb1290: Invalid_Array handle in cellarray.inc
2008-03-30 07:26:59 +00:00
Steve Dudenhoeffer
4c79232f17
Fix for amb1199 - incorrect comment for Ham_DOD_RoundRespawnEnt
2008-03-04 19:21:09 +00:00
Steve Dudenhoeffer
16720a2f70
Fix for amb1343 - show_activity() had a messed up vformat() call
2008-03-04 19:18:17 +00:00
Steve Dudenhoeffer
b0286c9c4d
Half-fix for amb1218 - typo in ns.inc
2008-03-04 18:55:54 +00:00
David Anderson
afd1072583
fixed amb1049 - sloppy TraceResult namings
2007-11-15 18:08:15 +00:00
David Anderson
cc99d6d1fb
finalized build numbers and all that other release crap
2007-10-26 02:23:21 +00:00
David Anderson
36241e2905
updated revision numbers
2007-10-26 00:28:17 +00:00
David Anderson
a86b1c5097
added amb281 - multiple result sets for MySQL
2007-10-22 21:31:02 +00:00
David Anderson
b7f8503655
added amb844 - get_pdata_ent
2007-10-22 19:52:06 +00:00
David Anderson
468e6fb9dd
added amb909 - LoadFileForMe()
2007-10-22 19:26:45 +00:00
David Anderson
50bbefa3ba
fixed amb1023 - register_library had an outdated comment
2007-10-22 19:00:25 +00:00
David Anderson
26f1c8dec7
clarified menu_create and its handler
2007-09-02 18:52:24 +00:00
David Anderson
a749aad1b4
- inserted a nasty backwards compatibility shim specifically for war3ft 3.0-rc. this may be extended globally if i can find a way to generalize it without breaking menu_create().
...
- updated comment about player_menu_info() as it was wrong.
2007-09-02 18:35:53 +00:00
David Anderson
d163ead2ac
it helps, just a bit, to actually commit the file
2007-08-16 19:09:49 +00:00
David Anderson
8298158f08
newmenu stuff is now in its own nice callback. yay
2007-08-16 19:07:59 +00:00
Steve Dudenhoeffer
643ddc18be
Removed erroneous default values for pdata string natives.
2007-08-16 17:13:07 +00:00
Steve Dudenhoeffer
0bb430b3eb
Reverted amb149
2007-08-16 15:16:41 +00:00
Scott Ehlert
e6663991a7
All include files should be semicolon-correct now
2007-08-10 04:52:12 +00:00
Steve Dudenhoeffer
62c41fbd03
Removed semi colon pragma
2007-08-10 03:41:59 +00:00
Steve Dudenhoeffer
76a7cafe50
Changed the new %S format option to %a to hopefully prevent some confusion.
2007-08-08 02:40:40 +00:00
Steve Dudenhoeffer
544d2dedef
moved mkdir from amxmodx.inc to file.inc
2007-08-07 00:54:22 +00:00
Steve Dudenhoeffer
1721383237
Fix for amb736 - find_entity defined twice
2007-08-05 11:23:02 +00:00
Steve Dudenhoeffer
2efc82ea59
Included fakemeta_util for convenience.
2007-08-04 03:59:56 +00:00
Steve Dudenhoeffer
a95658bd2d
Added hamsandwich include files to back include directory
2007-08-04 03:55:42 +00:00
Steve Dudenhoeffer
ffb8fc683b
Implemented amb291 - cs_{set,get}_c4_defusing()
2007-08-03 19:11:47 +00:00
Steve Dudenhoeffer
2bc6d965f6
Fix for amb437
...
dod_set_user_kills & dod_set_user_score no longer have the dead scoreboard class side effect.
dod_set_pl_deaths comment has been updated to reflect the side effect.
2007-08-03 17:35:12 +00:00
Steve Dudenhoeffer
747d326ed5
Implemented amb216 - SQL_MakeStdTuple now has an optional timeout parameter.
2007-08-03 15:52:35 +00:00
Steve Dudenhoeffer
15b62648c9
Implemented amb307 - admincmd now caches a few of the last connections.
...
amx_addban changed back to ADMIN_BAN. Users without RCON access will only be able to ban those in the old connection cache. Users with RCON access still have unrestricted access to amx_addban.
The old connection cache can be viewed with amx_last (ADMIN_BAN access required by default).
2007-08-03 15:26:22 +00:00