Search found 140 matches

by nullable
Wed Jul 01, 2015 6:55 pm
Forum: General Discussion
Topic: CSGO: match point
Replies: 4
Views: 4329

Is it impossible?
by nullable
Tue Jun 30, 2015 7:56 pm
Forum: General Discussion
Topic: CSGO: match point
Replies: 4
Views: 4329

CSGO: match point

Is it possible to disable match point in game? I mean if max_rounds=3 all rounds should be played. If it possible please tell me how?
by nullable
Tue Jun 30, 2015 4:50 am
Forum: Plugin Development Support
Topic: Auto spawn
Replies: 21
Views: 13712

OFFTOP: Will it be possible to change the nickname like player.name to the new release?
by nullable
Mon Jun 29, 2015 7:16 pm
Forum: Plugin Development Support
Topic: Auto spawn
Replies: 21
Views: 13712

I have an error when I use player.switch_team [SP] Caught an Exception: Traceback (most recent call last): File '../addons/source-python/packages/source-python/events/listener.py', line 93, in fire_game_event callback(game_event) File '../addons/source-python/plugins/test...
by nullable
Mon Jun 29, 2015 6:53 pm
Forum: Plugin Development Support
Topic: Auto spawn
Replies: 21
Views: 13712

The problem is that all the players die if I run this code in round_end event: [PYTHON]def switch_teams(): for player in PlayerIter(return_types='player'): if player.name in TV_BOTS: continue team_id = Team.CT.value if player.team == Team.TF.value else Team.TF.value player.playerinfo.change_team(tea...
by nullable
Fri Jun 26, 2015 6:44 am
Forum: Plugin Development Support
Topic: CSGO: Check to training round
Replies: 4
Views: 3731

CSGO: Check to training round

How to check if round is training in round_start event?
by nullable
Thu Jun 25, 2015 11:40 am
Forum: Plugin Development Support
Topic: CSGO: strict weapon
Replies: 19
Views: 12408

Can you provide me an example of code?
by nullable
Thu Jun 25, 2015 6:22 am
Forum: Plugin Development Support
Topic: CSGO: strict weapon
Replies: 19
Views: 12408

Is any ideas how to remove extra weapons from the map?
by nullable
Thu Jun 04, 2015 5:10 am
Forum: Plugin Development Support
Topic: CSGO: strict weapon
Replies: 19
Views: 12408

from entities.entity import Entity ... for player in PlayerIter(return_types='player'): player.cash = 0 for weapon_index in player.weapon_indexes(not_filters='knife'): weapon = Entity(weapon_index) player.drop_weapon(weapon.pointer, None, None) remove...
by nullable
Wed Jun 03, 2015 8:36 pm
Forum: Plugin Development Support
Topic: CSGO: strict weapon
Replies: 19
Views: 12408

The problem is that the code does not remove all the weapons from the map and it just takes off. But I need remove all weapons from map.
by nullable
Wed Jun 03, 2015 6:10 am
Forum: Plugin Development Support
Topic: CSGO: Change nick
Replies: 3
Views: 3464

CSGO: Change nick

Is it possible to change player nick in game? If yes how?
by nullable
Wed Jun 03, 2015 6:06 am
Forum: Plugin Development Support
Topic: CSGO: strict weapon
Replies: 19
Views: 12408

After last update sourcepython the code has stopped working: for player in PlayerIter(return_types='player'): player.cash = 0 for weapon_index in player.weapon_indexes(not_filters='knife'): weapon = BaseEntity(weapon_index) player.drop_weapon(weapon.pointe...
by nullable
Sun Apr 05, 2015 10:23 am
Forum: Plugin Development Support
Topic: CSGO: check player is disconnected
Replies: 11
Views: 7747

CSGO: check player is disconnected

I don't understand why my code doesn't work correct. @Event def player_disconnect(game_event): if len(list(PlayerIter('t'))) == 0 or len(list(PlayerIter('ct'))) == 0: engine_server.server_command('killserver;') A...
by nullable
Sun Apr 05, 2015 8:04 am
Forum: Plugin Development Support
Topic: CSGO: update team score
Replies: 4
Views: 3848

Thanks. The problem has been resolved.
by nullable
Sun Apr 05, 2015 7:02 am
Forum: Plugin Development Support
Topic: CSGO: update team score
Replies: 4
Views: 3848

Syntax: Select all

entity.set_property_int('m_scoreTotal', team_score)
doesn't work correct. Because it not set team_score. Please help to resolve it.
by nullable
Sat Apr 04, 2015 9:17 pm
Forum: Plugin Development Support
Topic: CSGO: update team score
Replies: 4
Views: 3848

CSGO: update team score

After updating Source.Python (8 march 2015) the following code stopped working: from filters.entity import EntityIter def set_team_score(team, score): for entity in EntityIter('cs_team_manager', return_types='entity'): if entity.team != team: continue entity.score_tot...
by nullable
Wed Apr 01, 2015 5:49 am
Forum: Plugin Development Support
Topic: Auto spawn
Replies: 21
Views: 13712

Thanks. The problem has been resolved.
by nullable
Wed Apr 01, 2015 5:49 am
Forum: Plugin Development Support
Topic: CSGO: strict weapon
Replies: 19
Views: 12408

Ok. Thanks. The problem has been resolved.
by nullable
Wed Apr 01, 2015 5:26 am
Forum: Plugin Development Support
Topic: CSGO: strict weapon
Replies: 19
Views: 12408

After fix. I have an error: [SP] Caught an Exception: Traceback (most recent call last): File '../addons/source-python/packages/source-python/events/listener.py', line 90, in fire_game_event callback(game_event) File '../addons/source-python/plugins/test/test.py', lin...
by nullable
Tue Mar 31, 2015 7:39 pm
Forum: Plugin Development Support
Topic: CSGO: strict weapon
Replies: 19
Views: 12408

Is any ideas how to fix it in new version?

Go to advanced search