Commit Graph

576 Commits

Author SHA1 Message Date
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
Steve Dudenhoeffer
b09bf4c532 Work around for amb228 - amxmod_compat caused set_user_hitzones to stop functioning.
Any plugins being emulated by amxmod_compat that still use the traceline forward will still cause the issue, but if no plugins use that forward it won't interfere.

(also, plugin_flags() can now specify a plid)
2007-08-03 06:48:08 +00:00
Steve Dudenhoeffer
e254ef6b15 Added ns_get_user_team for a replacement for get_user_team. 2007-08-03 02:57:59 +00:00
Steve Dudenhoeffer
7038305812 Merged ns plugins / include files to trunk.
(ns/unstuck doesn't require engine any more)
2007-08-02 16:37:57 +00:00
Steve Dudenhoeffer
48022d3c5c Implemented amb673 - pre-compiled regular expression support.
Also commented in the include file a bit better.
2007-08-01 17:36:10 +00:00
Steve Dudenhoeffer
83c82387e3 Changed ArrayGetCell() to return the cell value instead of byreferencing the value. 2007-07-26 16:22:29 +00:00
Steve Dudenhoeffer
9ce9b142e7 Implemented amb397 - amx_add{client}menuitem now accepts filenames as well as registered plugin names
(is_plugin_loaded() now has an optional second parameter to search for filenames)
2007-07-25 18:54:32 +00:00
Steve Dudenhoeffer
d836aeb716 Added some defines for cmd_target's filter system (for less cryptic code)
Changed all immunity obeying commands to allow for self execution - amb633
2007-07-25 18:10:08 +00:00
Steve Dudenhoeffer
a28a80e45f Few additions to fakemeta:
Implemented amb632 - lookup_sequence, also added set_controller (since it dealt with models).

Implemented set_pev_string, for setting with an already allocated string handle.  Also added pev_serial, to get the entity serial number.
2007-07-24 06:05:43 +00:00
Steve Dudenhoeffer
4b02ffa920 Fix for amb519: geoip_code2 and geoip_code3 will overflow the result buffer on an unsuccessful lookup.
Added two replacement natives for those two: geoip_code2_ex and geoip_code3_ex, could not modify the old natives without breaking backwards compatibility.
2007-07-19 18:37:13 +00:00
Scott Ehlert
add02dc55e Fixed amb365 - EF_SetSize() stock had incorrect params 2007-06-05 02:38:48 +00:00
Steve Dudenhoeffer
0c82e09df1 Added amb42 - different amx_show_activity values. 2007-05-24 17:11:11 +00:00
Steve Dudenhoeffer
66feed1d2b Added charsmax() define, as a less typo-prone utility for sizeof(array)-1.
Added any: syntax to all variable args that need it, added proper {Float,_}: tags to some that didn't have it but should have.
2007-05-18 15:20:34 +00:00
Steve Dudenhoeffer
65748001f0 Added FCAP_* constants 2007-05-16 16:28:44 +00:00
Steve Dudenhoeffer
7bb562182f Changed _array_included to _cellarray_included 2007-05-14 22:11:28 +00:00
Steve Dudenhoeffer
77ca104a8d Renamed array.inc to cellarray.inc so that rukia doesn't start hagging about it. 2007-05-14 22:10:13 +00:00
David Anderson
6170cbc95a implemented amb92 2007-05-02 23:11:49 +00:00
Scott Ehlert
e34120803d Implemented request amb242: added cs_get/set_user_hostagekills() natives 2007-05-01 21:38:39 +00:00
Scott Ehlert
897ed0cb10 Implemented request amb237 - added ServerPrint to Fakemeta 2007-04-30 18:29:33 +00:00
David Anderson
2f6bfca68e added CS hook to catch internal bot commands and rebuy commands for players 2007-04-26 19:21:11 +00:00
Steve Dudenhoeffer
68d2b03e48 Added amb37, amb38, amb39 and amb205: various cstrike natives.
(Still need to test)
2007-04-25 15:40:15 +00:00
David Anderson
c957a9db0f Added SQL_QuoteString to include/tests 2007-04-25 13:45:15 +00:00
David Anderson
359b7e25dd added sql_rewind 2007-04-25 13:19:42 +00:00
Steve Dudenhoeffer
d563ecb060 Added pseudo dynamic array natives.
Changed some of the "..." tags to "any".
2007-04-24 16:38:36 +00:00
Steve Dudenhoeffer
201d65749e Added LookupLangKey for the upcoming show_activity changes. 2007-04-20 02:55:59 +00:00
Steve Dudenhoeffer
1ed1d0005c Added menu property to change number color 2007-04-18 04:20:48 +00:00
David Anderson
5d4669d52e implemented amb17
expanded menu tests
deprecated MEXIT_NORMAL, MPROP_ORDER, MPROP_PADMENU
fixed various bugs in PagekeyToItem
2007-04-16 06:58:28 +00:00
Steve Dudenhoeffer
5c68df7ac7 Fixed the damn comments 2007-04-02 18:39:38 +00:00
Steve Dudenhoeffer
81994ecf58 Fix for access() with ADMIN_ALL
Very minor optimization for is_user_admin

(amb81)
2007-03-30 02:04:30 +00:00
Steve Dudenhoeffer
4682cec1cb Documentation fix for amb120 2007-03-30 01:59:57 +00:00