Hello!
Is it possible to generate the wiki offline?(SourcePython dev docs)
Search found 88 matches
- Sun Sep 18, 2016 11:09 am
- Forum: Plugin Releases
- Topic: Bomb Money
- Replies: 8
- Views: 9129
Re: Bomb Money
Nice plugin! ... Thanks! DONTRECORD, I didn't test it, I thought it would not notify any change to the convar, but I was wrong, remove it, not using any convars. Added player check, and a new convar // Default Value: 1 // Reward bots too? can be 1 (true) or 0 (false). bomb_reward_bo...
- Sat Sep 17, 2016 11:52 pm
- Forum: Plugin Releases
- Topic: Bomb Money
- Replies: 8
- Views: 9129
Re: Bomb Money
Nice! :smile: Just wanted to let you know that you are missing a comma in line 36. Instead of this if GAME_NAME not in ('csgo'): it should look like this: if GAME_NAME not in ('csgo',): Thanks, updated :) Congratulations on the first published plugin! Thanks for all ...
- Sat Sep 17, 2016 10:59 pm
- Forum: Plugin Releases
- Topic: Bomb Money
- Replies: 8
- Views: 9129
Bomb Money
About Give money to bomb planter(bomb has to successfully explode) and to bomb defuser. Supports translations (translation file is 'bombmoney.ini' and can be found inside the folder ../resource/source-python/translations/). Cvars The plugin will automatically generate a config file (can be found in...
- Wed Sep 14, 2016 10:50 pm
- Forum: Plugin Requests
- Topic: CTBAN with time and menu
- Replies: 13
- Views: 10108
Re: CTBAN with time and menu
Updated :D Also updated the add_ban method to remove a banned player from leavers and freekillers. Moreover, track_leaver and track_freekiller will no longer track banned players. Also, if somebody did manage to exploit this plugin, maybe register a player_team event listener and move such players ...
- Tue Sep 13, 2016 1:39 pm
- Forum: Plugin Requests
- Topic: CTBAN with time and menu
- Replies: 13
- Views: 10108
Re: CTBAN with time and menu
Okay, to avoid confusion, I should've probably called it "auto-selection option", not autobalance. I didn't mean that thing that switches players from time to time automatically, I specifically meant "auto-select" button when you press M or join the server. You're right, just te...
- Tue Sep 13, 2016 1:25 pm
- Forum: Plugin Requests
- Topic: CTBAN with time and menu
- Replies: 13
- Views: 10108
Re: CTBAN with time and menu
Ayuto, what happens if player chooses autobalance (0)? If it's a jail server (which I assume it is), autobalance would always send you to CT team as there're always much more T players than CT. Autobalancing also happens not only when you do jointeam 0 , but also when you call jointeam with no or w...
- Thu Sep 08, 2016 7:22 pm
- Forum: Plugin Requests
- Topic: Speed + Gravity
- Replies: 3
- Views: 4554
Re: Speed + Gravity
Should the gravity and speed reset on each new round? New map?
- Thu Sep 08, 2016 11:53 am
- Forum: General Discussion
- Topic: Editing Auth files require server restart
- Replies: 2
- Views: 2817
Re: Editing Auth files require server restart
Unless I am mistaken, you should be able to use the following server command: sp auth backend set <backend> That will unload the current backend, even if it is the same as what you are setting it to, and load the one you want. sp auth backend set flatfile [strike]Not working, "backend flatfile...
- Wed Sep 07, 2016 11:25 pm
- Forum: General Discussion
- Topic: Editing Auth files require server restart
- Replies: 2
- Views: 2817
Editing Auth files require server restart
Hello!
I've been trying to use the auth module, so far so good, however, editing the files doesnt take effect, only a fully server restart does so.
Changing map / Reloading plugin doesn't. Am I doing something wrong?
I've been trying to use the auth module, so far so good, however, editing the files doesnt take effect, only a fully server restart does so.
Changing map / Reloading plugin doesn't. Am I doing something wrong?
- Wed Sep 07, 2016 9:33 pm
- Forum: Plugin Development Support
- Topic: An auth example use please
- Replies: 3
- Views: 3148
Re: An auth example use please
http://wiki.sourcepython.com/general/config-auth.html http://wiki.sourcepython.com/developing/module_tutorials/auth.html The command API also utilizes the auth API. Example: from commands.typed import TypedSayCommand @TypedSayCommand('!add', 'math.add') def on_add(comman...
- Wed Sep 07, 2016 9:22 pm
- Forum: Plugin Development Support
- Topic: An auth example use please
- Replies: 3
- Views: 3148
An auth example use please
Can You please show me how to use the auth example ?Thanks
- Fri Sep 02, 2016 4:05 pm
- Forum: Whatever
- Topic: Does anyone use PyCharm?
- Replies: 16
- Views: 14584
Re: Does anyone use PyCharm?
Ok, sorry, on Windows, the 5 buttons are on the upper right and are listed vertically. Choose the bottom one of those 5. And the plus-sign on the next page is on the upper right, as well. I'm assuming that might have been your issue, but "I can't apply this" doesn't really help to solve t...
- Fri Sep 02, 2016 3:05 pm
- Forum: Whatever
- Topic: Does anyone use PyCharm?
- Replies: 16
- Views: 14584
Re: Does anyone use PyCharm?
Don't add external libraries like ../addons/source-python/package/source-python/ as Content Roots, add them as external libraries. To do this, go into Project Interpreter, click the "gear" on the right side of the Project Interpreter line, and select "More...". Then, while your ...
- Fri Sep 02, 2016 2:38 pm
- Forum: General Discussion
- Topic: ArcRPG: Proof of concept
- Replies: 23
- Views: 17048
Re: ArcRPG: Proof of concept
Wow... impressive
- Fri Sep 02, 2016 2:30 pm
- Forum: Plugin Development Support
- Topic: How to get args using SayCommand?
- Replies: 9
- Views: 6342
Re: How to get args using SayCommand?
offtopic: whats the point of "Notifications"(Forums)? It doesnt notify me if someone posted on my thread You should see the number of notifications you have above the following icon: notifications.PNG If you click on that bell, you will be redirected to your notifications feed: http://for...
- Fri Sep 02, 2016 2:29 pm
- Forum: Whatever
- Topic: Does anyone use PyCharm?
- Replies: 16
- Views: 14584
Re: Does anyone use PyCharm?
Thanks a lot iPlayer!
- Fri Sep 02, 2016 1:49 pm
- Forum: Plugin Development Support
- Topic: How to get args using SayCommand?
- Replies: 9
- Views: 6342
Re: How to get args using SayCommand?
Ayuto wrote:Yes, all you need to do is returning CommandReturn.BLOCK. If nothing was returned, it will handle it like CommandReturn.CONTINUE.
Thanks!
offtopic: whats the point of "Notifications"(Forums)? It doesnt notify me if someone posted on my thread
- Fri Sep 02, 2016 1:31 pm
- Forum: Plugin Development Support
- Topic: How to get args using SayCommand?
- Replies: 9
- Views: 6342
Re: How to get args using SayCommand?
satoon101 wrote:Whether 'say' or 'say_team' was used when issuing the command.
Does it support(SayCommand) silent commands?
- Fri Sep 02, 2016 12:49 pm
- Forum: Plugin Development Support
- Topic: How to get args using SayCommand?
- Replies: 9
- Views: 6342
Re: How to get args using SayCommand?
from commands.say import SayCommand @SayCommand('!respawn') def on_respawn(command, index, team_only): print('Arg 0:', command[0]) print('All args:', tuple(command)) Though, if you want a more intelligent and secure way, you should tak...