Search found 234 matches

by cssbestrpg
Tue Jun 14, 2022 4:27 pm
Forum: Plugin Development Support
Topic: [Cs:s] Insta Bomb Defuse
Replies: 2
Views: 324

Re: [Cs:s] Insta Bomb Defuse

You might have to delay it 1 tick instead of doing it directly in the event: from events import Event from entities.entity import Entity from listeners.tick import Delay @Event('bomb_begindefuse') def bomb_begindefuse(game_event): Delay(0, defuse_bomb) def defuse_bom...
by cssbestrpg
Tue Jun 14, 2022 8:26 am
Forum: Plugin Development Support
Topic: [Cs:s] Insta Bomb Defuse
Replies: 2
Views: 324

[Cs:s] Insta Bomb Defuse

Hi guys, i have issue with my code. I have been trying to make a code when you start defusing the bomb, it immeadily would defuse the bomb, but some reason it doesn't work at all. Here is the code: from events import Event from entities.entity import Entity @Event('bomb_begindefuse')...
by cssbestrpg
Wed May 11, 2022 1:44 pm
Forum: Plugin Development Support
Topic: [HL2:DM] Jetpack use in [BMS]
Replies: 5
Views: 759

Re: [HL2:DM] Jetpack use in [BMS]

That error is caused, because the game doesn't have that property, when it tries get the property that doesn't exists, it causes that value error It's may be caused due to entity change. Your function can be called for another entity. Check for that. Also, send code or explain [BMS] to me. Personal...
by cssbestrpg
Mon May 09, 2022 6:29 pm
Forum: Plugin Requests
Topic: HL2:NPC HEADSHOT
Replies: 6
Views: 1465

Re: HL2:NPC HEADSHOT

daren adler wrote:lets try these 2 npc_zombie, npc_vortigaunt and npc_combine_s

Ok, tomorrow i start working on that code.
Should it uses same overlay/sounds that have in the plugin you linked?
by cssbestrpg
Mon May 09, 2022 6:28 pm
Forum: Plugin Development Support
Topic: [HL2:DM] Jetpack use in [BMS]
Replies: 5
Views: 759

Re: [HL2:DM] Jetpack use in [BMS]

That error is caused, because the game doesn't have that property, when it tries get the property that doesn't exists, it causes that value error
by cssbestrpg
Mon May 02, 2022 9:33 am
Forum: Plugin Requests
Topic: HL2:NPC HEADSHOT
Replies: 6
Views: 1465

Re: HL2:NPC HEADSHOT

Does the overlay/sound need to happen when headshot the npc?
Can you give me list of the npc to work on?
by cssbestrpg
Sat Apr 30, 2022 2:55 pm
Forum: Plugin Requests
Topic: HL2:NPC HEADSHOT
Replies: 6
Views: 1465

Re: HL2:NPC HEADSHOT

Is there a way to be able to use the headshot sound and overlay from https://forums.sourcepython.com/viewtopic.php?f=37&t=1372&start=60 for the hl2 npc's ?. Like the npc_combine_s, combine_soldier, combine_soldier_prisonguard, combine_super_soldier, police. These are not bots, they are from...
by cssbestrpg
Mon Apr 18, 2022 6:06 pm
Forum: Plugin Development Support
Topic: [Cs:s] Hook remaining time of the map
Replies: 7
Views: 989

Re: [Cs:s] Hook remaining time of the map

You don't necessarily need a signature for that: from cvars import ConVar from engines.gamerules import find_game_rules from engines.server import global_vars mp_timelimit = ConVar('mp_timelimit') def get_map_remaining_time(): """Returns the remaining time for...
by cssbestrpg
Thu Apr 14, 2022 2:38 pm
Forum: Plugin Development Support
Topic: [Cs:s] Hook remaining time of the map
Replies: 7
Views: 989

Re: [Cs:s] Hook remaining time of the map

Ah, in that case you don't want to hook the function, but you want to call it instead. Usually, you only hook functions if you want to modify their behaviour. Try this: import memory from memory import Convention, DataType from engines.gamerules import find_gamerules from commands.typed import Type...
by cssbestrpg
Thu Apr 14, 2022 11:39 am
Forum: Plugin Development Support
Topic: [Cs:s] Hook remaining time of the map
Replies: 7
Views: 989

Re: [Cs:s] Hook remaining time of the map

I would want it show remaining time of the map, when type in chat timeleft
by cssbestrpg
Wed Apr 13, 2022 6:59 pm
Forum: Plugin Releases
Topic: [Cs:s] Warm Up
Replies: 1
Views: 1432

Re: [Cs:s] Warm Up

Update:
- Fixed bots were able to purchase weapons
by cssbestrpg
Tue Apr 12, 2022 5:12 pm
Forum: Plugin Requests
Topic: HL2:DM Activate sounds
Replies: 4
Views: 587

Re: HL2:DM Activate sounds

Hi, try this one(Untested) import random from events import Event from engines.sound import Sound from players.helpers import index_from_userid sounds = { "music/HL1_song3.mp3", "music/HL1_song5.mp3", "music/HL1_song6.mp3", "music/HL1_song9.mp3", "music/...
by cssbestrpg
Tue Apr 12, 2022 11:17 am
Forum: Plugin Requests
Topic: HL2:DM Activate sounds
Replies: 4
Views: 587

Re: HL2:DM Activate sounds

Hi, try this one(Untested) import random from events import Event from engines.sound import Sound from players.helpers import index_from_userid sounds = { "music/HL1_song3.mp3", "music/HL1_song5.mp3", "music/HL1_song6.mp3", "music/HL1_song9.mp3", "music/H...
by cssbestrpg
Mon Apr 11, 2022 6:10 pm
Forum: Plugin Releases
Topic: [Cs:s] Warm Up
Replies: 1
Views: 1432

[Cs:s] Warm Up

Hi guys, this plugin adds warm up at begininng of map.

The warmup have 3 different one:
1. Knife Only
2. Deagle Only
3. Hegrenade Only
by cssbestrpg
Mon Apr 11, 2022 2:12 pm
Forum: Plugin Development Support
Topic: [Cs:s] Hook remaining time of the map
Replies: 7
Views: 989

[Cs:s] Hook remaining time of the map

Hi guys, i have issue to hook properly remaining time for my linux server. I have tried to hook: [CCSGameRules::GetMapRemainingTime] shortname = "GetMapRemainingTime" sig = " 55 8B EC 51 8B 15 2A 2A 2A 2A 56 8B F1 8B 0D 2A 2A 2A 2A 81" symbol = "_ZN12CCSGameRules19GetMapRema...
by cssbestrpg
Sat Apr 09, 2022 6:59 pm
Forum: Plugin Requests
Topic: HL2:DM - HRCBOT CONTROL
Replies: 2
Views: 357

Re: HL2:DM - HRCBOT CONTROL

Does the bots have server command to set the bots amount(I don't have hl2dm server, so i don't know how to set bots amount in hl2dm)
If have, type the command then i might be able to make the code for it
by cssbestrpg
Fri Apr 08, 2022 3:29 pm
Forum: Plugin Releases
Topic: Automatic round ender
Replies: 6
Views: 2423

Re: Automatic round ender

Update:
- Added checker for bombsite & hostage rescue zone
- If doesn't find bombsite & hostage rescue zone, automatic round ender triggers(when round time ends)
by cssbestrpg
Thu Apr 07, 2022 5:53 pm
Forum: Plugin Requests
Topic: Half-Life 2 Deathmatch - God mode
Replies: 44
Views: 7567

Re: Half-Life 2 Deathmatch - God mode

OK Will give it a try, thank you, I tryed it and went in 3rd person view and i did not turn green. there is no errors to show. Try this one: # ../killstreak_god/killstreak_god.py # Python from time import time # Source.Python from events import Event from messages import SayText2 from players.entit...
by cssbestrpg
Wed Apr 06, 2022 4:53 pm
Forum: Plugin Requests
Topic: Half-Life 2 Deathmatch - God mode
Replies: 44
Views: 7567

Re: Half-Life 2 Deathmatch - God mode

This should do the trick: # ../killstreak_god/killstreak_god.py # Python from time import time # Source.Python from events import Event from messages import SayText2 from players.entity import Player from colors import Color, GREEN, LIGHT_GREEN class StreakPlayer(Player): caching = True # Us...
by cssbestrpg
Wed Apr 06, 2022 11:54 am
Forum: Plugin Requests
Topic: Chat list
Replies: 4
Views: 432

Re: Chat list

I made a code, it shows the commands every 60 seconds. from messages import SayText2 from listeners.tick import Repeat from colors import GREEN, LIGHT_GREEN TIMER = 60 # How many seconds it takes to send new message commands = { 'ahole', 'ahole2', 'anal', 'assalert', ...

Go to advanced search