Search found 141 matches
- Fri Jun 19, 2015 12:16 pm
- Forum: Plugin Releases
- Topic: simple death and kill streaks tracker
- Replies: 16
- Views: 13729
Yes, if the player suicides attacker id equals victim id, which means in your script suicides won't count as deaths (in case of self explosive damage or falldamage). You also might want to check if the attacker userid != -1, otherwise this will give you a conversion error: attacker = index_from_user...
- Thu Jun 18, 2015 8:52 pm
- Forum: Plugin Releases
- Topic: simple death and kill streaks tracker
- Replies: 16
- Views: 13729
- Wed Jun 10, 2015 7:56 pm
- Forum: Plugin Development Support
- Topic: [CSS] Creating a usable, destroyable prop.
- Replies: 8
- Views: 7179
- Wed Jun 10, 2015 6:22 pm
- Forum: Plugin Development Support
- Topic: [CSS] Creating a usable, destroyable prop.
- Replies: 8
- Views: 7179
- Mon Jun 08, 2015 4:09 pm
- Forum: Plugin Development Support
- Topic: ConVar - equivalent to RegisterConVarChanges
- Replies: 9
- Views: 7495
- Fri Jun 05, 2015 6:56 pm
- Forum: General Discussion
- Topic: Python's eval() function
- Replies: 9
- Views: 7310
- Mon Jun 01, 2015 9:23 pm
- Forum: General Discussion
- Topic: Few questions regarding S.P and SourceMod
- Replies: 18
- Views: 14053
- Mon Jun 01, 2015 11:55 am
- Forum: General Discussion
- Topic: Few questions regarding S.P and SourceMod
- Replies: 18
- Views: 14053
1. Yes, I haven't experienced any crashes. 2. Yes, for mysql you can use PyMySQL . (Maybe this should be integrated into the site-packages folder?) For cookies, Python provides besides sqlite3 pickle , which is very easy to use. 3. Well, SourcePython provides Python ;) Every script you can write in ...
- Fri May 22, 2015 9:46 pm
- Forum: Plugin Development Support
- Topic: [BMS] r_screenoverlay not working
- Replies: 7
- Views: 5882
- Fri May 22, 2015 6:33 pm
- Forum: Plugin Development Support
- Topic: [BMS] r_screenoverlay not working
- Replies: 7
- Views: 5882
Okay. To remove/add the notifying from sv_cheats in chat, I need to do it this way?
Syntax: Select all
from cvars import cvar
from cvars.flags import ConVarFlags
cheats = cvar.find_var('sv_cheats')
cheats.remove_flags(ConVarFlags.NOTIFY)
cheats.add_flags(ConVarFlags.NOTIFY)
- Fri May 22, 2015 6:23 pm
- Forum: Plugin Development Support
- Topic: [BMS] r_screenoverlay not working
- Replies: 7
- Views: 5882
- Fri May 22, 2015 6:16 pm
- Forum: Plugin Development Support
- Topic: [BMS] r_screenoverlay not working
- Replies: 7
- Views: 5882
[BMS] r_screenoverlay not working
Hey, I've tried to display an overlay using client command r_screenoverlay. This works in all other games, but not in BMS because sv_cheats 1 must be enabled even to enforce this on a player from the server. from filters.players import PlayerIter from engines.server import engine_server from entitie...
- Thu May 07, 2015 10:12 pm
- Forum: General Discussion
- Topic: SP for Black Mesa?
- Replies: 17
- Views: 11933
Uploaded all files from server/bin/ and server/bms/bin/:
https://mega.co.nz/#!nAoj3bjZ!1Gis2p_ygIF8o9k9v-u04GS3VckZnSTkwt6c4Z4rpZU
EngineTraceInterface003 has been updated to EngineTraceInterface004 (SP crashed server on startup).
https://mega.co.nz/#!nAoj3bjZ!1Gis2p_ygIF8o9k9v-u04GS3VckZnSTkwt6c4Z4rpZU
EngineTraceInterface003 has been updated to EngineTraceInterface004 (SP crashed server on startup).
- Tue May 05, 2015 2:45 pm
- Forum: Plugin Development Support
- Topic: Check if entity hits ground/wall/other entity
- Replies: 1
- Views: 2394
- Sun May 03, 2015 3:48 pm
- Forum: Plugin Development Support
- Topic: Check if entity hits ground/wall/other entity
- Replies: 1
- Views: 2394
Check if entity hits ground/wall/other entity
I want to spawn a prop_physics in the air and check when it's hitting the ground / a wall or any other entity. Is there a clean way to do so?
For the ground check, I have tried m_hGroundEntity, but it always returns 0 no matter what. (game csgo)
Thanks for any help.
For the ground check, I have tried m_hGroundEntity, but it always returns 0 no matter what. (game csgo)
Thanks for any help.
- Tue Apr 07, 2015 4:32 pm
- Forum: News & Announcements
- Topic: Feature Requests
- Replies: 28
- Views: 68035
- Tue Apr 07, 2015 11:42 am
- Forum: News & Announcements
- Topic: Feature Requests
- Replies: 28
- Views: 68035
- Sun Apr 05, 2015 1:05 pm
- Forum: Plugin Development Support
- Topic: CSGO: check player is disconnected
- Replies: 11
- Views: 7824
- Sun Apr 05, 2015 12:48 pm
- Forum: Plugin Development Support
- Topic: CSGO: check player is disconnected
- Replies: 11
- Views: 7824
- Tue Mar 31, 2015 2:05 pm
- Forum: Plugin Development Support
- Topic: Check if entity exists?
- Replies: 4
- Views: 4001