Search found 261 matches

by Kami
Fri Jan 15, 2016 8:29 pm
Forum: Plugin Releases
Topic: Simple Deagle Headshot Only
Replies: 9
Views: 8848

Simple Deagle Headshot Only

Here is a simple deagle headshot-only plugin for you guys. Nothing fancy but it does the job! from events.hooks import PreEvent from events import Event from weapons.entity import Weapon from entities.helpers import index_from_inthandle from players.entity import Player from players.helpers import i...
by Kami
Thu Jan 14, 2016 5:33 pm
Forum: General Discussion
Topic: Source Python not starting
Replies: 2
Views: 2778

Oh, sorry, I forgot to search the forum.... Thank you very much!
by Kami
Thu Jan 14, 2016 4:54 pm
Forum: General Discussion
Topic: Source Python not starting
Replies: 2
Views: 2778

Source Python not starting

Hey guys, while trying to put SourcePython on a CS:GO server I got this error message: [Source.Python] Loading... Traceback (most recent call last): File "/home/sid_89796/csgo/csgo/addons/source-python/packages/source-python/__init__.py", line 35, in load setup_hooks() File "/home/sid_89796/csgo/csg...
by Kami
Wed Jan 13, 2016 5:28 pm
Forum: Plugin Development Support
Topic: m_flStepSize not found (csgo)
Replies: 2
Views: 2444

Oh okay, I did not know that. Thank you very much!
by Kami
Wed Jan 13, 2016 4:59 pm
Forum: Plugin Development Support
Topic: m_flStepSize not found (csgo)
Replies: 2
Views: 2444

m_flStepSize not found (csgo)

Hey guys, I'm trying to change the players Stepsize in CSGO with this: from players.entity import Player from commands.say import SayCommand from entities.entity import Entity @SayCommand('test') def _test_command(command, index, team=None): player = Player(index) pla...
by Kami
Mon Jan 04, 2016 5:00 pm
Forum: Plugin Development Support
Topic: Respawn player (csgo)
Replies: 30
Views: 18313

Awesome, this worked! I am trying to create a killcam (which due to a bug hl2dm seems to have with observer mode works quite well). But changing the observer mode seems to remove the players ability to press buttons and respawning in hl2dm requires you to press attack. Thank you very much!
by Kami
Mon Jan 04, 2016 4:41 pm
Forum: Plugin Development Support
Topic: Respawn player (csgo)
Replies: 30
Views: 18313

Ah okay. The game would be hl2dm. So is there currently no way to respawn someone outside of CSS?
by Kami
Mon Jan 04, 2016 4:21 pm
Forum: Plugin Development Support
Topic: Respawn player (csgo)
Replies: 30
Views: 18313

Hey guys, since I can't seem to find a respawn function anywhere, how would you go about respawning a player now?
by Kami
Tue Dec 29, 2015 2:35 pm
Forum: Plugin Development Support
Topic: Jetpack with timer
Replies: 3
Views: 2618

Thank you very much satoon, this really helped me out a lot! :)
by Kami
Sun Dec 27, 2015 6:32 pm
Forum: Plugin Development Support
Topic: Jetpack with timer
Replies: 3
Views: 2618

Jetpack with timer

Hey guys, I've run into a strange error. So I tried using player.set_jetpack and after 5 seconds removing it with this line: timer_jet = tick_delays.delay(5, player.set_jetpack(0)) Now with that line I get an error from the tick.py saying "NoneType object is not callable"- Other timers worked just f...
by Kami
Mon Dec 21, 2015 3:40 pm
Forum: Plugin Development Support
Topic: Get client aspect ratio or screen resolution
Replies: 3
Views: 3233

Not sure if this helps, but wouldn't a certain aspect ratio mean the player has a certain FOV? So maybe you could get the FOV of the player and translate that to aspect ratio?^^
by Kami
Sat Dec 19, 2015 2:14 pm
Forum: Plugin Development Support
Topic: Smoketraill
Replies: 4
Views: 3799

Awesome this worked :D Didn't know about some of the functions you used so thanks for those too!
by Kami
Sat Dec 19, 2015 12:16 pm
Forum: Plugin Development Support
Topic: Smoketraill
Replies: 4
Views: 3799

Smoketraill

by Kami
Tue Oct 13, 2015 4:05 pm
Forum: Plugin Development Support
Topic: CSGO: Distance between two players
Replies: 4
Views: 3244

Awesome, thank you!
by Kami
Tue Oct 13, 2015 3:55 pm
Forum: Plugin Development Support
Topic: CSGO: Distance between two players
Replies: 4
Views: 3244

Thank you very much! I'm afraid I am more than rusty with all of this so could you please tell me if this is the right use: from mathlib import Vector import players player_orig = players.get_abs_origin(player_index) other_orig = players.get_abs_origin(other_index) distance = player_...
by Kami
Tue Oct 13, 2015 3:16 pm
Forum: Plugin Development Support
Topic: CSGO: Distance between two players
Replies: 4
Views: 3244

CSGO: Distance between two players

Hey guys, I'm currently trying to find a way to get the distance between two players. I could propably do it via some vector math, but maybe there is already something in the modules?

Thank you :)
by Kami
Thu Oct 30, 2014 5:04 pm
Forum: Plugin Development Support
Topic: Effects
Replies: 2
Views: 2647

Awesome! Thank you very much.
by Kami
Thu Oct 30, 2014 2:25 pm
Forum: Plugin Development Support
Topic: Effects
Replies: 2
Views: 2647

Effects

Hey guys,

I just recently got back to doing some SP and it seems I'm a bit rusty when it comes to coding....

Could anyone please give me an example of how to use the effects package (possibly tempent stuff too)

Thank you very much!
by Kami
Mon Sep 03, 2012 11:48 pm
Forum: Plugin Development Support
Topic: Remove Notify Flag from sv_cheats
Replies: 2
Views: 3997

Works perfect thank you very much.
by Kami
Mon Sep 03, 2012 10:38 pm
Forum: Plugin Development Support
Topic: Remove Notify Flag from sv_cheats
Replies: 2
Views: 3997

Remove Notify Flag from sv_cheats

Hey guys I want to remove the notify flag from sv_cheats but no matter what I try I just cannot get it to work.
Could anyone help me out?

Kami

Go to advanced search