Search found 9 matches
- Thu Oct 18, 2018 8:49 pm
- Forum: Plugin Development Support
- Topic: Block round end
- Replies: 9
- Views: 8176
Re: Block round end
Nvm it works ty
- Wed Oct 17, 2018 10:33 pm
- Forum: Plugin Development Support
- Topic: Block round end
- Replies: 9
- Views: 8176
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...
- Tue Oct 16, 2018 12:19 am
- Forum: Plugin Development Support
- Topic: Block round end
- Replies: 9
- Views: 8176
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...
- Tue Oct 16, 2018 12:16 am
- Forum: Plugin Development Support
- Topic: Clan Tag in CS:GO
- Replies: 7
- Views: 7143
- Mon Oct 15, 2018 3:59 am
- Forum: Plugin Development Support
- Topic: Block round end
- Replies: 9
- Views: 8176
Block round end
How would I be able to emulate this into python
I'm guessing using PreHook but I'm not sure on what entity or if there is an easier way
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
- Fri Oct 12, 2018 10:07 pm
- Forum: Plugin Development Support
- Topic: Clan Tag in CS:GO
- Replies: 7
- Views: 7143
Re: Clan Tag in CS:GO
I think this is happening again or I am doing something wrong
- Thu Sep 27, 2018 3:55 pm
- Forum: General Discussion
- Topic: Permmissions question
- Replies: 2
- Views: 4214
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?
- Wed Mar 21, 2018 6:12 am
- Forum: Plugin Development Support
- Topic: EntityPostHook on start_touch
- Replies: 2
- Views: 2871
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...
- Tue Mar 20, 2018 3:20 pm
- Forum: Plugin Development Support
- Topic: EntityPostHook on start_touch
- Replies: 2
- Views: 2871
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...