amxmodx/modules
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
..
cstrike Cstrike: Remove CS_OnGetItemPrice forward (reverted from commit 33a7d74b6da2ca4dcb621e9b306c386ba040571e) 2015-11-03 10:45:50 +01:00
dod Fix some natives relying on a known engine bug related to last player's edict being invalid 2015-10-06 17:19:01 +02:00
engine Consistency: Replace INDEXENT2 with HLTypeConversion in engine module 2015-10-07 23:27:57 +02:00
fakemeta Refactor 5 - Rename original file/var for gamerules 2015-11-02 20:10:40 +01:00
fun Consistency: Replace GETEDICT, INDEXENT2 and others things with HLTypeConversion in hamsandwich module 2015-10-08 19:24:49 +02:00
geoip Fix max length inconsistencies + typo 2015-10-05 19:12:30 +02:00
hamsandwich Consistency: Replace GETEDICT, INDEXENT2 and others things with HLTypeConversion in hamsandwich module 2015-10-08 19:24:49 +02:00
mysqlx Remove UTIL_Format() and UTIL_VarArgs() 2015-10-05 19:12:08 +02:00
ns Fix max length inconsistencies + typo 2015-10-05 19:12:30 +02:00
nvault Remove UTIL_Format() and UTIL_VarArgs() 2015-10-05 19:12:08 +02:00
regex Fix AMBuild and VS projects files 2015-10-02 23:22:22 +02:00
sockets Fix AMBuild and VS projects files 2015-10-02 23:22:22 +02:00
sqlite Remove UTIL_Format() and UTIL_VarArgs() 2015-10-05 19:12:08 +02:00
tfcx Fix some natives relying on a known engine bug related to last player's edict being invalid 2015-10-06 17:19:01 +02:00
ts Fix AMBuild and VS projects files 2015-10-02 23:22:22 +02:00