Search found 80 matches
- Mon Sep 03, 2012 5:37 am
- Forum: Whatever
- Topic: Custom Maps with CS:GO
- Replies: 11
- Views: 12460
- Sun Sep 02, 2012 8:44 am
- Forum: Plugin Development Support
- Topic: Retreiving 'CBasePlayer.m_iFOV' ?
- Replies: 21
- Views: 19633
I'm not really that much into the player flags why i was asking, I haven't messed around with python's & but the code example i wrote should work ? I am not going to test your code for you. Please test your own code before posting here. Forum Rules If your code has a problem, then come back... But ...
- Sun Sep 02, 2012 8:42 am
- Forum: Plugin Development Support
- Topic: Rules of this forum **READ BEFORE POSTING**
- Replies: 0
- Views: 51389
Rules of this forum **READ BEFORE POSTING**
If you do not follow these rules, you may find your thread deleted or closed. Please follow the rules! ⋅ Search before posting a question! ⋅ Please make sure you test your code before posting about it! If you ask a question about untested code your post/thread may be deleted or ...
- Sun Sep 02, 2012 8:15 am
- Forum: Plugin Development Support
- Topic: Retreiving 'CBasePlayer.m_iFOV' ?
- Replies: 21
- Views: 19633
- Sun Sep 02, 2012 7:12 am
- Forum: Plugin Development Support
- Topic: Retreiving 'CBasePlayer.m_iFOV' ?
- Replies: 21
- Views: 19633
using EasyPlayer it would be:
Syntax: Select all
SomeGuy = EasyPlayer(userid=a['id'])
SomeGuy.GetPropInt('CBasePlayer.m_fFlags')
- Sat Sep 01, 2012 8:27 pm
- Forum: General Discussion
- Topic: entity_edict.cpp question [How to respawn a player]
- Replies: 12
- Views: 12004
- Fri Aug 31, 2012 6:14 am
- Forum: Whatever
- Topic: What I learned with CS:GO server's
- Replies: 15
- Views: 14572
I've ran CS:S servers for 6 years :) The switch wasn't that hard, though I do find it annoying that they are changing their system up again. (Today's update) Welcome to the site! At least they are consistently inconsistent? I'd rather see them get all this out of the way early rather than 6 weeks f...
- Fri Aug 31, 2012 12:26 am
- Forum: Whatever
- Topic: Obama is a redditor?
- Replies: 4
- Views: 6090
- Fri Aug 31, 2012 12:21 am
- Forum: Whatever
- Topic: Obama is a redditor?
- Replies: 4
- Views: 6090
Obama is a redditor?
I really don't care what political party you belong to... I give the man props for doing a AMA on reddit.
http://www.reddit.com/user/PresidentObama
Note:
Absolutely no political opinions in this thread! I posted a link because its interesting.
http://www.reddit.com/user/PresidentObama
Note:
Absolutely no political opinions in this thread! I posted a link because its interesting.
- Thu Aug 30, 2012 9:42 pm
- Forum: General Discussion
- Topic: paths.py suggestion
- Replies: 5
- Views: 6590
- Thu Aug 30, 2012 9:40 pm
- Forum: Plugin Development Support
- Topic: Basic script help
- Replies: 22
- Views: 20004
Sweet, I nailed it. Thanks for the clarification. Since you are also the one working on most of the documentation so far, can we expect to maybe see a reference page with a listing for where and when player is used vs index? I'm assuming again... but it seems like both values are relevant to the en...
- Thu Aug 30, 2012 9:21 pm
- Forum: Plugin Development Support
- Topic: Retreiving 'CBasePlayer.m_iFOV' ?
- Replies: 21
- Views: 19633
Looks great, but just one question. Why don't you merge all (or most, atleast int, float and long) into one method, instead of multiple same methods with just different type? Since C++ does support function overloading, and Python doesn't even have to know anything about it. That is because of how ...
- Thu Aug 30, 2012 7:47 pm
- Forum: General Discussion
- Topic: paths.py suggestion
- Replies: 5
- Views: 6590
if you want to know the path of your addon.. try this:
There are several ways to do it... but this is something that can easily be handled inside python without any libraries.
Syntax: Select all
from os import path
my_file_dir = path.dirname(path.abspath(__file__))
There are several ways to do it... but this is something that can easily be handled inside python without any libraries.
- Thu Aug 30, 2012 5:12 pm
- Forum: Plugin Development Support
- Topic: Basic script help
- Replies: 22
- Views: 20004
Unless that changed after OB, the server actually counts userids well into the hundreds and apparently never reused them. So userid was unique to the player join event. Again, pretty useless other than a faster 'unique' id than asking the client for the steamid (I'm assuming the server doesn't hold...
- Thu Aug 30, 2012 2:46 am
- Forum: API Design
- Topic: How about es.fire/es.give ?
- Replies: 14
- Views: 15792
I would imagine that would work, but that creates more issues than it solves. I agree that skirting sv_cheats is something that should be done almost never, and I especially do not think anything of that sort belongs "in" the plugin itself. If a script does it, that is fine, but we want to avoid su...
- Thu Aug 30, 2012 1:49 am
- Forum: API Design
- Topic: Extended event variables - for player objects and indeces
- Replies: 11
- Views: 12702
- Thu Aug 30, 2012 1:08 am
- Forum: API Design
- Topic: Extended event variables - for player objects and indeces
- Replies: 11
- Views: 12702
Omega, have you seen [wiki]EasyPlayer[/wiki] ?
Syntax: Select all
myPlayer = EasyPlayer(GameEvent.GetInt('userid'))
myPlayer.index
- Wed Aug 29, 2012 5:51 pm
- Forum: API Design
- Topic: How about es.fire/es.give ?
- Replies: 14
- Views: 15792
Absolute wrote:ent_fire? or did they remove that command in csgo?
Looks like that works too!
Code: Select all
ent_fire
Can't use cheat command ent_fire in multiplayer, unless the server has sv_cheats set to 1.
- Wed Aug 29, 2012 3:44 pm
- Forum: API Design
- Topic: How about es.fire/es.give ?
- Replies: 14
- Views: 15792
- Wed Aug 29, 2012 8:52 am
- Forum: API Design
- Topic: How about es.fire/es.give ?
- Replies: 14
- Views: 15792