i think it's because im not doing it like that but im "creating/getting" a new edict_t before getting it ?
basicly in player jump u set it and in player_say i would receieve it for example
Search found 197 matches
- Sun Dec 09, 2012 8:19 pm
- Forum: Plugin Development Support
- Topic: edict_t.GetKeyValue() problem
- Replies: 6
- Views: 6468
- Sun Dec 09, 2012 7:17 pm
- Forum: Plugin Development Support
- Topic: edict_t.GetKeyValue() problem
- Replies: 6
- Views: 6468
edict_t.GetKeyValue() problem
i can set the keyvalue 'gravity' with out any problem and it works perfectly but when i want to get the value but i get 0.0 when infacts it's no where near that value..
Engine bug or source python problem ?
Engine bug or source python problem ?
- Sun Dec 09, 2012 6:03 pm
- Forum: Plugin Development Support
- Topic: Damaging player via point_hurt
- Replies: 6
- Views: 6798
- Sun Dec 09, 2012 1:25 pm
- Forum: Plugin Development Support
- Topic: Damaging player via point_hurt
- Replies: 6
- Views: 6798
- Thu Dec 06, 2012 6:47 pm
- Forum: Plugin Development Support
- Topic: Damaging player via point_hurt
- Replies: 6
- Views: 6798
Damaging player via point_hurt
Is this being worked on the - player.health is kinda rather buggy to use since it can crash clients if he is set to be on zero health :/
If it has already been added please post an example need this feature :P
If it has already been added please post an example need this feature :P
- Thu Dec 06, 2012 4:14 pm
- Forum: Plugin Development Support
- Topic: es.getmaxplayercount() equivalent
- Replies: 3
- Views: 4629
Here you go (copied from addons\source-python\_libs\players\entity.py):
Syntax: Select all
GameEngine.GetClientConVarValue(self.info, 'cl_language')
- Wed Dec 05, 2012 8:16 pm
- Forum: Plugin Development Support
- Topic: UserMessage Menu
- Replies: 15
- Views: 13233
No you can't force a client to bind a key. And I doubt you can get which command is bound to it since the server doesn't have to know that directly so well, why sending more data than needed? Not sure if it works on CSGO but on CSS, you can print them into a hudhint message. In example: Press %+jum...
- Wed Dec 05, 2012 7:49 pm
- Forum: Plugin Development Support
- Topic: UserMessage Menu
- Replies: 15
- Views: 13233
- Wed Dec 05, 2012 7:35 pm
- Forum: Plugin Development Support
- Topic: UserMessage Menu
- Replies: 15
- Views: 13233
- Wed Dec 05, 2012 7:20 pm
- Forum: Plugin Development Support
- Topic: UserMessage Menu
- Replies: 15
- Views: 13233
- Wed Dec 05, 2012 4:07 pm
- Forum: Plugin Development Support
- Topic: Players transparency
- Replies: 12
- Views: 10671
- Wed Dec 05, 2012 4:31 am
- Forum: Plugin Development Support
- Topic: Players transparency
- Replies: 12
- Views: 10671
The issue with that is that if you need them multiple times, you end up wasting the time to retrieve them. If you are not worried about any minimal speed difference, then I really don't see what the issue would be with storing those values on instanciation. Also, we require the index to get an inst...
- Wed Dec 05, 2012 4:16 am
- Forum: Plugin Development Support
- Topic: Players transparency
- Replies: 12
- Views: 10671
basicly i only use IPlayerInfo in almost all the cases so basicly i have edict_t as None i only retrieve edict_t if i need it, i'm also storing cached sql database information about user inside it Basicly i felt it was cleaner to take the "engine/source-python" types and only retrieving them if i ne...
- Wed Dec 05, 2012 4:06 am
- Forum: Plugin Development Support
- Topic: Players transparency
- Replies: 12
- Views: 10671
- Tue Dec 04, 2012 7:20 pm
- Forum: Plugin Development Support
- Topic: UserMessage Menu
- Replies: 15
- Views: 13233
- Tue Dec 04, 2012 6:36 pm
- Forum: Plugin Development Support
- Topic: UserMessage Menu
- Replies: 15
- Views: 13233
- Tue Dec 04, 2012 3:07 pm
- Forum: General Discussion
- Topic: Performace like ES2 or SourcePawn
- Replies: 5
- Views: 6513
Since the plugin is still in development, and many things still need to be added to both the C++ side and Python side, it would be almost pointless to have a highlighter. For now, simply use the Python highlighter, as it should suffice. If someone wants to make a basic highlighter, we can try to ke...
- Sun Dec 02, 2012 9:36 pm
- Forum: Plugin Development Support
- Topic: Players transparency
- Replies: 12
- Views: 10671
Players transparency
Okay so back on the "old" forums i posted a request for this to be fixed/discovered I cannot set players transparency in csgo the way css does it, i think it has something to do with we have to set RenderMode but i cannot seem to find any information about rendermode, tried to debug it but...
- Sun Dec 02, 2012 8:23 pm
- Forum: Plugin Development Support
- Topic: UserMessage Menu
- Replies: 15
- Views: 13233
UserMessage Menu
for some reason i can only hit option 1 in menu...... UserMessage = GameEngine.UserMessageBegin(Recipients, 10, None) UserMessage.WriteShort(1) UserMessage.WriteByte(2) UserMessage.WriteByte(0) UserMessage.WriteString(text) GameEngine.MessageEnd() when i change the highlighted i can choose more opti...
- Sun Dec 02, 2012 10:03 am
- Forum: Code examples / Cookbook
- Topic: Stripping weapons
- Replies: 45
- Views: 124318
weapon_pointer = SignatureDictionary['GiveNamedItem'](pointer, 'weapon_awp', 0, True)
Error: signature object is not callable
figured it by reading signature from libs
Error: signature object is not callable
figured it by reading signature from libs
Syntax: Select all
addr = SignatureDictionary['GiveNamedItem']
addr.call_function(pointer, item, 0, True)