Hey daren, that problem should be solved with L'In20Cible's version.
Thanks for the tips! I didn't know about the caching, that will be very useful for the future!
Search found 261 matches
- Tue Mar 16, 2021 10:22 am
- Forum: Plugin Requests
- Topic: Half-Life 2 Deathmatch - God mode
- Replies: 44
- Views: 55837
- Mon Mar 15, 2021 6:50 pm
- Forum: Plugin Requests
- Topic: Half-Life 2 Deathmatch - God mode
- Replies: 44
- Views: 55837
Re: Half-Life 2 Deathmatch - God mode
Hey daren, you can give this a try. from players.entity import Player from events import Event from players.dictionary import PlayerDictionary from messages import SayText2 class StreakPlayer(Player): def __init__(self, index): super().__init__(index) self.consecutive...
- Fri Mar 12, 2021 9:13 am
- Forum: Plugin Requests
- Topic: [HL2:DM] Deathmsg Help
- Replies: 47
- Views: 48583
Re: [HL2:DM] Deathmsg Help
This should fix your errors: # ============================================================================= # >> IMPORTS # ============================================================================= from colors import RED, YELLOW from cvars.public import PublicConVar from events import Event from...
- Sun Feb 21, 2021 2:23 pm
- Forum: Plugin Development Support
- Topic: [CS:S] Spawning bubbles in a square.
- Replies: 0
- Views: 3621
[CS:S] Spawning bubbles in a square.
Hey guys, does anyone know how to spawn either a func_dustmotes or a func_smokevolume? I'm trying to have bubbles come up from the ground in a square zone. I'm currently using this code to spawn bubbles but the bubbles fly too fast, even if I set the speed to 0 : def create_bubbles(model, height...
- Sat Feb 20, 2021 3:49 pm
- Forum: Plugin Development Support
- Topic: [CS:S] Closing a SP menu when a SM menu is sent.
- Replies: 0
- Views: 3544
[CS:S] Closing a SP menu when a SM menu is sent.
Hey guys, I noticed that SP does not play well with SM menus. If you open a SP menu and a SM menu after that the SM menu will come up shortly and be replaced by the SP menu quickly. If I go the other way around and open SM first and SP second it does work without any problems. How would I go about c...
- Fri Feb 19, 2021 3:14 pm
- Forum: Plugin Development Support
- Topic: Streaming audio to clients
- Replies: 4
- Views: 4233
Re: Streaming audio to clients
Are you using CS:S or CS:GO? The funfact Message of csgo has HTML compatibility, maybe that would be an approach. Edit: I had no luck with that approach. This is what I used for testing: # Source.Python from events.manager import game_event_manager from players.entity import Player from events impor...
- Mon Feb 15, 2021 9:07 pm
- Forum: Plugin Development Support
- Topic: [CS:S] Worldspawn touch problem
- Replies: 5
- Views: 3629
Re: [CS:S] Worldspawn touch problem
Thank you very much, this works perfectly!
- Sun Feb 14, 2021 7:19 pm
- Forum: Plugin Development Support
- Topic: [CS:S] Worldspawn touch problem
- Replies: 5
- Views: 3629
Re: [CS:S] Worldspawn touch problem
Wouldnt that Return true for a flash hitting the feet?
- Sun Feb 14, 2021 6:46 pm
- Forum: Plugin Development Support
- Topic: [CS:S] Worldspawn touch problem
- Replies: 5
- Views: 3629
[CS:S] Worldspawn touch problem
Hey guys, I'm trying to determine when you touch the ground. I tried multiple ways, including this: @EntityPreHook(EntityCondition.equals_entity_classname('player'), 'touch') def Entity_StartTouch(args): entity = make_object(Entity, args[1]) #this is p...
- Tue Feb 02, 2021 8:26 pm
- Forum: Plugin Development Support
- Topic: [CS:GO] Warmup HudDestination
- Replies: 1
- Views: 2372
[CS:GO] Warmup HudDestination
Hey guys,
I was wondering if it was possible to send a message of the same type as the warmup message in CS:GO to a player.
I've read at some places that it's a client side message, so I'm not sure we can do anything about it.
I was wondering if it was possible to send a message of the same type as the warmup message in CS:GO to a player.
I've read at some places that it's a client side message, so I'm not sure we can do anything about it.
- Tue Feb 02, 2021 8:07 pm
- Forum: Whatever
- Topic: Setting up a CS:GO server
- Replies: 7
- Views: 42708
Re: Setting up a CS:GO server
using sv_lan 1 with your start command line seems to work! Thank you :)
- Tue Feb 02, 2021 5:22 pm
- Forum: Whatever
- Topic: Setting up a CS:GO server
- Replies: 7
- Views: 42708
Re: Setting up a CS:GO server
This gets me a little further but now it says
Code: Select all
RejectConnection: 192.168.178.29:27005 - Server only accepting connections from game lobby 192.168.178.29:27005 80316491
- Tue Feb 02, 2021 5:09 pm
- Forum: Whatever
- Topic: Setting up a CS:GO server
- Replies: 7
- Views: 42708
Re: Setting up a CS:GO server
It's a fresh install, I just checked and it's uptodate
- Tue Feb 02, 2021 4:48 pm
- Forum: Whatever
- Topic: Setting up a CS:GO server
- Replies: 7
- Views: 42708
Setting up a CS:GO server
Hey guys, I'm trying to set up a CS:GO dediacted server and I'm running into some problems. I can start the server fine and can see it in the server browser too. But when I connect via Lan IP it goes to the loading screen, fills the loading bar in 1 second and goes back to the main menu. The server ...
- Sun Jan 31, 2021 10:06 pm
- Forum: Plugin Requests
- Topic: [REQUEST]Hide Radar
- Replies: 21
- Views: 14674
Re: [REQUEST]Hide Radar
You could use
This will give you any active menu, no matter if SimpleMenu, PagedMenu or ListMenu.
Syntax: Select all
SimpleMenu.get_user_queue(player.index).active_menu
This will give you any active menu, no matter if SimpleMenu, PagedMenu or ListMenu.
- Sun Jan 31, 2021 5:22 pm
- Forum: Plugin Development Support
- Topic: [CS:S/CSGO] How to get list of primaries and secondaries and use able in menu?
- Replies: 7
- Views: 4876
Re: [CS:S/CSGO] How to get list of primaries and secondaries and use able in menu?
satoons way might actually be easier for making a buy menu (supposed you are trying that) as you can loop through the categories instead of checking for them afterwards or adding them manually. Here are some examples: from filters.weapons import WeaponClassIter for weapon in WeaponClassIter('...
- Sun Jan 31, 2021 4:34 pm
- Forum: Plugin Development Support
- Topic: [CS:S/CSGO] How to get list of primaries and secondaries and use able in menu?
- Replies: 7
- Views: 4876
Re: [CS:S/CSGO] How to get list of primaries and secondaries and use able in menu?
Hey, I'm not sure if this is the best way to do it but you can give it a try: from weapons.manager import weapon_manager weapon_list = weapon_manager.ini['weapons'] for weapon in weapon_list: if 'cost' in weapon_list[weapon]: print(f"Weapon name: {weapon} | Cost: {weapon_lis...
- Sat Jan 30, 2021 2:11 pm
- Forum: Plugin Development Support
- Topic: [CS:S] Return type not working for shouldcollide
- Replies: 4
- Views: 3146
Re: [CS:S] Return type not working for shouldcollide
Thank you for the example! Have to try if it works for my problem.
- Fri Jan 29, 2021 9:57 pm
- Forum: Plugin Development Support
- Topic: [CS:S] Return type not working for shouldcollide
- Replies: 4
- Views: 3146
Re: [CS:S] Return type not working for shouldcollide
Thank you very much, this is exactly what I was looking for! I've seen this in a SourceMod plugin but I'm not that good with hooks yet so this is a huge help.
I'm still confused how I would use a SendProp (in my case "m_CollisionGroup") and the proxy function or even how to get it.
I'm still confused how I would use a SendProp (in my case "m_CollisionGroup") and the proxy function or even how to get it.
- Thu Jan 28, 2021 7:31 pm
- Forum: Plugin Development Support
- Topic: [CS:S] Return type not working for shouldcollide
- Replies: 4
- Views: 3146
[CS:S] Return type not working for shouldcollide
Hey guys, I'm trying to hook ShouldCollide with this code from entities.entity import Entity from entities.hooks import EntityCondition, EntityPreHook from memory import make_object from memory import Convention from memory import DataType @EntityPreHook( EntityCondition.is_player, lambda player...