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

spawn protection help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HelllBoy
Member
Join Date: Aug 2006
Location: Romania
Old 11-24-2006 , 04:41   spawn protection help
Reply With Quote #1

i want to disable spawn protection , i set where is :
;Is spawn protection enabled ?
enabled - 0

and nothing hapends , still protection . i dont want that protection any more . i can`t shot him but he can shot me . sucks
HelllBoy is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 11-24-2006 , 07:46   Re: spawn protection help
Reply With Quote #2

try to write
enabled = 0
(I mean "=" instead "-").
And also look at this below:
Quote:
Originally Posted by csdm.cfg
;Colors of glow shell, leave this in quotes
;The digits are R, G, B, A where A is the alpha transparency
; (as A gets higher, the glow shell is thicker)
colors = "0 255 0 200"

;Number of seconds someone is respawned for.
time = 2
set up the time to 0.
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.
KWo is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 11-24-2006 , 15:19   Re: spawn protection help
Reply With Quote #3

OK - csdm_protection was the only csdm 2.1 plugin I haven't touched yet, because I was thinking everything is OK with it, but it is not...There is a bug.
Code:
public csdm_PostSpawn(player, bool:fake) {     SetProtection(player) }

should be
Code:
public csdm_PostSpawn(player, bool:fake) {     if (g_Enabled )         SetProtection(player) }

it will work much better in the situation when the spawn protection is disabled.
@HelllBoy - do You need I post the fixed sma or You can fix it Your-self according to this what I wrote here above?
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.

Last edited by KWo; 11-24-2006 at 15:23.
KWo is offline
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 11-27-2006 , 05:48   Re: spawn protection help
Reply With Quote #4

It would be much better to take off spawn protection immediately on player "+attack" command like it was in metamod spawn & chat protection 2.0 plugin.
Simon Logic is offline
Send a message via Skype™ to Simon Logic
BAILOPAN
Join Date: Jan 2004
Old 11-27-2006 , 13:22   Re: spawn protection help
Reply With Quote #5

SimonLogic: It does.

Code:
public On_ClientPreThink(id) {     if (!g_Enabled || !g_Protected[id] || !is_user_connected(id) || !csdm_active())     {         return     }         new buttons = pev(id,pev_button);           if ( (buttons & IN_ATTACK) || (buttons & IN_ATTACK2) )     {         RemoveProtection(id)     } }
__________________
egg
BAILOPAN is offline
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 12-01-2006 , 11:18   Re: spawn protection help
Reply With Quote #6

OIS, but
Quote:
Originally Posted by HelllBoy View Post
i can`t shot him but he can shot me . sucks
Smth or smb is wrong. ;)
Simon Logic is offline
Send a message via Skype™ to Simon Logic
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 06:21.


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