Raised This Month: $7 Target: $400
 1% 

Anticamp Source


Post New Thread Reply   
 
Thread Tools Display Modes
PStar
Veteran Member
Join Date: Mar 2008
Old 06-03-2008 , 13:48   Re: Anticamp Source
Reply With Quote #11

So if it is possibel it should work like this:
DE_ maps:
Quote:
CT:
-Camping is allowed if the bomb is dropped or the bomb hasn't been planted yet, otherwise camping is not allowed.
T:
-Camping is allowed if the bomb has been planted, otherwise camping is not allowed.
CS_ maps:
Quote:
CT:
-Camping is not allowed.
T:
-Camping is allowed
PStar is offline
Molli
SourceMod Donor
Join Date: Aug 2007
Location: Finland
Old 06-04-2008 , 10:34   Re: Anticamp Source
Reply With Quote #12

PStar got point.
Molli is offline
grif_ssa
BANNED
Join Date: Apr 2008
Old 06-30-2008 , 16:24   Re: Anticamp Source
Reply With Quote #13

if you are intereting, i modify it a little, couse i have fy_ maps
by default pluging allow camping for CS
by this little mod nobody can camp on not cs and not de maps

Quote:
new bool:g_bIsCsMap = false;
new bool:g_bIsTMap = false;
Quote:
// Check if de map or cs map else other (fy, aim, etc...)
g_bIsCsMap = g_bIsTMap = false;
if(FindEntityByClassname(-1, "func_hostage_rescue") != -1)
g_bIsCsMap = true;
else if(FindEntityByClassname(-1, "func_bomb_target") != -1)
g_bIsTMap = true;
Quote:
// Allow camping for t on cs maps
if(g_bIsCsMap && clientteam == 2 && GetConVarBool(g_CvarAllowTCamp))
{
return Plugin_Continue;
}

// Allow camping for ct on de maps
if(g_bIsTMap && clientteam == 3 && GetConVarBool(g_CvarAllowCtCamp))
{
return Plugin_Continue;
}
grif_ssa is offline
Send a message via ICQ to grif_ssa
blade81
Senior Member
Join Date: Apr 2005
Old 06-30-2008 , 17:24   Re: Anticamp Source
Reply With Quote #14

Nice thx.
__________________
blade81 is offline
ottobohn
Senior Member
Join Date: Sep 2007
Old 06-30-2008 , 17:48   Re: Anticamp Source
Reply With Quote #15

U rock my socks.

otto
ottobohn is offline
ottobohn
Senior Member
Join Date: Sep 2007
Old 06-30-2008 , 17:52   Re: Anticamp Source
Reply With Quote #16

How hard is it to record your spawn location and ensure that you're X amount of ft away from that? I'd like to allow if you're cmaping in a certain zone that it'll beacon you if you're in spawn.

otto
ottobohn is offline
BullsEye
New Member
Join Date: Aug 2008
Old 08-24-2008 , 10:44   Re: Anticamp Source
Reply With Quote #17

Hello,
i have a little problem.
sm_anticamp_slap 5
"Amount of health decrease during camping every 2 sec."

When i cange this in a "0" and restart the server it will slap with 5 healthpoints AGAIN.
It doesn´t work
Can anyone help???
BullsEye is offline
blade81
Senior Member
Join Date: Apr 2005
Old 08-24-2008 , 13:54   Re: Anticamp Source
Reply With Quote #18

Quote:
Originally Posted by BullsEye View Post
Hello,
i have a little problem.
sm_anticamp_slap 5
"Amount of health decrease during camping every 2 sec."

When i cange this in a "0" and restart the server it will slap with 5 healthpoints AGAIN.
It doesn´t work
Can anyone help???
If you restart the server all cvars will be resettet to their default value, unless you put the commands in your server.cfg.
__________________
blade81 is offline
BullsEye
New Member
Join Date: Aug 2008
Old 08-25-2008 , 12:31   Re: Anticamp Source
Reply With Quote #19

Hallo,
Thx for your fast answer.
But when I dont start the Server new it wil also not work.
Think that I a noob that I dont understand you.

Were in the server cfg have I do put in the command???
Under // CUSTUM

And what do i have to write there??

sm_anticamp_slap "0" or what???

I´m helpless
BullsEye is offline
blade81
Senior Member
Join Date: Apr 2005
Old 08-25-2008 , 14:35   Re: Anticamp Source
Reply With Quote #20

Add sm_anticamp_slap "0" in your sever.cfg and it should work without slapping.
__________________
blade81 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:24.


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