Raised This Month: $51 Target: $400
 12% 

Showing results 1 to 25 of 37
Search took 0.00 seconds.
Search: Posts Made By: Anhil
Forum: Plugins 04-09-2011, 11:54
Replies: 19
Views: 16,431
Posted By Anhil
Re: [ANY] Individual FriendlyFire

[/QUOTE]
Oh, I'm blind, sorry.
Forum: Plugins 03-25-2011, 15:17
Replies: 19
Views: 16,431
Posted By Anhil
Re: [ANY] Individual FriendlyFire

http://forums.alliedmods.net/showthread.php?t=119294 - doesn't it do same work?
Forum: Scripting 03-11-2011, 09:40
Replies: 4
Views: 3,121
Posted By Anhil
Re: [Solved] How to loop through entities

Oh, didn't think about it, it may optimize plugin. And yes, I guess, scale works. Thanks again.
Forum: Scripting 03-11-2011, 06:00
Replies: 4
Views: 3,121
Posted By Anhil
Re: How to loop through entities

Thank you, this worked:
public Action:Show_Spawns(client, args)
{
new entity = -1;
while ((entity = FindEntityByClassname(entity, "info_player_deathmatch")) != INVALID_ENT_REFERENCE)
{
new...
Forum: Scripting 03-10-2011, 17:41
Replies: 4
Views: 3,121
Posted By Anhil
[Solved] How to loop through entities

Well, my idea is to create command that will:
1) Loop through all entities
2) Check if it is "info_player_deathmatch"
3) Get it's origin
4) Create env_sprite with certain parametres at same...
Forum: Plugins 03-06-2011, 05:14
Replies: 5
Views: 7,584
Posted By Anhil
Forum: Scripting 02-27-2011, 09:42
Replies: 8
Views: 4,522
Posted By Anhil
Re: Any way to change disconnect reason?

Oh, it's a lot of work to create translations for every language. But thanks. And thanks to Leonardo for your sample.
Forum: Scripting 02-26-2011, 14:29
Replies: 5
Views: 4,210
Posted By Anhil
Re: ProcessTargetString filters?

Okay, thanks to all.
Forum: Scripting 02-26-2011, 10:25
Replies: 8
Views: 4,522
Posted By Anhil
Forum: Scripting 02-26-2011, 09:55
Replies: 5
Views: 4,210
Posted By Anhil
Re: ProcessTargetString filters?

So, if I want to target all clients, I have to use "COMMAND_FILTER_ALIVE|COMMAND_FILTER_DEAD"?
Forum: Scripting 02-26-2011, 09:53
Replies: 8
Views: 4,522
Posted By Anhil
Re: Any way to change disconnect reason?

Yes, it is. I've checked it with PrintToServer().
Forum: Scripting 02-25-2011, 20:08
Replies: 5
Views: 4,210
Posted By Anhil
ProcessTargetString filters?

Hello, where's full list of filters for this command? I know only "COMMAND_FILTER_ALIVE", but what if I want to allow perform command only on dead targets? only on targets from certain team (e.g.:...
Forum: Scripting 02-25-2011, 20:05
Replies: 8
Views: 4,522
Posted By Anhil
Any way to change disconnect reason?

Hello, I want to change disconnect reason. I tried this:
#pragma semicolon 1

#include <sourcemod>

public Plugin:myinfo = {
name = "Ragequit",
author = "Anhil",
description = "Replaces...
Forum: Plugins 02-20-2011, 17:15
Replies: 1
Views: 4,458
Posted By Anhil
[Any] Alternative Password Change Notify

Description:
This plugin removes FCVAR_NOTIFY flag from sv_password cvar and manually sends notify to players, admins will see password, regular players won't.

Cvars/commands:
sv_pw_flag -...
Forum: Plugins 02-18-2011, 07:26
Replies: 11
Views: 9,524
Posted By Anhil
Re: [HL2DM] Pause protect

Updated, see changelog.
Forum: Plugins 02-15-2011, 07:54
Replies: 11
Views: 9,524
Posted By Anhil
Re: [HL2DM] Pause protect

Do you have direct access to server console? Because debug version uses PrintToServer(), I'm not sure, if it will be added to log files or not. But if you don't, try attached version, it also has...
Forum: Plugins 02-14-2011, 17:02
Replies: 5
Views: 7,584
Posted By Anhil
Re: [HL2DM] Spectator Team Chat Fix

Updated.
See changelog.
Forum: Plugins 02-14-2011, 13:12
Replies: 11
Views: 9,524
Posted By Anhil
Re: [HL2DM] Pause protect

It's very strange, could you try attached to this post versions, please? They will report about all actions to server console. (PlayerCount, IsFakeClient(), GameTime, Client connected/disconnected,...
Forum: Plugins 02-14-2011, 07:13
Replies: 11
Views: 9,524
Posted By Anhil
Re: [HL2DM] Pause protect

Try attached plugin, it will add "sm_gametime" command. What you have to do:
1) sm_gametime
2) sm_gametime (it should be different)
3) pause
4) sm_gametime
5) sm_gametime (it should be same)
6)...
Forum: Scripting 02-13-2011, 13:06
Replies: 0
Views: 531
Posted By Anhil
How to hook say_team and check if it's silent command or not.

I have a problem - http://forums.alliedmods.net/showthread.php?t=148894 (post 4 (http://forums.alliedmods.net/showpost.php?p=1413251&postcount=4)). Please help me to fix it if possible.
Forum: Plugins 02-13-2011, 07:43
Replies: 11
Views: 9,524
Posted By Anhil
Re: [HL2DM] Pause protect

No, it checks with IsFakeClient(). I tried it on my own server, it worked. Which version did you test, btw?
Forum: Plugins 02-12-2011, 05:37
Replies: 5
Views: 7,584
Posted By Anhil
Re: [HL2DM] Spectator Team Chat Fix

Found a bug, it shows "silent" commands in chat, I tried to use "player_chat" event (because it has "teamonly"), but doesn't seem it fires. Can someone help to fix this problem, please?
Forum: General 02-11-2011, 08:15
Replies: 0
Views: 914
Posted By Anhil
GetMapTimeLeft() issue

It happens when mp_restartgame is used (tested on hl2dm dedicated server with basetriggers.smx), it should reset information about how much time is left, but it doesn't.
Forum: Scripting 02-10-2011, 15:06
Replies: 2
Views: 1,677
Posted By Anhil
Forum: Scripting 02-10-2011, 13:20
Replies: 2
Views: 1,677
Posted By Anhil
How to handle "impulse" command?

RegConsoleCmd("impulse", Impulse);
Doesn't work. I want to block impulses with certain values, how to perform it?
Showing results 1 to 25 of 37

 
Forum Jump

All times are GMT -4. The time now is 16:03.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode