Search found 88 matches

by Kill
Fri Nov 04, 2016 6:54 pm
Forum: Plugin Releases
Topic: Auto Respawn
Replies: 22
Views: 19694

Re: Auto Respawn

Updated.
Removed the ConVar listener.
by Kill
Fri Nov 04, 2016 4:07 pm
Forum: Plugin Development Support
Topic: Admin Chat
Replies: 4
Views: 4359

Re: Admin Chat

You can also add a callback that gets called when an unauthorized player tries to execute the command. from commands.typed import TypedClientCommand ... def on_test_failed(command_info, args): NO_PERMISSION_ERROR.send(command_info.index) @TypedSayCommand(TSAY_COMMANDS, ADMIN_CHA...
by Kill
Fri Nov 04, 2016 3:44 pm
Forum: Plugin Development Support
Topic: Admin Chat
Replies: 4
Views: 4359

Re: Admin Chat

I would recommend using TypedSayCommand instead of regular one. It supports permissions out-of-the-box, handles the case with invalid permissions, and has a really convenient way of providing you the arguments. http://wiki.sourcepython.com/developing/module_tutorials/commands.html#using-permissions...
by Kill
Fri Nov 04, 2016 3:26 pm
Forum: Plugin Development Support
Topic: Admin Chat
Replies: 4
Views: 4359

Admin Chat

I started working on this, but since I'm quite new to Python, and Source.Python, I'd love to hear from You guys, and make this better. The plugin will support @, @@(from a player to admins), csay, hsay... Plugin: # ----- Imports --------- # ----- Source.Python --- from config.manager import ConfigMa...
by Kill
Thu Nov 03, 2016 6:54 pm
Forum: Plugin Development Support
Topic: Removal of print?
Replies: 25
Views: 15343

Re: Removal of print?

What is the output you get using the following? import sys from core import console_message console_message(str(sys.stdout)) for x in dir(sys.stdout): console_message(x + ' = ' + str(getattr(sys.stdout, x)) + '\n') It never worked for ...
by Kill
Fri Oct 28, 2016 1:09 pm
Forum: Plugin Releases
Topic: [CS:GO] AdPurge
Replies: 3
Views: 5582

Re: [CS:GO] AdPurge

Nice!
by Kill
Sun Oct 23, 2016 11:20 am
Forum: Plugin Releases
Topic: Auto Respawn
Replies: 22
Views: 19694

Re: Auto Respawn

Ayuto wrote:I guess you got me wrong. You don't need the convar listener. Just remove the convar listener part.


Can You please show me some code to help me understand? Thanks!
by Kill
Sat Oct 22, 2016 3:56 pm
Forum: Plugin Development Support
Topic: Check if Entity exists
Replies: 14
Views: 8813

Re: Check if Entity exists

Maybe try to retrieve the entity Index, If it exists then continue?
by Kill
Wed Oct 19, 2016 2:10 pm
Forum: Plugin Releases
Topic: Auto Respawn
Replies: 22
Views: 19694

Re: Auto Respawn

Ayuto wrote:
Kill wrote:
L'In20Cible wrote:...


Thanks :)

Updated the plugin, added player check, translation, changed SayText2 and added a ConVar listener.
by Kill
Tue Oct 18, 2016 3:38 pm
Forum: Plugin Releases
Topic: Auto Respawn
Replies: 22
Views: 19694

Re: Auto Respawn

Thanks for the info guys! Cool plugin! Here are few points: ⋅ Instead of having a function that call the spawn method on the passed player, you could simply delay that method to be called: Delay(cvars['autorespawn_delay'].get_int(), player.spawn) However, I would no...
by Kill
Tue Oct 18, 2016 1:53 pm
Forum: Plugin Releases
Topic: Auto Respawn
Replies: 22
Views: 19694

Auto Respawn

About Automatically respawn players after their death. Translation The plugin supports translation( autorespawn at ../resource/source-python/translations) Cvars The plugin will automatically generate a config file (can be found inside the folder ../cfg/source-python) autorespawn_enable 1 // Enable ...
by Kill
Sun Oct 09, 2016 2:32 pm
Forum: General Discussion
Topic: Source-Python for CS:S
Replies: 12
Views: 9152

Re: Source-Python for CS:S

You're doing something wrong my friend, add -debug to your startup cmdline, I've it running just fine.
by Kill
Sat Oct 08, 2016 11:29 pm
Forum: Whatever
Topic: Happy Birthday La Muerte and NightHawk!
Replies: 2
Views: 5266

Happy Birthday La Muerte and NightHawk!

Happy birthday to You lads, wish long and prosper life!
by Kill
Sat Oct 08, 2016 7:58 pm
Forum: Plugin Development Support
Topic: List all players except menu selector
Replies: 2
Views: 2713

Re: List all players except menu selector

iPlayer wrote:Given you have the index of the player who perfomed menu selection, you can do this

Syntax: Select all

for player in PlayerIter("all"):
if player.index != index:
my_menu.append(player.name)



Hmmm, I tried that, but was using the wrong arg... Thanks!
by Kill
Sat Oct 08, 2016 7:22 pm
Forum: Plugin Development Support
Topic: List all players except menu selector
Replies: 2
Views: 2713

List all players except menu selector

Hello, I've been trying to do so without success, how is it possible to show all the players in a menu except the player who made the menu selection? for player in PlayerIter("all"): my_menu.append(player.name) # Show all the player except the player who made the selection
by Kill
Sat Sep 24, 2016 11:18 pm
Forum: Custom Packages
Topic: Custom Communication Port (CCP)
Replies: 1
Views: 17194

Re: Custom Communication Port (CCP)

This is amazing, well done iPlayer!
by Kill
Sat Sep 24, 2016 7:23 pm
Forum: Plugin Releases
Topic: Bomb Money
Replies: 8
Views: 8740

Re: Bomb Money

Since you don't have a repo for this, I'll post Russian translations here [bomb_plant_reward] en = "{cp} You have been given {color}{money}$\x01 for planting the bomb." es = "{cp} Has ganado {color}{money}$\x01 por plantar la bomba." ru = "{cp} Вам были начислены {color}${m...
by Kill
Fri Sep 23, 2016 8:28 pm
Forum: General Discussion
Topic: Builds > Download
Replies: 2
Views: 3084

Builds > Download

Hello,

I believe it's pretty confusing to find a download link, why not make the main domain(sourcepython.com) a download page, with builds... etc, and put the forum, wiki... links there?
by Kill
Wed Sep 21, 2016 10:49 am
Forum: Whatever
Topic: Sphinx
Replies: 3
Views: 4878

Re: Sphinx

Yes, it is! Checkout the "Contributing" page: http://wiki.sourcepython.com/contributing/contributing.html#contributing-to-the-wiki Awesome, thanks! There is some warnings when the build process is complete: [SP] Encountered a Warning: File '..addons\source-python\packages\site-packages\sp...
by Kill
Wed Sep 21, 2016 9:51 am
Forum: General Discussion
Topic: ArcRPG: Proof of concept
Replies: 23
Views: 16858

Re: ArcRPG: Proof of concept

omg bots wrecking You.



Well done on ArcRPG!

Go to advanced search