Search found 569 matches
- Wed Nov 18, 2015 7:21 pm
- Forum: Plugin Development Support
- Topic: Questions on working with entities IO calls and keyvalues
- Replies: 19
- Views: 13122
I missed that when you call Entity.call_input with some particular value, the value should match the expected type of the input. For SetHealth it's int, for SetHUDVisibility it's bool. So basically, the above class will only work with either no parameters (,,) or string parameters. Is there no other...
- Tue Nov 17, 2015 4:34 pm
- Forum: Plugin Development Support
- Topic: Csgo motd
- Replies: 21
- Views: 20940
- Tue Nov 17, 2015 3:07 pm
- Forum: Plugin Development Support
- Topic: player.switch_team() second argument
- Replies: 3
- Views: 3303
Thanks, guys.
Indeed, I got that info from this post.
Indeed, I got that info from this post.
- Tue Nov 17, 2015 1:05 pm
- Forum: Plugin Development Support
- Topic: player.switch_team() second argument
- Replies: 3
- Views: 3303
player.switch_team() second argument
Hi there again
So the first argument is the team to move a player to, the third one (boolean) is whether the message should not be printed to chat, but what does the second one stand for?
So the first argument is the team to move a player to, the third one (boolean) is whether the message should not be printed to chat, but what does the second one stand for?
- Mon Nov 16, 2015 2:21 pm
- Forum: Plugin Development Support
- Topic: Questions on working with entities IO calls and keyvalues
- Replies: 19
- Views: 13122
- Mon Nov 16, 2015 1:21 pm
- Forum: Plugin Development Support
- Topic: Questions on working with entities IO calls and keyvalues
- Replies: 19
- Views: 13122
- Mon Nov 16, 2015 8:50 am
- Forum: Plugin Development Support
- Topic: Questions on working with entities IO calls and keyvalues
- Replies: 19
- Views: 13122
Got it! This will work:
Syntax: Select all
player.client_command("ent_fire func_door Open", server_side=True)
player.client_command("ent_fire * SetParent !activator", server_side=True) # Nasty stuff
- Mon Nov 16, 2015 5:20 am
- Forum: Plugin Development Support
- Topic: Questions on working with entities IO calls and keyvalues
- Replies: 19
- Views: 13122
- Mon Nov 16, 2015 3:24 am
- Forum: Plugin Development Support
- Topic: Questions on working with entities IO calls and keyvalues
- Replies: 19
- Views: 13122
Questions on working with entities IO calls and keyvalues
Hello, Source.Python community! I'm currently (by currently I mean at 6:00 am) porting my ES plugin to SP. Refactoring it, too. Everything seems to be OK, but still I've got 2 questions: 1. Say I have entities.entity.Entity instance or just entity index. How do I gain access to its keyvalues? In ES ...