Search found 19 matches

by Jake
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: 3365

[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...
by Jake
Tue Jul 12, 2016 7:37 pm
Forum: Plugin Development Support
Topic: [CS:S] PreEvent player_death calling after death
Replies: 10
Views: 6687

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...
by Jake
Tue Jul 12, 2016 6:42 pm
Forum: Plugin Development Support
Topic: [CS:S] PreEvent player_death calling after death
Replies: 10
Views: 6687

[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...
by Jake
Sat Jul 02, 2016 10:30 pm
Forum: Plugin Development Support
Topic: [CS:S] m_flStamina not found
Replies: 3
Views: 3419

Re: [CS:S] m_flStamina not found

That's good to know, thanks again
by Jake
Wed Jun 29, 2016 5:25 am
Forum: Plugin Development Support
Topic: [CS:S] m_flStamina not found
Replies: 3
Views: 3419

[CS:S] m_flStamina not found

Player().get_property_float/set_property_float is giving me

Code: Select all

ValueError: Property 'm_flStamina' not found for entity type 'player'


Is there another way I should get to m_flStamina?
by Jake
Mon Jun 27, 2016 11:23 pm
Forum: Plugin Development Support
Topic: Fixed rotation on beam sprites?
Replies: 2
Views: 2539

Re: Fixed rotation on beam sprites?

I'll give it a shot, thanks!
by Jake
Thu Jun 23, 2016 5:44 pm
Forum: Plugin Development Support
Topic: Fixed rotation on beam sprites?
Replies: 2
Views: 2539

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
by Jake
Tue Jun 21, 2016 2:44 am
Forum: Plugin Development Support
Topic: How to get value of Server.time?
Replies: 2
Views: 2546

Re: How to get value of Server.time?

L'In20Cible wrote:Server is the class, not an object.

Syntax: Select all

from engines.server import server

time = server.time
print(time)
Notice the first letter.


Ah I see, thanks
by Jake
Tue Jun 21, 2016 2:11 am
Forum: Plugin Development Support
Topic: How to get value of Server.time?
Replies: 2
Views: 2546

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?
by Jake
Wed Jun 15, 2016 11:35 pm
Forum: Plugin Development Support
Topic: [CSGO] Unable to send VGUIMenu
Replies: 5
Views: 4632

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
by Jake
Tue Jun 14, 2016 9:40 pm
Forum: Plugin Development Support
Topic: [CSGO] Unable to send VGUIMenu
Replies: 5
Views: 4632

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?
by Jake
Tue Jun 14, 2016 8:55 pm
Forum: Plugin Development Support
Topic: [CSGO] Unable to send VGUIMenu
Replies: 5
Views: 4632

[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...
by Jake
Sun May 29, 2016 10:13 pm
Forum: Plugin Development Support
Topic: CS:GO server_cvar event for created ConVar
Replies: 2
Views: 3111

Re: CS:GO server_cvar event for created ConVar

Gotcha, thanks :smile:
by Jake
Sun May 29, 2016 9:13 pm
Forum: Plugin Development Support
Topic: CS:GO server_cvar event for created ConVar
Replies: 2
Views: 3111

CS:GO server_cvar event for created ConVar

Is there a way for the server_cvar event to work with custom created cvars?
by Jake
Tue May 24, 2016 6:55 pm
Forum: Plugin Development Support
Topic: CS:GO SayText/SayText2 not sending
Replies: 2
Views: 2606

Re: CS:GO SayText/SayText2 not sending

Working now, thanks again!
by Jake
Tue May 24, 2016 5:57 pm
Forum: Plugin Development Support
Topic: CS:GO SayText/SayText2 not sending
Replies: 2
Views: 2606

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();
by Jake
Tue May 24, 2016 5:49 pm
Forum: General Discussion
Topic: CSGO Windows - Failed to load the main module
Replies: 2
Views: 3524

Re: CSGO Windows - Failed to load the main module

Working now, thanks!
by Jake
Tue May 24, 2016 3:00 pm
Forum: General Discussion
Topic: CSGO Windows - Failed to load the main module
Replies: 2
Views: 3524

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...
by Jake
Sun Oct 04, 2015 8:11 pm
Forum: Plugin Development Support
Topic: What IDE do you use?
Replies: 5
Views: 4452

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...

Go to advanced search