Search found 9 matches

by Retro
Thu Oct 18, 2018 8:49 pm
Forum: Plugin Development Support
Topic: Block round end
Replies: 9
Views: 8012

Re: Block round end

Nvm it works ty
by Retro
Wed Oct 17, 2018 10:33 pm
Forum: Plugin Development Support
Topic: Block round end
Replies: 9
Views: 8012

Re: Block round end

I took what Ayuto made earlier , changed the signatures, and I think I got the right arguments? (I took a peek at how the SM guys did it ) # ../terminate_round/terminate_round.py # Source.Python import core import memory from memory import Convention, DataType from memory.hooks import PreHook serve...
by Retro
Tue Oct 16, 2018 12:19 am
Forum: Plugin Development Support
Topic: Block round end
Replies: 9
Views: 8012

Re: Block round end

mp_ignore_round_win_conditions If you want to stop the rounds from ending, set that to 1. Most of the time that is fine but if you want to keep rounds from ending for like when your the only person in the server than a 2nd person joins the round will still end with that convar. So you would need so...
by Retro
Tue Oct 16, 2018 12:16 am
Forum: Plugin Development Support
Topic: Clan Tag in CS:GO
Replies: 7
Views: 7008

Re: Clan Tag in CS:GO

Tyty
by Retro
Mon Oct 15, 2018 3:59 am
Forum: Plugin Development Support
Topic: Block round end
Replies: 9
Views: 8012

Block round end

How would I be able to emulate this into python

Code: Select all

public Action CS_OnTerminateRound(float& delay, CSRoundEndReason& reason)
{
    return Plugin_Handled;
}


I'm guessing using PreHook but I'm not sure on what entity or if there is an easier way
by Retro
Fri Oct 12, 2018 10:07 pm
Forum: Plugin Development Support
Topic: Clan Tag in CS:GO
Replies: 7
Views: 7008

Re: Clan Tag in CS:GO

I think this is happening again or I am doing something wrong
by Retro
Thu Sep 27, 2018 3:55 pm
Forum: General Discussion
Topic: Permmissions question
Replies: 2
Views: 4154

Permmissions question

Does SourcePython have anything like SourceMod's immunity system and if there isn't is there any plans in the future to implement such a system?
by Retro
Wed Mar 21, 2018 6:12 am
Forum: Plugin Development Support
Topic: EntityPostHook on start_touch
Replies: 2
Views: 2857

Re: EntityPostHook on start_touch

"arg2" is the return value of the original function. In this case it always returns None, because CBaseEntity::StartTouch doesn't return something (the return type is void, which means that nothing is being returned). Regarding your actual problem: You are probably experiencing the same i...
by Retro
Tue Mar 20, 2018 3:20 pm
Forum: Plugin Development Support
Topic: EntityPostHook on start_touch
Replies: 2
Views: 2857

EntityPostHook on start_touch

I cant seem to get start_touch to convert the Pointers to Entities not sure what I'm doing wrong. @EntityPostHook(EntityCondition.equals_entity_classname("trigger_multiple"), 'start_touch') def Entity_StartTouch(stack, arg2): #arg2 seems to always be None en...

Go to advanced search