Commit Graph

1517 Commits

Author SHA1 Message Date
0cf5a2e12f Expose ParseFile_INI to API.
Some minor changes have been made in parser:

- Added ReadINI_ParseStart and ReadINI_ParseEnd call.
- Function returns SMCResult instead of bool. To avoid unecessary complexity and duplicating natives, this feels more appropriate to let these functions to share some SMCResult and SMCParse constants. Since properly documented, this should be ok.
- Made sure curtok is set to 0 when ptr_val is null, otherwise unexpected value would be passed into the forward.
2014-08-06 09:17:45 +02:00
9af7931a79 Introduce TextParser API. 2014-08-06 09:17:43 +02:00
023c1e3baf Geoip: Fix missing continent id and fix indentation. 2014-08-05 23:00:00 +02:00
17e0ab99e6 Geoip: Update documentation. 2014-08-05 20:12:20 +02:00
d2ed9e70cd Geoip: Add an optional parameter in some natves to get a result in player's language.
This is new with Geoip2 database where some entries, like country, city, etc, are translated in several languages.
So far: de, en, es, fr, ru, pt-BR, zh-CN.
2014-08-05 20:09:16 +02:00
abaee9f4a3 Geoip: Add geoip_continent_name() native. 2014-08-05 20:08:30 +02:00
fc19f53ea9 Geoip: Add geoip_continent_code() native. 2014-08-05 20:08:28 +02:00
81d56dfdc0 Geoip: Add geoip_distance() native. 2014-08-05 20:08:27 +02:00
6941e406f4 Geoip: Add geoip_latitude() and geoip_longitude() natives. 2014-08-05 20:08:25 +02:00
b439753ac5 Geoip: Add geoip_timezone() native. 2014-08-05 20:08:24 +02:00
c11f721ad4 Geoip: Add geoip_region_name() native. 2014-08-05 20:08:22 +02:00
b61ed9fa3e Geoip: Add geoip_region_code() native. 2014-08-05 20:08:20 +02:00
95bc1703a6 Geoip: Add geoip_city() native. 2014-08-05 20:08:19 +02:00
f787db1be5 Update license headers for plugins and includes. 2014-08-04 13:18:41 -05:00
c219878ac2 Remove XS__LIBRELEASE and tabs so docgen can catch the stocks 2014-08-03 22:26:54 +03:00
69371d6d6d Merge pull request #96 from xPaw/inc
Fix some comments
2014-08-02 18:18:27 +02:00
c068c0d0f4 Fix some comments 2014-08-02 19:12:32 +03:00
e7b7506efa Introduce API to create Stack structures 2014-08-01 23:14:44 +02:00
5689be448c Merge pull request #35 from Freeman-AM/master
hlsdk_const.inc : Add iuser1 constants
2014-08-01 19:12:16 +02:00
7aa895089a hlsdk_const.inc : modification of constants description. 2014-08-01 19:09:47 +02:00
5ef5f4b41f hlsdk_const.inc : modification of constants description. 2014-08-01 18:53:19 +02:00
600e5dce97 hlsdk_const.inc : modification of constants description. 2014-08-01 18:18:56 +02:00
47dc226393 Merge pull request #76 from Arkshine/improve-cellarray
Update dynamic Array.
2014-08-01 18:03:53 +02:00
eabafd4eed Fix typo, documention and others issues. 2014-08-01 09:21:26 +02:00
f1b2c802e6 Fix of a possible buffer overflow 2014-07-30 22:43:26 +02:00
6040dbfbb9 Fix compilation. 2014-07-30 10:19:41 +02:00
0de8ee48d0 Replaced sizeof(str)-1 and magic nums with charsmax 2014-07-29 16:32:32 +02:00
f1e07caca4 Fix compilation. 2014-07-29 12:22:32 +02:00
0365676262 Merge pull request #88 from xPaw/client-cmd-be-g
Remove some client_cmd
2014-07-29 12:15:20 +02:00
c084965cf1 Remove some client_cmd 2014-07-29 13:13:39 +03:00
b4365e3fb9 Merge pull request #87 from xPaw/what-is-this
Instead of assigning FCVAR_PROTECTED to cvars after startup, register cv...
2014-07-28 23:41:40 +02:00
0e0d7ec9d5 Instead of assigning FCVAR_PROTECTED to cvars after startup, register cvars with said flag 2014-07-29 00:33:08 +03:00
ab46adc91c Trim target in amx_ban to prevent bypassing equali checks 2014-07-29 00:00:07 +03:00
919af60ca9 Merge pull request #85 from xPaw/missing-tr
Add missing [tr] translations
2014-07-28 21:45:14 +02:00
437ce48f42 Add missing [tr] translations 2014-07-28 22:40:38 +03:00
16d19097c5 Merge pull request #84 from xPaw/amx-help
Replace hardcoded defines in adminhelp with cvars
2014-07-27 15:05:44 +02:00
fea209fa7f Replace hardcoded defines in adminhelp with cvars 2014-07-27 15:59:09 +03:00
8d719e1191 Merge pull request #83 from xPaw/leet-speek-can-go-to-hell
Remove leet speak
2014-07-27 13:09:44 +02:00
d2595b8b92 Merge pull request #31 from xPaw/burn-baby-burn
Remove compatibility stuff from the core
2014-07-27 12:07:58 +02:00
fecf24ebfd Add missing [tr] translation in time.txt 2014-07-27 13:05:06 +03:00
d65cedf8c7 Remove leet speak 2014-07-27 13:03:23 +03:00
88042ce5a9 Merge pull request #82 from xPaw/ml-plugin-update
Multilingual plugin update
2014-07-27 11:57:51 +02:00
dff6dc53f4 Use formatex and charsmax 2014-07-27 12:51:36 +03:00
87c0be470b Merge pull request #80 from xPaw/package-script
Package script fixes
2014-07-27 11:44:56 +02:00
499b5a1ac8 Use MAX_PLAYERS 2014-07-27 12:37:58 +03:00
c5ba642630 Change zeroes to manual in predefined version.inc 2014-07-27 11:43:50 +03:00
ef1e1edea5 Update copyright year 2014-07-27 11:22:40 +03:00
57a1004c15 Replace svn_version with default amxmodx_version which should get replaced by AMBuild regardless 2014-07-27 11:07:13 +03:00
1d17835e9a Update multilingual plugin
- User pcvars
- Remove vault usage
- Remove amx_setlang (not very useful, it's covered by the cvar now)
- Remove server language from the menu (covered by the cvar now)
- Add a cvar for previously hardcoded DISPLAY_MSG
2014-07-27 10:54:46 +03:00
aa37e7f4e8 Update statsx.sma 2014-07-26 21:30:45 +06:00