Search found 82 matches

by Jerome69
Sat Oct 24, 2015 10:05 am
Forum: Plugin Development Support
Topic: ShowDamage
Replies: 17
Views: 10701

by Jerome69
Sat Oct 24, 2015 7:59 am
Forum: Plugin Development Support
Topic: ShowDamage
Replies: 17
Views: 10701

Finally, I ask help...

I would like to create an array and reset it at each round start.

This array will contain the userid and the total damage done by round. So at each hunt, the array is updated.

How I can do this please? I didn't find the answer anywhere...

Thanks
by Jerome69
Mon Oct 12, 2015 3:15 pm
Forum: Plugin Development Support
Topic: Bomb
Replies: 21
Views: 11829

It seems working for me too. Maybe I was using an old version of my script, or the server was overload with all plugins :)

I have deleted the * character and added the "terro" variable as you told me.

I will add a translation file later. Thanks
by Jerome69
Sun Oct 11, 2015 11:47 am
Forum: Plugin Development Support
Topic: Bomb
Replies: 21
Views: 11829

by Jerome69
Sat Oct 10, 2015 2:17 pm
Forum: Plugin Development Support
Topic: Bomb
Replies: 21
Views: 11829

I have a little problem : when the bomb is defused, it seems that the timer doesn't stop. I tried with "timer.stop()" in the bomb_defused event but it doesn't work. I tried with a boolean which is at false state when bomb is defused and this line : if (timer.remaining in (10, 20, 3...
by Jerome69
Fri Oct 09, 2015 6:46 am
Forum: General Discussion
Topic: Happy Birthday La Muerte!!!
Replies: 8
Views: 6946

Hello,

Happy birthday. Have a nice day
by Jerome69
Wed Oct 07, 2015 8:53 am
Forum: Plugin Development Support
Topic: ShowDamage
Replies: 17
Views: 10701

Ho yeah, it works fine. Thanks :)

Now I have to add a message at the end of the round with the total damage done :)

I will give you news (or ask help ^^)
by Jerome69
Wed Oct 07, 2015 7:26 am
Forum: Plugin Development Support
Topic: ShowDamage
Replies: 17
Views: 10701

Ok it works fine, thanks. Now, I would like to show the damage on the center screen, so I added this, as Satoon told me in another plugin request ( bomb ): from players.helpers import index_from_userid from messages import SayText2 from messages import TextMsg from events import Event # ============...
by Jerome69
Tue Oct 06, 2015 11:38 am
Forum: Plugin Development Support
Topic: ShowDamage
Replies: 17
Views: 10701

Thanks it works :)

When I put :

Syntax: Select all

attacker= game_event.get_int('attacker')


It returns me "2"...

How can I send a message only to the attacker? I know how to send a message to a team, but not to a single player...
by Jerome69
Mon Oct 05, 2015 9:18 pm
Forum: Plugin Development Support
Topic: ShowDamage
Replies: 17
Views: 10701

ShowDamage

by Jerome69
Sun Oct 04, 2015 10:55 pm
Forum: Plugin Development Support
Topic: Bomb
Replies: 21
Views: 11829

by Jerome69
Sun Oct 04, 2015 10:10 pm
Forum: Plugin Development Support
Topic: Bomb
Replies: 21
Views: 11829

by Jerome69
Sun Oct 04, 2015 8:23 am
Forum: Plugin Development Support
Topic: Bomb
Replies: 21
Views: 11829

by Jerome69
Sun Oct 04, 2015 7:44 am
Forum: General Discussion
Topic: Delays MemoryError
Replies: 4
Views: 4592

Hello,

Did you tried to update Source.Python?

Here you can find the lastest version, maybe this will solve your problem...
by Jerome69
Sat Oct 03, 2015 8:28 pm
Forum: Plugin Development Support
Topic: Bomb
Replies: 21
Views: 11829

I would like to know who picks up, drops or plants the bomb, but just in the terrorist team. @Event('bomb_planted') def bomb_planted(game_event): SayText2(message='\x04[Bomb] \x01Jerome has planted the bomb.').send() @Event('bomb_dropped'&#...
by Jerome69
Sat Oct 03, 2015 7:42 pm
Forum: Plugin Development Support
Topic: Bomb
Replies: 21
Views: 11829

Instead of creating your own ConVar, there is already one that is used for the length of the C4 timer: mp_c4timer . Also, a better way to get the current value of the countdown is to get an Entity instance of the planted_c4 entity and use the timer_length attribute. That value is a float, so you mi...
by Jerome69
Sat Oct 03, 2015 2:46 pm
Forum: Plugin Development Support
Topic: Bomb
Replies: 21
Views: 11829

by Jerome69
Sat Oct 03, 2015 9:46 am
Forum: Plugin Development Support
Topic: Bomb
Replies: 21
Views: 11829

Ok, I understand. I did it. This is the new code : # ../addons/source-python/plugins/Bomb/Bomb.py """Show delay before explosion.""" from config.manager import ConfigManager from listeners.tick import TickRepeat from cvars.flags import ConVarFlags from messages import S...
by Jerome69
Sat Oct 03, 2015 8:58 am
Forum: Plugin Development Support
Topic: Bomb
Replies: 21
Views: 11829

Bomb

Hello, I'm trying to create my own plugin. It is for showing the time left before bomb explosion. At the end, I would like to show who picked and who dropped the bomb (but I don't know the commands) For the moment, I write it with "SaysText2", but if it's possible to write it in the center...
by Jerome69
Fri Oct 02, 2015 5:50 pm
Forum: Plugin Releases
Topic: Source.Python Dissolver!
Replies: 18
Views: 16437

No problem, take your time :)

Tell us here when you do the upgrade.

Go to advanced search