Search found 140 matches

by nullable
Tue Mar 31, 2015 5:57 am
Forum: Plugin Development Support
Topic: CSGO: strict weapon
Replies: 19
Views: 12421

CSGO: strict weapon

The next code stopped work property after update new version of sourcepython. Please help me to fix it. The idea is to strict knife weapon only. from entities.helpers import remove_entity from events import Event from entities.entity import BaseEntity from filters.players import PlayerIter from cont...
by nullable
Mon Mar 30, 2015 8:28 pm
Forum: Plugin Development Support
Topic: Auto spawn
Replies: 21
Views: 13729

Is any ideas how can I change team without callbacks?
by nullable
Mon Mar 30, 2015 4:23 am
Forum: Plugin Development Support
Topic: Auto spawn
Replies: 21
Views: 13729

I tried change my code next: from players.helpers import index_from_userid from players.entity import PlayerEntity from players.constants import LifeState from entities.helpers import spawn_entity from events import Event @Event def player_activate(game_event): userid = game_event.get_int...
by nullable
Sun Mar 29, 2015 5:21 pm
Forum: Plugin Development Support
Topic: Auto spawn
Replies: 21
Views: 13729

The real problem here is that you are only defining the m_nTeamNum property of the player. That is not accurate. PlayerEntity has a defined property for team to get and set a player's team. https://github.com/Source-Python-Dev-Team/Source.Python/blob/master/addons/source-python/packages/source-pyth...
by nullable
Sun Mar 29, 2015 1:40 pm
Forum: Plugin Development Support
Topic: Auto spawn
Replies: 21
Views: 13729

Auto spawn

Hi, Please help me. My code doesn't set a team. from players.helpers import index_from_userid from players.entity import PlayerEntity from entities.helpers import spawn_entity from events import Event @Event def player_activate(game_event): userid = game_event.get_int('userid'...
by nullable
Wed Dec 31, 2014 3:05 pm
Forum: General Discussion
Topic: round end after team is dead
Replies: 3
Views: 3504

The reason is set winner after team is full dead because there is map with bomb.
by nullable
Wed Dec 31, 2014 10:26 am
Forum: General Discussion
Topic: round end after team is dead
Replies: 3
Views: 3504

round end after team is dead

Hello,

How can I force round end after team is dead without round_end command? Is it possible?
by nullable
Tue Dec 30, 2014 7:09 pm
Forum: General Discussion
Topic: Override bot_quota
Replies: 3
Views: 4329

Can you explain how can I set bot_quota in my code?
by nullable
Tue Dec 30, 2014 6:39 pm
Forum: General Discussion
Topic: Override bot_quota
Replies: 3
Views: 4329

Override bot_quota

How can I override bot_quota? The problem is bot_quota set in autoexec.cfg but after this call autoexec.cfg call other config. I don't know which. Please help. autoexex.cfg: bot_quota 0 log: csgoserver@horse:~$ ./csgoserver debug Counter Strike: Global Offensive Debug ============================ Di...
by nullable
Tue Dec 30, 2014 1:44 pm
Forum: General Discussion
Topic: Unknown command "sp"
Replies: 8
Views: 6971

Ayuto, where can I get this file?
by nullable
Tue Dec 30, 2014 1:16 pm
Forum: General Discussion
Topic: Unknown command "sp"
Replies: 8
Views: 6971

csgoserver@horse:~$ ./csgoserver debug Counter Strike: Global Offensive Debug ============================ Distro: Ubuntu 12.04 LTS Arch: i686 Kernel: 3.2.0-24-virtual Hostname: horse Start parameters: ./srcds_run -game csgo -usercon -strictportbind -ip xxx.xxx.xxx.xxx -port 27015 +clientport 27005...
by nullable
Tue Dec 30, 2014 1:01 pm
Forum: General Discussion
Topic: Unknown command "sp"
Replies: 8
Views: 6971

Ubuntu and csgo
by nullable
Tue Dec 30, 2014 12:36 pm
Forum: General Discussion
Topic: Unknown command "sp"
Replies: 8
Views: 6971

Unknown command "sp"

After update source-python from source the server can't found sp command. How can fix it?
by nullable
Mon Dec 15, 2014 8:48 pm
Forum: Plugin Development Support
Topic: CSGO: Change team score
Replies: 5
Views: 4939

As I understand entity it doesn't have score_total. I have print dir object: def set_team_score(team, score): for entity in EntityIter('cs_team_manager', return_types='entity'): if entity.team != team: continue print(dir(entity)) entity.score_total = s...
by nullable
Mon Dec 15, 2014 7:38 pm
Forum: Plugin Development Support
Topic: CSGO: Change team score
Replies: 5
Views: 4939

CSGO: Change team score

Is it possible to change team score in csgo game?
by nullable
Wed Dec 03, 2014 7:26 am
Forum: Plugin Development Support
Topic: Add bot with custom name
Replies: 16
Views: 10448

I changed SFUI_bot_controlled_by and SFUI_bot_decorated_name in file serverfiles/csgo/resource/csgo_english.txt but the result is not no avail. What could be the problem?
by nullable
Tue Dec 02, 2014 9:20 pm
Forum: Plugin Development Support
Topic: Set fake ping for bots
Replies: 3
Views: 3416

I don't understand. Can you show me an example of code?
by nullable
Tue Dec 02, 2014 8:53 pm
Forum: Plugin Development Support
Topic: Set fake ping for bots
Replies: 3
Views: 3416

Set fake ping for bots

Hi,

I found next plugin https://forums.alliedmods.net/showthread.php?p=767048
The question is how to set fake ping for bot which was added by bot_add command?
by nullable
Sun Nov 30, 2014 9:49 am
Forum: Plugin Development Support
Topic: Add bot with custom name
Replies: 16
Views: 10448

The problem is after create a bot the bot is freezing in game. I mean it do nothing. How can fix it?
by nullable
Sat Nov 29, 2014 6:19 pm
Forum: Plugin Development Support
Topic: Add bot with custom name
Replies: 16
Views: 10448

Hmm. When I try to add bot it added without problem but when called event player_connect I have error when I want to get index of player: def load(): bot_manager.create_bot('Cliffe') @Event def player_connect(game_event): userid = game_event.get_int('userid...

Go to advanced search