Search found 286 matches

by decompile
Wed Apr 26, 2017 1:27 am
Forum: Plugin Development Support
Topic: Creating Player Hat
Replies: 1
Views: 9

Creating Player Hat

Hey, Im trying to give players a santa hat on holidays, and im currently struggling on creating the hat. SANTA_HAT_MODEL = Model('models/player/holiday/santahat.mdl') prop_dynamic_override = Entity.create('prop_dynamic_override') prop_dynamic_override.set_model(SA...
by decompile
Wed Apr 26, 2017 1:12 am
Forum: Plugin Development Support
Topic: Is current date between 2 dates
Replies: 6
Views: 53

Re: Is current date between 2 dates

Thanks alot! :)
by decompile
Mon Apr 24, 2017 9:13 pm
Forum: Plugin Development Support
Topic: Is current date between 2 dates
Replies: 6
Views: 53

Re: Is current date between 2 dates

Exactly.

I havent tested it out but could I skip the year parameter to make it every year the same without changing the code?
by decompile
Mon Apr 24, 2017 8:58 pm
Forum: Plugin Development Support
Topic: Is current date between 2 dates
Replies: 6
Views: 53

Is current date between 2 dates

Hey Guys,

I tried to google my question but sadly havent found it, probably cause Im asking it wrong, but I want to do special stuff (like over holidays) if the time is between 2 date ranges.

Can you please help me?
by decompile
Tue Apr 18, 2017 2:05 pm
Forum: Plugin Development Support
Topic: Create own listener
Replies: 5
Views: 89

Re: Create own listener

Why do we need that __all__ or what is it function?
by decompile
Mon Apr 17, 2017 11:15 pm
Forum: Plugin Releases
Topic: [Any] Idle Manager
Replies: 0
Views: 40

[Any] Idle Manager

[Any] Idle Manager v1.0 Description This plugin handles clients who are idle and offers natives for other plugins . Installation 1. Download and unpack the latest release of Idle Manager to your server folder Launch by (you can add this to cfg/autoexec.cfg): sp plugin load idle_manager Configuratio...
by decompile
Mon Apr 17, 2017 2:01 pm
Forum: Plugin Development Support
Topic: Create own listener
Replies: 5
Views: 89

Create own listener

Hey,

Im currently writing a quick afk manager api and I thought it would be good to add a "On Player AFK" listener and reverse.

Couldnt understand it from wikis
by decompile
Fri Apr 07, 2017 10:41 pm
Forum: Plugin Development Support
Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
Replies: 82
Views: 3159

Re: Modifying chat with sayfilter but SayCommand doesnt "register"

It didnt change the error [SP] Caught an Exception: Traceback (most recent call last): File "..\addons\source-python\plugins\test\test.py", line 248, in pre_send_user_message buffer = make_object(ProtobufMessage, args[3]) RuntimeError: Access violation - no RTTI data! I removed the .vdf, l...
by decompile
Fri Apr 07, 2017 7:55 pm
Forum: Plugin Development Support
Topic: [CSGO/any] DataTable warning suppression
Replies: 2
Views: 63

Re: [CSGO/any] DataTable warning suppression

I know theres an Sourcemod extension which suppreses console messages, so it should be def possible.
by decompile
Thu Apr 06, 2017 1:09 pm
Forum: Whatever
Topic: Grove Street is back, CS:GO! "Da Hood" custom map
Replies: 2
Views: 66

Re: Grove Street is back, CS:GO! "Da Hood" custom map

Looks very cool. Keep up
by decompile
Wed Apr 05, 2017 11:36 pm
Forum: Plugin Development Support
Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
Replies: 82
Views: 3159

Re: Modifying chat with sayfilter but SayCommand doesnt "register"

My srcds.exe crashes when I put it into my server.cfg with removing the .vdf.

Spams File '..sys', line 1: RuntimeWarning exactly when I join.
by decompile
Wed Apr 05, 2017 10:44 pm
Forum: Plugin Development Support
Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
Replies: 82
Views: 3159

Re: Modifying chat with sayfilter but SayCommand doesnt "register"

The problem with the \x02 is, you can replace it with any color, lets say lime green \x06, and the game still replaces it with the team color (\x03) for the first character.
by decompile
Wed Apr 05, 2017 7:24 pm
Forum: Plugin Development Support
Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
Replies: 82
Views: 3159

Re: Modifying chat with sayfilter but SayCommand doesnt "register"

Hey, Sorry for bumping older threads, but Im currently trying to fix my issue with the CS:GO System. from commands.say import SayCommand from memory import Convention, DataType, get_object_pointer, make_object from memory.hooks import PreHook from messages import SayText2 from engines.server import ...
by decompile
Tue Apr 04, 2017 10:56 pm
Forum: Plugin Development Support
Topic: Fall/Damage Slowdown
Replies: 5
Views: 126

Re: Fall/Damage Slowdown

Im getting

ValueError: Property "m_flVelocityModifier" not found for entity type "player"
by decompile
Sat Apr 01, 2017 4:44 pm
Forum: Plugin Development Support
Topic: Dropping Knife
Replies: 12
Views: 503

Re: Dropping Knife

Weirdly never tested the dropping knife since I added it back then. Right now it removes the weapon, but clientside you still see the knife equipped, any help? @ClientCommand('drop') def drop_knife(command, index): player = Player(index) weapon = player.active_weapon ...
by decompile
Sat Apr 01, 2017 8:32 am
Forum: Plugin Development Support
Topic: Spawn Points Problem
Replies: 3
Views: 78

Re: Spawn Points Problem

MAX_CLIENTS = global_vars.max_clients @Event("round_start") def round_start(mapName): spawn_classes = ["info_player_counterterrorist", "info_player_terrorist"] spawn_points = GetNumByClass(spawn_classes) print(spawn_points) if MAX_CLIENT...
by decompile
Fri Mar 31, 2017 4:27 pm
Forum: Plugin Development Support
Topic: Spawn Points Problem
Replies: 3
Views: 78

Spawn Points Problem

Hey, I currently have written a Spawn Points Plugin which simply extends the spawn points for each class based on max clients of the server. Im calling it during 'round_start' event. It does completly its job (len(entityiter..), but when I try to add lets say a bot, to figure out if it works, it tel...
by decompile
Thu Mar 30, 2017 10:09 am
Forum: Plugin Development Support
Topic: Fall/Damage Slowdown
Replies: 5
Views: 126

Re: Fall/Damage Slowdown

How can I set those properties? Or do they need to be added to the entity data thing
by decompile
Sat Mar 25, 2017 6:01 pm
Forum: Plugin Development Support
Topic: keyvalue "filtername"
Replies: 4
Views: 247

Re: keyvalue "filtername"

Sorry for bumping older threads, but im having a problem with it. Its like if no filter was registered with the brush. I tested it with creating a trigger with filtername through stripper which worked perfectly and simply copied it with source python and it doesnt. I even tried printing the filterna...

Go to advanced search