Search found 1256 matches

by L'In20Cible
Thu Nov 27, 2014 11:52 pm
Forum: Plugin Development Support
Topic: question about menu and repeat
Replies: 14
Views: 9977

That just fixed resuming stopped repeats. Good point. I thought that was added to "start" and not "resume". thanks guys i went and updated my SP with the links from above btw how do i just download the file from the links above?? instead of having to find the file and editing it by myself can't fin...
by L'In20Cible
Thu Nov 27, 2014 10:53 pm
Forum: Plugin Development Support
Topic: question about menu and repeat
Replies: 14
Views: 9977

He is probably using the release download which doesn't include the disconnecting fix and the stopping one.
by L'In20Cible
Thu Nov 27, 2014 4:19 pm
Forum: Plugin Development Support
Topic: Add bot with custom name
Replies: 16
Views: 10394

Code: Select all

]help bot_add
"bot_add"
 game
 - bot_add <t|ct> <type> <difficulty> <name> - Adds a bot matching the given criteria.
by L'In20Cible
Wed Nov 26, 2014 6:44 am
Forum: Plugin Releases
Topic: One Shot One Kill v3.4
Replies: 5
Views: 6732

Syntax: Select all

from players.bot import BotManager
Should be:

Syntax: Select all

from players.bots import bot_manager
However, this will crash if the plugin is loaded via the autoexec.cfg as creating an entity is not possible at this time.
by L'In20Cible
Mon Nov 24, 2014 3:01 pm
Forum: Plugin Development Support
Topic: PlayerEntity.freeze issue
Replies: 10
Views: 7019

Something like this should works just fine: from events import Event from filters.players import PlayerIter from players.entity import PlayerEntity from players.helpers import index_from_userid frozen_players = set() @Event def player_spawn(game_event): userid = game_event.get_int...
by L'In20Cible
Mon Nov 24, 2014 2:50 pm
Forum: Plugin Development Support
Topic: PlayerEntity.freeze issue
Replies: 10
Views: 7019

Like Satoon mentionned, this is getting off-topic. Please, create a new topic if you want further help.
by L'In20Cible
Mon Nov 24, 2014 2:39 pm
Forum: Plugin Development Support
Topic: PlayerEntity.freeze issue
Replies: 10
Views: 7019

Well, you cannot freeze a player on player_spawn. As soon as round_freeze_end fires, players are unfrozen.

EDIT: I took a shower and didn't refresh the thread, heh.
by L'In20Cible
Wed Nov 19, 2014 4:59 am
Forum: Plugin Development Support
Topic: color in hudhint
Replies: 10
Views: 8028

That's awesome! :)
by L'In20Cible
Thu Nov 13, 2014 11:27 pm
Forum: Plugin Development Support
Topic: Custom params in event
Replies: 17
Views: 11163

Same, just tested the exact same code you gave on CS:S and CS:GO - works on both game.
by L'In20Cible
Mon Nov 10, 2014 7:14 pm
Forum: Plugin Development Support
Topic: Info Message
Replies: 12
Views: 8163

Actually, I got it working with the following: from events import Event from filters.recipients import RecipientFilter from _messages import UserMessage @Event def player_jump(game_event): x = RecipientFilter() # Need to keep it alive the time send_message gets called. msg = UserMess...
by L'In20Cible
Mon Nov 10, 2014 5:46 pm
Forum: Plugin Development Support
Topic: Info Message
Replies: 12
Views: 8163

Actually, there is no "msg_name" for TextMsg: message CCSUsrMsg_TextMsg { optional int32 msg_dst = 1; repeated string params = 3; } It seems that the first string wrote to "params" is the main string and others are just formated to it. EDIT: HintText and KeyHintText both works on...
by L'In20Cible
Sun Nov 09, 2014 10:47 am
Forum: Plugin Development Support
Topic: Delay function after server is start
Replies: 5
Views: 5202

Well, it's normal. As the name says, tick_delays rely on game frames and there is no frame while the server is hibernating.
by L'In20Cible
Sun Nov 09, 2014 10:28 am
Forum: Plugin Development Support
Topic: Info Message
Replies: 12
Views: 8163

Syntax: Select all

from events import Event
from messages import TextMsg

game_started = TextMsg(message='Game started',
destination=TextMsg.HUD_PRINTCENTER)

@Event
def round_start(game_event):
game_started.send()
by L'In20Cible
Fri Nov 07, 2014 11:02 am
Forum: Plugin Development Support
Topic: es.cexec available in SP??
Replies: 5
Views: 4702

Well, that means you can force the player to open his buymenu but you can't force him to set cl_use_opens_buy_menu to 0.
by L'In20Cible
Fri Nov 07, 2014 5:13 am
Forum: Plugin Development Support
Topic: es.cexec available in SP??
Replies: 5
Views: 4702

Satoon is right, you can only execute commands that are flagged SERVER_CAN_EXECUTE: ] findflags SERVER_CAN_EXECUTE "gamepadslot4" client server_can_execute "disconnect" server_can_execute - Disconnect game from server. "cam_idealdistup" = "0" client archive server_can_execute "weapon_reload_database...
by L'In20Cible
Fri Oct 31, 2014 4:33 am
Forum: Plugin Development Support
Topic: PlayerEntity.freeze issue
Replies: 10
Views: 7019

Syntax: Select all

player.freeze = True
by L'In20Cible
Thu Oct 30, 2014 2:22 am
Forum: General Discussion
Topic: Extending via C++, adding a module throws exception
Replies: 23
Views: 16749

My guess is that the exception is throw by the following line: PyImport_AppendInittab("pawnbridge", &PyInit_emb); Most likely since you declare your module as "emb": static PyObject* PyInit_emb(void) Rename the function to PyInit_pawnbridge and it should works...
by L'In20Cible
Mon Oct 27, 2014 11:10 am
Forum: Plugin Development Support
Topic: problem spawing smoke grenade and he grenade
Replies: 8
Views: 6588

Alright so, I made further testing and yes, something is missing. If I give myself, for example, a weapon_awp entity using the code snippet above, I get an awp: right. But if I attempt to use it, there is no recoil, no sound, nothing. If I drop it, the game says I'm dropping a knife. There is surely...
by L'In20Cible
Sun Oct 26, 2014 7:16 am
Forum: Plugin Development Support
Topic: problem spawing smoke grenade and he grenade
Replies: 8
Views: 6588

Since you are not giving your complete code (like everytime you ask for help), I will assume it is complete and answer you that's normal if you are not getting them since those functions are never called.
by L'In20Cible
Sat Oct 18, 2014 3:11 am
Forum: Whatever
Topic: Free games!!
Replies: 43
Views: 100040


Go to advanced search