Search found 1256 matches
- Sat Jun 04, 2016 7:15 am
- Forum: Plugin Development Support
- Topic: block scoreboard
- Replies: 13
- Views: 8633
Re: block scoreboard
I don't think so. My guess is that since you constantly send the signal to hide it, it does hide it faster since it doesn't have to wait the server to reply once the panel is already displayed.
- Sat Jun 04, 2016 7:00 am
- Forum: Plugin Development Support
- Topic: block scoreboard
- Replies: 13
- Views: 8633
Re: block scoreboard
*just saw last replies but I'm posting this anyways. Actually, this code is not blocking the display itself, it send the signals to hide the panel once displayed. I tested this code on windows and it is working. The scoreboard is already displayed when run_command is executed so it get rendered for ...
- Sat Jun 04, 2016 5:55 am
- Forum: Plugin Development Support
- Topic: block scoreboard
- Replies: 13
- Views: 8633
Re: block scoreboard
from entities.entity import BaseEntity from entities.hooks import EntityCondition from entities.hooks import EntityPreHook from memory import make_object from messages import VGUIMenu from players import UserCmd from players.constants import PlayerButtons hidden_scores = VGUIMenu('scores...
- Thu Apr 21, 2016 4:56 am
- Forum: General Discussion
- Topic: CS:S Issue - Impossible to use your grenade
- Replies: 4
- Views: 3919
Re: CS:S Issue - Impossible to use your grenade
Did you try to force the player to use it after giving him a new flashbang?
Syntax: Select all
Player.client_command('use weapon_flashbang', server_side=True)
- Tue Apr 19, 2016 2:30 am
- Forum: General Discussion
- Topic: CS:S Linux crash when dropping weapon in OnTakeDamage pre-hook
- Replies: 16
- Views: 15066
Re: CS:S Linux crash when dropping weapon in OnTakeDamage pre-hook
To be honnest, I think I would rather use a different solution. What if you post-hook "drop_weapon" and check the player dead state, if the player is dead, you remove the weapon otherwise you pass? It all depends if the server is setting that flag prior or after dropping the weapons upon p...
- Tue Apr 19, 2016 12:45 am
- Forum: General Discussion
- Topic: CS:S Linux crash when dropping weapon in OnTakeDamage pre-hook
- Replies: 16
- Views: 15066
Re: CS:S Linux crash when dropping weapon in OnTakeDamage pre-hook
Use a post hook, instead. If you use a pre-hook and doesn't block the original function call, the call pass a no longer valid (as you force dropped it) pointer for the weapon used.
- Sat Apr 16, 2016 12:37 pm
- Forum: Plugin Development Support
- Topic: Changing player velocity
- Replies: 5
- Views: 4169
Well, that code works. It doesn't do what you want, that's different. When you use a null vector as velocity, you tells the function to apply nothing. In order to stop the motion of a player, you need to apply his current velocity reverted.[python]<Player>.teleport(None, None, player.velocity.negate...
- Sat Mar 12, 2016 2:27 am
- Forum: Plugin Development Support
- Topic: Prevent Double Jump
- Replies: 10
- Views: 8328
- Thu Mar 03, 2016 11:23 pm
- Forum: General Discussion
- Topic: Trouble loading plugin (sqlite import error)
- Replies: 4
- Views: 5272
- Thu Feb 25, 2016 1:20 am
- Forum: Plugin Development Support
- Topic: Use old Source Engine models in CSGO.
- Replies: 8
- Views: 6378
- Wed Feb 24, 2016 8:14 pm
- Forum: Plugin Development Support
- Topic: Use old Source Engine models in CSGO.
- Replies: 8
- Views: 6378
- Wed Feb 24, 2016 6:32 pm
- Forum: Plugin Development Support
- Topic: Use old Source Engine models in CSGO.
- Replies: 8
- Views: 6378
- Wed Feb 17, 2016 9:15 pm
- Forum: Plugin Development Support
- Topic: ShowDamage
- Replies: 17
- Views: 10572
- Mon Feb 08, 2016 11:18 pm
- Forum: General Discussion
- Topic: Clearing Model Cache
- Replies: 13
- Views: 10102
- Wed Feb 03, 2016 10:38 pm
- Forum: Plugin Development Support
- Topic: SRCDS integration with the webserver
- Replies: 16
- Views: 14467
- Sat Jan 16, 2016 6:20 pm
- Forum: Plugin Development Support
- Topic: StartTouch
- Replies: 2
- Views: 2523
- Fri Jan 15, 2016 10:40 pm
- Forum: Plugin Releases
- Topic: Simple Deagle Headshot Only
- Replies: 9
- Views: 8839
- Sun Jan 03, 2016 4:50 pm
- Forum: Code examples / Cookbook
- Topic: Ending a round.
- Replies: 6
- Views: 21514
- Fri Jan 01, 2016 1:27 pm
- Forum: Plugin Development Support
- Topic: PreEvent player_jump
- Replies: 6
- Views: 5450
- Sat Dec 26, 2015 9:52 pm
- Forum: Plugin Development Support
- Topic: Copy of player object
- Replies: 6
- Views: 4628