Search found 19 matches
- Sun Oct 23, 2016 2:28 am
- Forum: Plugin Development Support
- Topic: [CSGO] How can I disable the new client-side landing animation?
- Replies: 2
- Views: 5321
[CSGO] How can I disable the new client-side landing animation?
I'm trying to disable the new client-side camera animation that occurs when a player falls from a height or simply jumps. I dug around through some properties and found that setting m_bClientSideAnimation to False disables the camera animation but also introduces a number of other funny issues, such...
- Tue Jul 12, 2016 7:37 pm
- Forum: Plugin Development Support
- Topic: [CS:S] PreEvent player_death calling after death
- Replies: 10
- Views: 11866
Re: [CS:S] PreEvent player_death calling after death
I want to remove any weapons that are dropped manually or on death to prevent spam. drop_weapon is what I was looking for, thanks @EntityPreHook(EntityCondition.is_player, 'drop_weapon') def pre_drop_weapon(args) : if args[1] : weapon = make_object(Weapon, args[1]) we...
- Tue Jul 12, 2016 6:42 pm
- Forum: Plugin Development Support
- Topic: [CS:S] PreEvent player_death calling after death
- Replies: 10
- Views: 11866
[CS:S] PreEvent player_death calling after death
@PreEvent('player_death') def pre_player_death(game_event) : player = Player.from_userid(game_event['userid']) if player.dead : print('player dead already') I'm trying to destroy a player's weapons before death but the weapons are dropped befo...
- Sat Jul 02, 2016 10:30 pm
- Forum: Plugin Development Support
- Topic: [CS:S] m_flStamina not found
- Replies: 3
- Views: 5585
Re: [CS:S] m_flStamina not found
That's good to know, thanks again
- Wed Jun 29, 2016 5:25 am
- Forum: Plugin Development Support
- Topic: [CS:S] m_flStamina not found
- Replies: 3
- Views: 5585
[CS:S] m_flStamina not found
Player().get_property_float/set_property_float is giving me
Is there another way I should get to m_flStamina?
Code: Select all
ValueError: Property 'm_flStamina' not found for entity type 'player'
Is there another way I should get to m_flStamina?
- Mon Jun 27, 2016 11:23 pm
- Forum: Plugin Development Support
- Topic: Fixed rotation on beam sprites?
- Replies: 2
- Views: 4153
Re: Fixed rotation on beam sprites?
I'll give it a shot, thanks!
- Thu Jun 23, 2016 5:44 pm
- Forum: Plugin Development Support
- Topic: Fixed rotation on beam sprites?
- Replies: 2
- Views: 4153
Fixed rotation on beam sprites?
I'm trying to draw beams so that the texture always faces up rather than the default billboard rotation but I'm not sure where to start, or if it's possible. I'm hoping somebody here might know
- Tue Jun 21, 2016 2:44 am
- Forum: Plugin Development Support
- Topic: How to get value of Server.time?
- Replies: 2
- Views: 4134
Re: How to get value of Server.time?
L'In20Cible wrote:Server is the class, not an object.Notice the first letter.Syntax: Select all
from engines.server import server
time = server.time
print(time)
Ah I see, thanks
- Tue Jun 21, 2016 2:11 am
- Forum: Plugin Development Support
- Topic: How to get value of Server.time?
- Replies: 2
- Views: 4134
How to get value of Server.time?
Syntax: Select all
from engines.server import Server
time = Server.time
print(time)
output:
Code: Select all
<property object at 0x...>
Is there a way I can get the value of Server.time?
- Wed Jun 15, 2016 11:35 pm
- Forum: Plugin Development Support
- Topic: [CSGO] Unable to send VGUIMenu
- Replies: 5
- Views: 7461
Re: [CSGO] Unable to send VGUIMenu
No luck there, the menu doesn't show at all. I'll probably avoid this vgui panel entirely for CS:GO :(
Thanks for the support Ayuto & iPlayer
Thanks for the support Ayuto & iPlayer
- Tue Jun 14, 2016 9:40 pm
- Forum: Plugin Development Support
- Topic: [CSGO] Unable to send VGUIMenu
- Replies: 5
- Views: 7461
Re: [CSGO] Unable to send VGUIMenu
Ah cool, that works. It's a little buggy though unfortunately. Is there something more reliable for displaying static text by chance?
- Tue Jun 14, 2016 8:55 pm
- Forum: Plugin Development Support
- Topic: [CSGO] Unable to send VGUIMenu
- Replies: 5
- Views: 7461
[CSGO] Unable to send VGUIMenu
Hello, I'm trying to send a simple VGUIMenu but nothing shows up and no errors are logged. Here's the snippet: from commands.typed import TypedSayCommand from messages import VGUIMenu @TypedSayCommand('page') def cmd_page(cmdInfo) : subkeys = { 'title': 'some titl...
- Sun May 29, 2016 10:13 pm
- Forum: Plugin Development Support
- Topic: CS:GO server_cvar event for created ConVar
- Replies: 2
- Views: 4840
Re: CS:GO server_cvar event for created ConVar
Gotcha, thanks 

- Sun May 29, 2016 9:13 pm
- Forum: Plugin Development Support
- Topic: CS:GO server_cvar event for created ConVar
- Replies: 2
- Views: 4840
CS:GO server_cvar event for created ConVar
Is there a way for the server_cvar event to work with custom created cvars?
- Tue May 24, 2016 6:55 pm
- Forum: Plugin Development Support
- Topic: CS:GO SayText/SayText2 not sending
- Replies: 2
- Views: 4178
Re: CS:GO SayText/SayText2 not sending
Working now, thanks again!
- Tue May 24, 2016 5:57 pm
- Forum: Plugin Development Support
- Topic: CS:GO SayText/SayText2 not sending
- Replies: 2
- Views: 4178
CS:GO SayText/SayText2 not sending
Calling send() on SayText & SayText2 doesn't show anything in chat. No errors or logs are popping up anywhere, is there a special function for calling SayText in CS:GO?
Code: Select all
msg = SayText2("Some message");
msg.send();
- Tue May 24, 2016 5:49 pm
- Forum: General Discussion
- Topic: CSGO Windows - Failed to load the main module
- Replies: 2
- Views: 5218
Re: CSGO Windows - Failed to load the main module
Working now, thanks!
- Tue May 24, 2016 3:00 pm
- Forum: General Discussion
- Topic: CSGO Windows - Failed to load the main module
- Replies: 2
- Views: 5218
CSGO Windows - Failed to load the main module
May 22nd build. Previous builds seem to work Seeded random number generator @ 1085550446 ( 5.631 ) Failed to load gamerulescvars.txt, game rules cvars might not be reported to management tools. Server is hibernating No web api auth key specified - workshop downloads will be disabled. CResponseSystem...
- Sun Oct 04, 2015 8:11 pm
- Forum: Plugin Development Support
- Topic: What IDE do you use?
- Replies: 5
- Views: 7767
What IDE do you use?
Hello folks, C# developer here. I discovered SourcePython just today and it has me intrigued. A few months back I searched for a SM alternative with no luck before I began development on some plugins. Well, it's too late to turn back now and port my plugins to SourcePython, but I think any future de...