Search found 287 matches

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: 6627

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: 6627

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: 6627

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: 7167

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: 8308

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: 8308

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: 7167

[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: 6627

[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: 8314

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: 9467

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: 45967

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: 45967

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: 8079

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', ...
by cssbestrpg
Wed Apr 06, 2022 3:25 am
Forum: Plugin Requests
Topic: Chat list
Replies: 4
Views: 8079

Re: Chat list

Hi should it show it via menu or tells the list in chat?
by cssbestrpg
Mon Apr 04, 2022 10:29 am
Forum: General Discussion
Topic: Im new in this forum how to use
Replies: 3
Views: 2047

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
by cssbestrpg
Sat Apr 02, 2022 1:05 pm
Forum: General Discussion
Topic: Im new in this forum how to use
Replies: 3
Views: 2047

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...
by cssbestrpg
Fri Mar 25, 2022 8:11 pm
Forum: Plugin Requests
Topic: Half-Life 2 Deathmatch - God mode
Replies: 44
Views: 45967

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)
by cssbestrpg
Tue Mar 22, 2022 5:28 pm
Forum: Plugin Requests
Topic: Half-Life 2 Deathmatch - God mode
Replies: 44
Views: 45967

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
by cssbestrpg
Fri Mar 18, 2022 3:53 pm
Forum: Plugin Requests
Topic: Half-Life 2 Deathmatch - God mode
Replies: 44
Views: 45967

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.
by cssbestrpg
Fri Mar 18, 2022 3:10 pm
Forum: Plugin Requests
Topic: Half-Life 2 Deathmatch - God mode
Replies: 44
Views: 45967

Re: Half-Life 2 Deathmatch - God mode

Fixed in this one: # ../killstreak_god/killstreak_god.py # Python import random from time import time # Source.Python from engines.sound import engine_sound from events import Event from messages import SayText2 from players.entity import Player from players.helpers import index_from_userid from eff...

Go to advanced search