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
WPMGPRoSToTeMa
b85b37192e
New natives: cs_get_user_weapon_entity and cs_get_user_weapon
2016-01-06 23:10:31 +03: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
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
d3e5957215
Cstrike: Add cstrike_const.inc and move existing constants there
2015-11-03 10:45:44 +01:00
Iván Lo Giudice
f95f2032fc
Update cstrike.inc
2015-08-22 17:51:48 -03: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
Valentin Grünbacher
00f9b62ffb
cstrike: Add create_entity() note from engine, rewording
2015-05-10 14:37:39 +02:00
xPaw
0ccb99137a
Make spcomp2 cry less
2015-03-11 15:19:27 +02: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
Valentin Grünbacher
bc9710e8f2
inc-doc2 nits/finishing touches
2015-03-09 19:41:21 +01:00
Valentin Grünbacher
50fea6be75
cstrike/csx/csstats: Added documentation, consistency updates, typo fixes
2015-03-09 19:41:18 +01:00
xPaw
379d9121b4
Remove version checks from all include files
2015-02-25 00:56:17 +02:00
Arkshine
4ceb767022
Add error messages and fix documentation
2015-01-31 14:45:37 +01:00
Arkshine
c87d46ad5b
Add cs_find_ent_by_class and fix documentation
2015-01-30 15:53:25 +01:00
Arkshine
2446ff49f2
Add cs_create_entity native
2015-01-29 20:43:01 +01:00
Scott Ehlert
f787db1be5
Update license headers for plugins and includes.
2014-08-04 13:18:41 -05:00
Arkshine
6c4cb27d3e
Cstrike: Implement CS_OnBuyAttempt forward.
2014-07-04 10:41:13 +02:00
Vincent Herbet
8764321c8d
Fix typos in cstrike.inc (related to #25 )
2014-06-08 19:58:18 +02:00
Arkshine
2595fbe764
Cstrike: Remove unused defines and fix typo.
2014-06-03 10:05:56 +02:00
Arkshine
f130a8ea89
Cstrike: Implement CS_OnBuy forward.
2014-05-30 16:54:36 +02:00
Steve Dudenhoeffer
ffb8fc683b
Implemented amb291 - cs_{set,get}_c4_defusing()
2007-08-03 19:11:47 +00:00
Scott Ehlert
e34120803d
Implemented request amb242: added cs_get/set_user_hostagekills() natives
2007-05-01 21:38:39 +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
f6f6bcc356
added a note to hostage natives for CZ
2006-09-10 04:36:44 +00:00
Borja Ferrer
afe7df87d2
Added request am40169
2006-08-20 00:20:47 +00:00
David Anderson
4fe8c71d62
Added request am41375 (animation toggling on silenced weapons)
2006-08-18 20:12:20 +00:00
Scott Ehlert
895039308f
Added CZ models to CsInternalModel enum (request at41295)
2006-07-13 03:07:24 +00:00
Scott Ehlert
bb609123fb
Fixed comment next to zoom type enum
2006-06-12 10:08:54 +00:00
Borja Ferrer
d4bfddc034
added 2 new natives
2006-06-10 20:46:12 +00:00
Borja Ferrer
e6064af9fb
added request at30290 (VEN)
...
fixed cs_get_user_buyzone returning true when user was in bombtarget zone or other specific areas
2006-05-26 18:26:59 +00:00
David Anderson
25d4b6aea3
added these include files k
2006-05-10 10:42:49 +00:00
Scott Ehlert
6733ef9a79
Two extra params in cs_set_user_vip for determining whether or not model and scoreboard are updated at28699
2006-05-02 21:48:26 +00:00
David Anderson
71c023f485
added CS_TEAM_UNASSIGNED at vittu's request
2006-02-11 22:57:34 +00:00