Search found 287 matches

by cssbestrpg
Fri Oct 30, 2020 5:41 pm
Forum: Plugin Requests
Topic: [Cs:s] chat command to change map
Replies: 13
Views: 7445

Re: [Cs:s] chat command to change map

What's the output of "sp info". It might be a conflict with another server plugin. sp info IMPORTANT: Please copy the full output. -------------------------------------------------------- Checksum : c0141713e9220755875794d8c5fbc4ea Date : 2020-10-30 17:40:42.069789 OS : Windows-10-10.0.18...
by cssbestrpg
Fri Oct 30, 2020 1:48 pm
Forum: Plugin Requests
Topic: [Cs:s] chat command to change map
Replies: 13
Views: 7445

Re: [Cs:s] chat command to change map

I'm not sure what your issue might be, but it worked fine for me. I used "!map de_dust" in chat and it told me it was changing the map in 3 seconds, and then it changed maps to de_dust. When i type !map de_dust nothing appears to chat or console even it loads fine, but no register the com...
by cssbestrpg
Fri Oct 30, 2020 6:07 am
Forum: Plugin Requests
Topic: [Cs:s] chat command to change map
Replies: 13
Views: 7445

Re: [Cs:s] chat command to change map

Listing files from the maps directory can be inaccurate though, since they can also be found into custom or even packed in vpk. It would be best to just ask the engine whether the map is valid or not: from commands.typed import TypedSayCommand from engines.server import engine_server from engines.s...
by cssbestrpg
Thu Oct 29, 2020 6:44 pm
Forum: Plugin Requests
Topic: [Cs:s] chat command to change map
Replies: 13
Views: 7445

[Cs:s] chat command to change map

Hi, can some one make a plugin that changes map?

like !map <name>, then it changes map to name has typed for map
by cssbestrpg
Tue Sep 29, 2020 9:32 am
Forum: Plugin Development Support
Topic: [Cs:s] OnTakeDamage
Replies: 7
Views: 3884

Re: [Cs:s] OnTakeDamage

This is the skill code that set m_iDamage SKILL_DETERIORA_PERCENT = 2.0 @Event('rpg_playerspawn') def rpg_playerspawn(args): set_damage(args.get_int('userid')) @Event('rpg_skillupgrade') def rpg_skillupgrade(args): if args.get_s...
by cssbestrpg
Sun Sep 27, 2020 6:38 pm
Forum: Plugin Development Support
Topic: [Cs:s] OnTakeDamage
Replies: 7
Views: 3884

Re: [Cs:s] OnTakeDamage

This is current code now i use #========================= # OnTakeDamage #========================= @EntityPreHook(EntityCondition.is_human_player, 'on_take_damage_alive')# on_take_damage @EntityPreHook(EntityCondition.is_bot_player, 'on_take_damage_alive') def pre_da...
by cssbestrpg
Sun Sep 27, 2020 6:29 pm
Forum: Plugin Development Support
Topic: [Cs:s] OnTakeDamage
Replies: 7
Views: 3884

Re: [Cs:s] OnTakeDamage

I'm pretty sure changing damage should work in the on_take_damage_alive hook. That's usually how I modify damage. # ../on_take_damage/on_take_damage.py # Source.Python from entities import TakeDamageInfo from entities.hooks import EntityPreHook, EntityCondition @EntityPreHook(EntityCondition.is...
by cssbestrpg
Sun Sep 27, 2020 3:32 pm
Forum: Plugin Development Support
Topic: [Cs:s] OnTakeDamage
Replies: 7
Views: 3884

Re: [Cs:s] OnTakeDamage

At on_take_damage_alive no work at all, now even the damage doesn't change
by cssbestrpg
Sun Sep 27, 2020 1:18 pm
Forum: Plugin Development Support
Topic: [Cs:s] OnTakeDamage
Replies: 7
Views: 3884

[Cs:s] OnTakeDamage

Hi, i have small issue OnTakeDamage code @EntityPreHook(EntityCondition.is_human_player, 'on_take_damage') @EntityPreHook(EntityCondition.is_bot_player, 'on_take_damage') def pre_damage(args): index = index_from_pointer(args[0]) info = make_object(...
by cssbestrpg
Fri Sep 25, 2020 1:29 pm
Forum: Plugin Development Support
Topic: Css bombplant site get
Replies: 4
Views: 2787

Re: Css bombplant site get

Thanks L'In20Cible, the code you gave works perfectly
by cssbestrpg
Fri Sep 25, 2020 9:55 am
Forum: Plugin Development Support
Topic: Css bombplant site get
Replies: 4
Views: 2787

Re: Css bombplant site get

Oh, i thought it would show bombsite where bomb is planted, like if plants A bombsite it would show its A the bombsite
by cssbestrpg
Thu Sep 24, 2020 4:58 pm
Forum: Plugin Development Support
Topic: Css bombplant site get
Replies: 4
Views: 2787

Css bombplant site get

Hi Some reason i can't get bombsite show at bombplant event Console just spamms this: [SP] Caught an Exception: Traceback (most recent call last): File "..\addons\source-python\packages\source-python\events\listener.py", line 92, in fire_game_event callback(game_event) File "..\addons...
by cssbestrpg
Wed Sep 02, 2020 12:35 pm
Forum: Plugin Releases
Topic: Round_end_sound
Replies: 6
Views: 5057

Re: Round_end_sound

Updated the code use shorter add download stuff. Thanks VinciT i even didn't know of that function
by cssbestrpg
Sun Aug 30, 2020 6:47 am
Forum: Plugin Releases
Topic: Round_end_sound
Replies: 6
Views: 5057

Re: Round_end_sound

I updated now the code, it doesn't anymore have if lines when sound, instead it get the from list
by cssbestrpg
Fri Aug 07, 2020 9:27 am
Forum: Plugin Requests
Topic: [Cs:s] Grenades Buy limit
Replies: 3
Views: 2854

Re: [Cs:s] Grenades Buy limit

Thanks VinciT it works perfectly
by cssbestrpg
Thu Aug 06, 2020 8:37 am
Forum: Plugin Requests
Topic: [Cs:s] Grenades Buy limit
Replies: 3
Views: 2854

[Cs:s] Grenades Buy limit

Hi, as the title say can some one make grenades buy limit, when reach the limit it wouldn't let buy anymore grenades even not with f2
by cssbestrpg
Fri Jul 24, 2020 12:00 pm
Forum: Plugin Development Support
Topic: Csgo OnTakeDamage
Replies: 2
Views: 3262

Csgo OnTakeDamage

Hi, after csgo newest update, the damage code hasn't work for me anymore. Console keep spamming [2020-07-24 14:44:02]: [SP] Caught an Exception:[2020-07-24 14:44:02]: Traceback (most recent call last):[2020-07-24 14:44:02]: File "../addons/source-python/plugins/rpg/rpg.py", line 1319, in p...
by cssbestrpg
Thu Jun 11, 2020 6:27 pm
Forum: Plugin Requests
Topic: (HL2DM) zombies
Replies: 14
Views: 9091

Re: (HL2DM) zombies

2020-06-10 11:36:05 - sp - MESSAGE [SP] Loading plugin 'zombie_waves'... 2020-06-10 11:36:05 - sp - EXCEPTION [SP] Caught an Exception: Traceback (most recent call last): File "..\addons\source-python\packages\source-python\plugins\command.py", line 164, in load_plugin plugin = self.manag...
by cssbestrpg
Thu Jun 11, 2020 6:19 pm
Forum: Plugin Requests
Topic: (HL2DM) zombies
Replies: 14
Views: 9091

Re: (HL2DM) zombies

2020-06-10 11:43:39 - sp - MESSAGE [SP] Plugin 'zombie_waves' was unable to be loaded. 2020-06-10 11:43:39 - sp - MESSAGE [SP] Loading plugin 'zombie_waves_editor'... 2020-06-10 11:43:39 - sp - EXCEPTION [SP] Caught an Exception: Traceback (most recent call last): File "..\addons\source-python...
by cssbestrpg
Sat Jun 06, 2020 8:40 am
Forum: Plugin Requests
Topic: Game: [HL2:DM] HUD
Replies: 5
Views: 4356

Re: Game: [HL2:DM] HUD

Hi Daren try use this code from events import Event from listeners.tick import Delay from messages import HintText from players.helpers import index_from_userid from players.entity import Player @Event('player_activate') def player_activate(args): userid = args.get_int(&#...

Go to advanced search