Search found 1256 matches
- Sun Apr 26, 2015 8:57 pm
- Forum: Plugin Development Support
- Topic: How to reset the player's sound to normal on player_blind?
- Replies: 55
- Views: 29037
- Wed Apr 22, 2015 8:55 pm
- Forum: General Discussion
- Topic: Crashes upon map change.
- Replies: 36
- Views: 21929
- Wed Apr 22, 2015 11:07 am
- Forum: Plugin Releases
- Topic: SourcePerms
- Replies: 6
- Views: 6706
- Thu Apr 16, 2015 10:40 pm
- Forum: Plugin Development Support
- Topic: Cs:go color & some weapons
- Replies: 15
- Views: 15649
necavi wrote:
- Set the client's render_fx: https://sm.alliedmods.net/new-api/entit ... ocks/__raw has a list of the possible values.
Hardcoding values in your code is a bad idea. Use the wrappers, instead. In this specific case: from entities.constants import RenderEffects
- Thu Apr 16, 2015 12:58 am
- Forum: Plugin Development Support
- Topic: get_team_index() - error
- Replies: 3
- Views: 2784
- Sun Apr 12, 2015 6:20 pm
- Forum: Plugin Development Support
- Topic: point_hurt: cs go
- Replies: 28
- Views: 17811
- Sat Apr 11, 2015 9:07 pm
- Forum: Plugin Development Support
- Topic: CS:GO: tick_delays
- Replies: 2
- Views: 2412
Not a bug. Unless you disabled hibernation on CS:GO, there is no frame when there is no player. Add the following to your command line:
Code: Select all
+sv_hibernate_when_empty 0
- Sat Apr 11, 2015 9:05 pm
- Forum: Plugin Development Support
- Topic: Cs:go signatures
- Replies: 6
- Views: 4841
- Sat Apr 11, 2015 6:43 pm
- Forum: Plugin Development Support
- Topic: Cs:go signatures
- Replies: 6
- Views: 4841
- Tue Apr 07, 2015 6:51 pm
- Forum: Plugin Development Support
- Topic: point_hurt: cs go
- Replies: 28
- Views: 17811
Hm, yeah. Also added as a signature for orangebox but we can certainly add it as a virtual method. Replace the virtual_function section of your ../data/source-python/entities/managers/engines/csgo/CBaseEntity.ini file to the following: [virtual_function] # _ZN11CBaseEntity18PassesDamageFilterERK15CT...
- Tue Apr 07, 2015 5:06 pm
- Forum: News & Announcements
- Topic: Feature Requests
- Replies: 28
- Views: 58552
- Tue Apr 07, 2015 5:03 pm
- Forum: Plugin Development Support
- Topic: point_hurt: cs go
- Replies: 28
- Views: 17811
You need to define the attacker as the caller:
Syntax: Select all
point.call_input("Hurt", caller=attacker.index)
- Tue Apr 07, 2015 3:00 pm
- Forum: News & Announcements
- Topic: Feature Requests
- Replies: 28
- Views: 58552
- Tue Apr 07, 2015 3:01 am
- Forum: Code examples / Cookbook
- Topic: Particle effects!
- Replies: 36
- Views: 86837
Easiest way to do that from what I remember is to open the model in the HL Model Viewer, it lists the attachment points and shows you where they are on the model. Or dump them dynamically. :) # ../testing/testing.py # ============================================================================ # >>...
- Sun Apr 05, 2015 6:29 pm
- Forum: Plugin Development Support
- Topic: CSGO: check player is disconnected
- Replies: 11
- Views: 7748
- Sun Apr 05, 2015 2:59 pm
- Forum: Plugin Development Support
- Topic: CSGO: check player is disconnected
- Replies: 11
- Views: 7748
- Sun Apr 05, 2015 2:26 pm
- Forum: Plugin Development Support
- Topic: CSGO: check player is disconnected
- Replies: 11
- Views: 7748
Hm yeah, good point
Syntax: Select all
@Event
def player_disconnect(game_event):
# Are we the last player on the server?
if len(PlayerIter(['t', 'ct']) == 1:
engine_server.server_command('killserver;')
- Sun Apr 05, 2015 2:09 pm
- Forum: Plugin Development Support
- Topic: CSGO: check player is disconnected
- Replies: 11
- Views: 7748
Or even shorter ^^
Syntax: Select all
@Event
def player_disconnect(game_event):
# Are we the last player on the server?
if len(list(PlayerIter())) == 1:
engine_server.server_command('killserver;')
- Sat Apr 04, 2015 9:36 pm
- Forum: Plugin Development Support
- Topic: CSGO: update team score
- Replies: 4
- Views: 3848
Ayuto just tested and seems that the KeyValue retrieved using <CTeam>.team always returns zero. We will do the change but the following proved to works, for now:
Syntax: Select all
if entity.get_property_int('m_iTeamNum') != team:
- Sat Apr 04, 2015 9:22 pm
- Forum: Plugin Development Support
- Topic: CSGO: update team score
- Replies: 4
- Views: 3848