Raised This Month: $ Target: $400
 0% 

No -1 frag on suicide


Post New Thread Reply   
 
Thread Tools Display Modes
selax
AlliedModders Donor
Join Date: Apr 2008
Location: Moscow
Old 04-16-2010 , 11:35   Re: No -1 frag on suicide
Reply With Quote #11

Quote:
Originally Posted by I'mSane View Post
lol it adds one frag on suicide, but I need just "no -1"
On suicide player -1 frag on default, yes?
My code add +1 frag, yes?

-1+1 = 0
lol
selax is offline
I'mSane
Member
Join Date: Apr 2010
Location: SPb, Russia
Old 04-16-2010 , 11:55   Re: No -1 frag on suicide
Reply With Quote #12

Quote:
Originally Posted by Annihilator View Post
If it adds 1 with +1, instead of taking one away, wont your problem be solved if you just delete the +1?
No. If I take it away, there's -1 frag on suicide.
__________________
Sorry for noob questions.
Sorry for bad english.
I'mSane is offline
Send a message via Skype™ to I'mSane
I'mSane
Member
Join Date: Apr 2010
Location: SPb, Russia
Old 04-16-2010 , 11:56   Re: No -1 frag on suicide
Reply With Quote #13

Quote:
Originally Posted by SelaX View Post
On suicide player -1 frag on default, yes?
My code add +1 frag, yes?

-1+1 = 0
lol
But it seems to add two frags, I don't know why!
__________________
Sorry for noob questions.
Sorry for bad english.
I'mSane is offline
Send a message via Skype™ to I'mSane
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 04-16-2010 , 12:06   Re: No -1 frag on suicide
Reply With Quote #14

exvel: okay

I'mSane: чем мой вариант плох?
and yeah. duplicate deaths occur because of ESTools. Topic.
__________________

Last edited by Leonardo; 04-16-2010 at 12:20.
Leonardo is offline
I'mSane
Member
Join Date: Apr 2010
Location: SPb, Russia
Old 04-16-2010 , 14:44   Re: No -1 frag on suicide
Reply With Quote #15

exvel, how do you made it in your plugin?
__________________
Sorry for noob questions.
Sorry for bad english.
I'mSane is offline
Send a message via Skype™ to I'mSane
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 04-16-2010 , 14:47   Re: No -1 frag on suicide
Reply With Quote #16

I did it in the same way SelaX posted here.
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
I'mSane
Member
Join Date: Apr 2010
Location: SPb, Russia
Old 04-16-2010 , 14:51   Re: No -1 frag on suicide
Reply With Quote #17

Does anyone know why it didn't work?
__________________
Sorry for noob questions.
Sorry for bad english.
I'mSane is offline
Send a message via Skype™ to I'mSane
I'mSane
Member
Join Date: Apr 2010
Location: SPb, Russia
Old 04-16-2010 , 14:54   Re: No -1 frag on suicide
Reply With Quote #18

Maybe I should add "EventHookMode_Pre"? Than plugin will add a frag before suicide, and suicide will take the frag away. Am I right?
__________________
Sorry for noob questions.
Sorry for bad english.
I'mSane is offline
Send a message via Skype™ to I'mSane
Frus
Senior Member
Join Date: Aug 2009
Old 04-16-2010 , 15:07   Re: No -1 frag on suicide
Reply With Quote #19

leonardo said it, if you're running estools it would cause it.
Frus is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 04-16-2010 , 15:59   Re: No -1 frag on suicide
Reply With Quote #20

just add 0.5 frags

in my script (in theory) score will not change
__________________

Last edited by Leonardo; 04-16-2010 at 16:01.
Leonardo is offline
Reply



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 13:44.


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