Search found 416 matches
- Thu Mar 31, 2016 11:00 pm
- Forum: Plugin Development Support
- Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
- Replies: 84
- Views: 58248
- Tue Mar 29, 2016 4:15 pm
- Forum: Plugin Development Support
- Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
- Replies: 84
- Views: 58248
The cleanest way would be to hook SayText2, get the msg_name, and override it if the message is a normal chat message. That would also help to keep the same RecipientFilter on say_team as well as dead/spec player chat. Im not realy understanding the way how to override it, the example in the link s...
- Tue Mar 29, 2016 11:44 am
- Forum: Plugin Development Support
- Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
- Replies: 84
- Views: 58248
- Tue Mar 29, 2016 11:39 am
- Forum: Plugin Development Support
- Topic: Register Tick on a Function
- Replies: 2
- Views: 2468
- Tue Mar 29, 2016 12:49 am
- Forum: Plugin Development Support
- Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
- Replies: 84
- Views: 58248
Modifying chat with sayfilter but SayCommand doesnt "register"
Hey, I talked already to Ayuto about my problem but maybe you can help me out there. So I'm modifying my chat currently with the SayFilter & coloring it and sending it modified out with SayText2, but my problem is when you CommandReturn.BLOCK the sayfilter (so the old message wont get shown) the Say...
- Tue Mar 29, 2016 12:46 am
- Forum: Plugin Development Support
- Topic: Register Tick on a Function
- Replies: 2
- Views: 2468
Register Tick on a Function
Hey, is it actually possible to set up a Tick listener on a function?
like
registerTickListener(functionname)
unregisterTickListener(functionname)
like
registerTickListener(functionname)
unregisterTickListener(functionname)
- Fri Mar 25, 2016 8:40 pm
- Forum: Plugin Development Support
- Topic: choice_index == 0
- Replies: 1
- Views: 1986
choice_index == 0
Hey,
Is there a way to return the menu when the player trys to close it via "0"?
I tried it with choice_index == 0 but it didnt worked or more nothing happens
Is there a way to return the menu when the player trys to close it via "0"?
I tried it with choice_index == 0 but it didnt worked or more nothing happens
- Wed Mar 23, 2016 12:56 pm
- Forum: General Discussion
- Topic: Logging
- Replies: 2
- Views: 2662
- Tue Mar 22, 2016 12:52 am
- Forum: General Discussion
- Topic: Logging
- Replies: 2
- Views: 2662
Logging
How does logging work?
Is it the same like excepthook where the error from afile gets printed and saved into a text file?
I was wondering if I run my plugins on a vserver and wondering when something fails to check it
Is it the same like excepthook where the error from afile gets printed and saved into a text file?
I was wondering if I run my plugins on a vserver and wondering when something fails to check it
- Tue Mar 15, 2016 11:07 pm
- Forum: Plugin Development Support
- Topic: Spectator List
- Replies: 2
- Views: 2466
Spectator List
Hello,
How can I make a list of the players spectators with their playernames?
Lets say Player1 is alive and Player 2 and Player 3 are spectating him, so how can you return ["Player 2", "Player 3"]?
Sorry Mobilecorrector
How can I make a list of the players spectators with their playernames?
Lets say Player1 is alive and Player 2 and Player 3 are spectating him, so how can you return ["Player 2", "Player 3"]?
Sorry Mobilecorrector
- Sat Mar 12, 2016 10:32 pm
- Forum: Plugin Development Support
- Topic: Prevent Double Jump
- Replies: 10
- Views: 8335
- Sat Mar 12, 2016 9:22 pm
- Forum: Plugin Development Support
- Topic: Prevent Double Jump
- Replies: 10
- Views: 8335
- Sat Mar 12, 2016 12:23 pm
- Forum: Plugin Development Support
- Topic: Prevent Double Jump
- Replies: 10
- Views: 8335
- Fri Mar 11, 2016 7:41 pm
- Forum: Plugin Development Support
- Topic: Prevent Double Jump
- Replies: 10
- Views: 8335
- Fri Mar 04, 2016 11:56 pm
- Forum: Plugin Development Support
- Topic: Menu - more options on one page
- Replies: 1
- Views: 1960
Menu - more options on one page
Hey,
Is there something like popuplib2.pagedList where you could list many items on one page with multipage support? Like for example I have a list with 100 steamids, and I want to show 10 of them in one page but they should not be selectable.
Is there something like popuplib2.pagedList where you could list many items on one page with multipage support? Like for example I have a list with 100 steamids, and I want to show 10 of them in one page but they should not be selectable.
- Wed Feb 24, 2016 10:38 pm
- Forum: Plugin Development Support
- Topic: Menu questions
- Replies: 1
- Views: 1733
Menu questions
Hey, Im currently working with the menus and i have a question about it. In the select_callback def sometestcallback(menu, player_index, choice): I dont understand how i can get the integer, seems like choice is a object. 2nd: When i return menu, will the menu be re-created or is the menu sa...
- Wed Feb 24, 2016 12:07 pm
- Forum: Plugin Development Support
- Topic: clientside sv_cheats commands and immune to triggers
- Replies: 25
- Views: 16526
So can we just use the 2 versions for CS:S http://forums.sourcepython.com/showthread.php?1066-clientside-sv_cheats-commands-and-immune-to-triggers&p=6882&viewfull=1#post6882 and CS:GO http://forums.sourcepython.com/showthread.php?1066-clientside-sv_cheats-commands-and-immune-to-triggers&p=7112&viewf...
- Tue Feb 09, 2016 12:08 pm
- Forum: Plugin Development Support
- Topic: <player>.set_name doesnt work
- Replies: 10
- Views: 6235
- Tue Feb 09, 2016 12:06 pm
- Forum: Plugin Development Support
- Topic: <player>.set_name doesnt work
- Replies: 10
- Views: 6235
- Tue Feb 09, 2016 11:14 am
- Forum: Plugin Development Support
- Topic: Give nightvision
- Replies: 4
- Views: 3415