Search found 542 matches
- Tue Aug 14, 2018 11:18 am
- Forum: Plugin Development Support
- Topic: Entity property listener
- Replies: 2
- Views: 3480
Entity property listener
Hello everyone, is it possible to create a "listener" of sorts that will notify all its subscribers whenever the value of a property changes without the use of an OnTick listener and hacking my way around it? Something like: class EntityPropertyListener(object): def __init__(se...
- Sun Aug 12, 2018 12:13 am
- Forum: Plugin Releases
- Topic: [CSGO] Floating Damage Numbers
- Replies: 22
- Views: 73718
Re: [CSGO] Floating Damage Numbers
Nice one!
- Sun Jul 22, 2018 9:39 pm
- Forum: General Discussion
- Topic: Python 3.7 support?
- Replies: 2
- Views: 3502
Re: Python 3.7 support?
Ayuto wrote:No plans have been made yet. We first need to check if the update would increase the versions of the dependencies like glibc. If that is the case, I'm against an update. But that's my personal opinion.
Good point. I agree.
- Fri Jul 20, 2018 4:37 am
- Forum: Plugin Development Support
- Topic: Strange Convar.set_int behavior
- Replies: 2
- Views: 2979
Re: Strange Convar.set_int behavior
Maybe try
Syntax: Select all
from cvars import cvar
cvar.find_var(line).set_int(0)
- Fri Jul 20, 2018 1:15 am
- Forum: Plugin Releases
- Topic: Ultimate Deathmatch v1.9.2
- Replies: 26
- Views: 55079
Re: Ultimate Deathmatch v1.9.1
- Thu Jul 19, 2018 9:00 pm
- Forum: Plugin Requests
- Topic: [CS:S] Trikz
- Replies: 11
- Views: 19765
Re: [CS:S] Trikz
Got it! I used Satoon's script as a template: # ============================================================================ # >> IMPORTS # ============================================================================ # Source.Python # Colors from colors import ORANGE from colors import WHITE # Comma...
- Thu Jul 19, 2018 4:54 pm
- Forum: Plugin Releases
- Topic: Ultimate Deathmatch v1.9.2
- Replies: 26
- Views: 55079
Re: Ultimate Deathmatch v1.9
UDM v1.9 released! Download link: https://github.com/backraw/udm/releases/tag/v1.9 Fixes ⋅ Fix config strings ⋅ Fix and improve weapon silencing ⋅ Fix checking the distance between alive player locations and a potential spawn point ⋅ Fix time penalty string ...
- Wed Jul 18, 2018 9:47 pm
- Forum: Plugin Development Support
- Topic: Set "lastinv"
- Replies: 2
- Views: 2635
Re: Set "lastinv"
L'In20Cible wrote:→ Player.last_weapon
I should've looked through the data files... thank you very much!
- Wed Jul 18, 2018 6:27 am
- Forum: Plugin Development Support
- Topic: Set "lastinv"
- Replies: 2
- Views: 2635
Set "lastinv"
Hi,
is there any way to set the value for lastinv via player.client_command() or something else?
I'm trying to set the property behind it only without causing the player to actually use it like you would withfor example.
Thanks!
is there any way to set the value for lastinv via player.client_command() or something else?
I'm trying to set the property behind it only without causing the player to actually use it like you would with
Syntax: Select all
player.client_command('use weapon_knife', True)
Thanks!
- Tue Jul 17, 2018 9:57 pm
- Forum: General Discussion
- Topic: Python 3.7 support?
- Replies: 2
- Views: 3502
Python 3.7 support?
Hi,
any plans on supporting Python 3.7? I'm particularly interested in data classes.
Edit: I could try myself, if you point me to the right direction. :)
any plans on supporting Python 3.7? I'm particularly interested in data classes.
Edit: I could try myself, if you point me to the right direction. :)
- Sat Jul 14, 2018 2:56 pm
- Forum: Plugin Requests
- Topic: [CS:S] Trikz
- Replies: 11
- Views: 19765
Re: [CS:S] Trikz
I can take a look as well next week.
- Fri Jan 26, 2018 11:26 pm
- Forum: Plugin Development Support
- Topic: How to best set spawn points
- Replies: 8
- Views: 6827
Re: PreHook cancel/modify damage
Thanks guys!
- Fri Jan 26, 2018 2:52 pm
- Forum: Plugin Development Support
- Topic: How to best set spawn points
- Replies: 8
- Views: 6827
Re: PreHook cancel/modify damage
What method do you use to set the location? I'm not quite sure, just the best I guess lol. The best way I have seen to do spawn points isn't to manually set the player's origin on/after spawn, but to remove the old spawn points and create new ones. Is there any reason you can't do that? But this is...
- Mon Jan 22, 2018 10:02 pm
- Forum: Plugin Development Support
- Topic: How to best set spawn points
- Replies: 8
- Views: 6827
Re: PreHook cancel/modify damage
I want to set the player's spawn point as soon as possible in my UDM plugin. Sometimes a player would spawn on a default location and then 'flies' through the map to the new location (but really, really fast). But luckily you don't see it very often. Nonetheless I feel that the event player_spawn is...
- Mon Jan 22, 2018 9:51 pm
- Forum: Plugin Development Support
- Topic: How to best set spawn points
- Replies: 8
- Views: 6827
How to best set spawn points
# Function name, arguments, return type add_account ('POINTER', 'INT', 'BOOL', 'BOOL', 'STRING') VOID add_context ('POINTER', 'POINTER') VOID add_output ('POINTER', 'POINTER') VOID autobuy ('POINTER',) VOID become_ragdoll ('POINTER', 'POINTER') VOID blind ('POINTER', 'FLOAT', 'FLOAT', 'FLOAT') VOID...
- Sat Jan 13, 2018 9:10 pm
- Forum: Plugin Development Support
- Topic: CS:S send Buy Menu anytime/anywhere
- Replies: 4
- Views: 4168
Re: CS:S send Buy Menu anytime/anywhere
Haha okay. Maybe I'll leave it for now. :D
- Sat Jan 13, 2018 7:35 am
- Forum: Plugin Development Support
- Topic: CS:S send Buy Menu anytime/anywhere
- Replies: 4
- Views: 4168
Re: CS:S send Buy Menu anytime/anywhere
I tried two things: ⋅ Modify the existing buyzones (make them bigger). ⋅ Create new buyzones. Unfortunately, both didn't work, so here is the hacky solution: import memory from entities.hooks import EntityPreHook from entities.hooks import EntityCondition from entities.entity im...
- Thu Jan 11, 2018 12:27 pm
- Forum: Plugin Development Support
- Topic: CS:S send Buy Menu anytime/anywhere
- Replies: 4
- Views: 4168
CS:S send Buy Menu anytime/anywhere
Hi, I have a question about the the buy menu in CS:S. I want to simulate the behavior of mp_buy_anywhere for CS:GO. As I see it, those two things contribute to how buying is restricted by time/position in CS:S: ⋅ mp_buytime ⋅ "Range" of each of the func_buyzone entitie...
- Fri Jan 05, 2018 4:07 am
- Forum: Plugin Releases
- Topic: Ultimate Deathmatch v1.9.2
- Replies: 26
- Views: 55079
Re: Ultimate Deathmatch v1.8.5
UDM v1.8.5 released!
Download link: https://github.com/backraw/udm/releases/tag/v1.8.5
Fixes
Download link: https://github.com/backraw/udm/releases/tag/v1.8.5
Fixes
- Fix issue #6
- Wed Dec 27, 2017 4:53 am
- Forum: Plugin Releases
- Topic: Ultimate Deathmatch v1.9.2
- Replies: 26
- Views: 55079