Search found 1256 matches

by L'In20Cible
Sat Jun 04, 2016 7:15 am
Forum: Plugin Development Support
Topic: block scoreboard
Replies: 13
Views: 8581

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.
by L'In20Cible
Sat Jun 04, 2016 7:00 am
Forum: Plugin Development Support
Topic: block scoreboard
Replies: 13
Views: 8581

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 ...
by L'In20Cible
Sat Jun 04, 2016 5:55 am
Forum: Plugin Development Support
Topic: block scoreboard
Replies: 13
Views: 8581

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...
by L'In20Cible
Thu Apr 21, 2016 4:56 am
Forum: General Discussion
Topic: CS:S Issue - Impossible to use your grenade
Replies: 4
Views: 3904

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)
by L'In20Cible
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: 14990

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...
by L'In20Cible
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: 14990

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.
by L'In20Cible
Sat Apr 16, 2016 12:37 pm
Forum: Plugin Development Support
Topic: Changing player velocity
Replies: 5
Views: 4153

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...
by L'In20Cible
Sat Mar 12, 2016 2:27 am
Forum: Plugin Development Support
Topic: Prevent Double Jump
Replies: 10
Views: 8284

There is a better way than a Tick listener. You save the current timestamp of the first jump and compare it when the player tries to jump again. If there is enough time elapsed between both jumps (or attemps to), you allow the jump otherwise you block it.
by L'In20Cible
Thu Mar 03, 2016 11:23 pm
Forum: General Discussion
Topic: Trouble loading plugin (sqlite import error)
Replies: 4
Views: 5246

Welcome on the forums!

baiumbg wrote:I have sqlite installed on my system - never had any problems with it before.

Make sure you have the 32bits version installed.
by L'In20Cible
Thu Feb 25, 2016 1:20 am
Forum: Plugin Development Support
Topic: Use old Source Engine models in CSGO.
Replies: 8
Views: 6324

Did you try with a prop_physics_override?
by L'In20Cible
Wed Feb 24, 2016 8:14 pm
Forum: Plugin Development Support
Topic: Use old Source Engine models in CSGO.
Replies: 8
Views: 6324

Also, I think this thread would fit better into General Discussion as it doesn't relate to any SP codes.
by L'In20Cible
Wed Feb 24, 2016 6:32 pm
Forum: Plugin Development Support
Topic: Use old Source Engine models in CSGO.
Replies: 8
Views: 6324

From what I remember, you simply need to replace the first "," with a "0" in the magic code of the mdl files.
by L'In20Cible
Wed Feb 17, 2016 9:15 pm
Forum: Plugin Development Support
Topic: ShowDamage
Replies: 17
Views: 10523

Note that if you send the message on round start, you need to wait at least 1 frame since the server is sending a ResetHud every rounds.
by L'In20Cible
Mon Feb 08, 2016 11:18 pm
Forum: General Discussion
Topic: Clearing Model Cache
Replies: 13
Views: 10077

You can do all you need with the free version of ida. Don't waste 10k on that, lol.
by L'In20Cible
Wed Feb 03, 2016 10:38 pm
Forum: Plugin Development Support
Topic: SRCDS integration with the webserver
Replies: 16
Views: 14425

Really cool!
by L'In20Cible
Sat Jan 16, 2016 6:20 pm
Forum: Plugin Development Support
Topic: StartTouch
Replies: 2
Views: 2515

EntityCondition.is_player, does that a trigger_multiple is a player?
by L'In20Cible
Fri Jan 15, 2016 10:40 pm
Forum: Plugin Releases
Topic: Simple Deagle Headshot Only
Replies: 9
Views: 8808

by L'In20Cible
Fri Jan 01, 2016 1:27 pm
Forum: Plugin Development Support
Topic: PreEvent player_jump
Replies: 6
Views: 5428

Correct, the name of the function itself doesn't matter.
by L'In20Cible
Sat Dec 26, 2015 9:52 pm
Forum: Plugin Development Support
Topic: Copy of player object
Replies: 6
Views: 4606

Then yes, you will have to cache the values of the data you need yourself.

Go to advanced search