Search found 288 matches
- Sat Apr 30, 2022 2:55 pm
- Forum: Plugin Requests
- Topic: HL2:NPC HEADSHOT
- Replies: 6
- Views: 14045
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...
- Mon Apr 18, 2022 6:06 pm
- Forum: Plugin Development Support
- Topic: [Cs:s] Hook remaining time of the map
- Replies: 7
- Views: 8266
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...
- Thu Apr 14, 2022 2:38 pm
- Forum: Plugin Development Support
- Topic: [Cs:s] Hook remaining time of the map
- Replies: 7
- Views: 8266
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...
- Thu Apr 14, 2022 11:39 am
- Forum: Plugin Development Support
- Topic: [Cs:s] Hook remaining time of the map
- Replies: 7
- Views: 8266
Re: [Cs:s] Hook remaining time of the map
I would want it show remaining time of the map, when type in chat timeleft
- Wed Apr 13, 2022 6:59 pm
- Forum: Plugin Releases
- Topic: [Cs:s] Warm Up
- Replies: 1
- Views: 10788
Re: [Cs:s] Warm Up
Update:
- Fixed bots were able to purchase weapons
- Fixed bots were able to purchase weapons
- Tue Apr 12, 2022 5:12 pm
- Forum: Plugin Requests
- Topic: HL2:DM Activate sounds
- Replies: 4
- Views: 12034
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/...
- Tue Apr 12, 2022 11:17 am
- Forum: Plugin Requests
- Topic: HL2:DM Activate sounds
- Replies: 4
- Views: 12034
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...
- Mon Apr 11, 2022 6:10 pm
- Forum: Plugin Releases
- Topic: [Cs:s] Warm Up
- Replies: 1
- Views: 10788
[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
The warmup have 3 different one:
1. Knife Only
2. Deagle Only
3. Hegrenade Only
- Mon Apr 11, 2022 2:12 pm
- Forum: Plugin Development Support
- Topic: [Cs:s] Hook remaining time of the map
- Replies: 7
- Views: 8266
[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...
- Sat Apr 09, 2022 6:59 pm
- Forum: Plugin Requests
- Topic: HL2:DM - HRCBOT CONTROL
- Replies: 2
- Views: 12275
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
If have, type the command then i might be able to make the code for it
- Fri Apr 08, 2022 3:29 pm
- Forum: Plugin Releases
- Topic: Automatic round ender
- Replies: 6
- Views: 13602
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)
- Added checker for bombsite & hostage rescue zone
- If doesn't find bombsite & hostage rescue zone, automatic round ender triggers(when round time ends)
- Thu Apr 07, 2022 5:53 pm
- Forum: Plugin Requests
- Topic: Half-Life 2 Deathmatch - God mode
- Replies: 44
- Views: 55934
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...
- Wed Apr 06, 2022 4:53 pm
- Forum: Plugin Requests
- Topic: Half-Life 2 Deathmatch - God mode
- Replies: 44
- Views: 55934
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...
- Wed Apr 06, 2022 11:54 am
- Forum: Plugin Requests
- Topic: Chat list
- Replies: 4
- Views: 11765
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', ...
- Wed Apr 06, 2022 3:25 am
- Forum: Plugin Requests
- Topic: Chat list
- Replies: 4
- Views: 11765
Re: Chat list
Hi should it show it via menu or tells the list in chat?
- Mon Apr 04, 2022 10:29 am
- Forum: General Discussion
- Topic: Im new in this forum how to use
- Replies: 3
- Views: 2425
Re: Im new in this forum how to use
Chaouki wrote:Ok ty bro and i can install sourcemod and source python in same server?
Yes
- Sat Apr 02, 2022 1:05 pm
- Forum: General Discussion
- Topic: Im new in this forum how to use
- Replies: 3
- Views: 2425
Re: Im new in this forum how to use
Hello i dont know how to use this scripts in my server can you help me Hi, you can use the scripts by have installed Source.Python . Then install the plugin that the path goes: addons/source-python/plugins/<plugin>/<plugin>. To load the plugin type in server console or add in server.cfg/autoexec.cf...
- Fri Mar 25, 2022 8:11 pm
- Forum: Plugin Requests
- Topic: Half-Life 2 Deathmatch - God mode
- Replies: 44
- Views: 55934
Re: Half-Life 2 Deathmatch - God mode
Kami thanks for the effect link. I later try that way to make the effect(once have time for it)
- Tue Mar 22, 2022 5:28 pm
- Forum: Plugin Requests
- Topic: Half-Life 2 Deathmatch - God mode
- Replies: 44
- Views: 55934
Re: Half-Life 2 Deathmatch - God mode
Painkiller wrote:I think you need to play around with this.Syntax: Select all
beamRing(attacker.userid, 0, 350, 10, 45, 3, 2, r, g, b)
No, the beam would have to make global it and then change the origin to your current place with repeat
- Fri Mar 18, 2022 3:53 pm
- Forum: Plugin Requests
- Topic: Half-Life 2 Deathmatch - God mode
- Replies: 44
- Views: 55934
Re: Half-Life 2 Deathmatch - God mode
Because the beam origin was at that spot when you killed 12. The beam origin only stays that area it spawned.