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

Heart Health


Post New Thread Reply   
 
Thread Tools Display Modes
Craxor
Veteran Member
Join Date: Jan 2016
Location: Romania
Old 01-04-2017 , 07:59   Re: Heart Health
Reply With Quote #41

Updated, added new cvars ... Cvars explanation inside of source code ( i will add now )
+ added GLOW and also only who are in the same team with the victim can touch the hearts.

Edit: Dooone.
__________________
Project: Among Us

Last edited by Craxor; 01-04-2017 at 08:07.
Craxor is offline
Send a message via ICQ to Craxor
Old 01-07-2017, 13:24
Bugsy
This message has been deleted by Bugsy.
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 01-07-2017 , 13:45   Re: Heart Health
Reply With Quote #42

Hi @Bugsy, I did not found everything pointed out on this plugin, like the `MessageTypes:GetMessageType()`mentions. But I found it on the @EFFx plugin.

But I found this:



I would suggest to use only spaces and monospaced font for alignment. It would solve the problem for good.
Therefore everyone who want to see your code, just need to use a monospaced font.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
Craxor
Veteran Member
Join Date: Jan 2016
Location: Romania
Old 01-07-2017 , 13:57   Re: Heart Health
Reply With Quote #43

What are these ?
Quote:

Instead of failing the plugin if the config is not found, you should make the plugin create a config with the default values or allow it to run with the default register_cvar() values. Make it as easy as possible for the end-user to use. I'm also not sure that it's necessary to log it to the regular log in addition to using set_fail_state() since the latter will add a log automatically to the error_01072016.log file which is where the server admin should be checking for errors. In this case, you can remove formatex(), log_amx(), and do your error formatting directly in set_fail_state().

GetMessageType()
Your GetMessageType() should return the message type. I'm not sure why you have a global message type variable that is being set within the function.

Since you only determine the message type for SendMessage(), you should remove the GetMessageType() function all together and place the code directly in SendMessage(). If you were sending multiple messages after determining the message type then I would be ok with your implementation since it would reduce get_pcvar_num() calls. But each instance, you send only a single message. I think a switch() would be more appropriate for determining the message type based on cvar value.
@Addons - i don't care, open the plugin with Notepad, it will be well-arranged, your ide broke the indeantation.
__________________
Project: Among Us

Last edited by Craxor; 01-07-2017 at 14:05.
Craxor is offline
Send a message via ICQ to Craxor
Old 01-07-2017, 14:12
Bugsy
This message has been deleted by Bugsy.
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 01-07-2017 , 14:33   Re: Heart Health
Reply With Quote #44

Ok, ill make the changes.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 01-07-2017 , 14:48   Re: Heart Health
Reply With Quote #45

I'm sorry, I commented on the wrong plugin. I saved this to my desktop and opened the wrong one in my IDE. You can disregard my comments, EFFx. I posted them in your other plugin thread.
__________________

Last edited by Bugsy; 01-07-2017 at 14:55.
Bugsy is offline
Craxor
Veteran Member
Join Date: Jan 2016
Location: Romania
Old 01-07-2017 , 15:02   Re: Heart Health
Reply With Quote #46

Quote:
Originally Posted by Bugsy View Post
Wrong plugin.
What do you mean, my plugin is not 'wrong'

However i do the '1' because is the same thing in heart health so it is usefull
__________________
Project: Among Us

Last edited by Craxor; 01-07-2017 at 15:03.
Craxor is offline
Send a message via ICQ to Craxor
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 01-07-2017 , 15:10   Re: Heart Health
Reply With Quote #47

Quote:
Originally Posted by Craxor View Post
What do you mean, my plugin is not 'wrong'

However i do the '1' because is the same thing in heart health so it is usefull
What I meant was my comments were for EFFx's plugin, not your plugin. I accidentally commented in the wrong thread.
__________________
Bugsy is offline
Craxor
Veteran Member
Join Date: Jan 2016
Location: Romania
Old 01-07-2017 , 16:10   Re: Heart Health
Reply With Quote #48

I Know i see thatt, it was a joke
__________________
Project: Among Us
Craxor is offline
Send a message via ICQ to Craxor
badbojus
New Member
Join Date: Jan 2017
Location: Lithuania and Norway
Old 01-11-2017 , 17:27   Re: Heart Health
Reply With Quote #49

This looks pretty fun plugin! Thanks for making it, i hope it gets approved
Anyway, gonna test this on my server assap!
Btw, this is my first post on these forums! I been playing cs since 2002 then stopped in 2010 and now in 2017 i am back!
badbojus is offline
Send a message via Skype™ to badbojus
Craxor
Veteran Member
Join Date: Jan 2016
Location: Romania
Old 01-13-2017 , 12:11   Re: Heart Health
Reply With Quote #50

Quote:
This looks pretty fun plugin! Thanks for making it, i hope it gets approved
It is, i hope the same

Quote:
Anyway, gonna test this on my server assap!
Thanks, i'm waiting your answer .

Quote:
Btw, this is my first post on these forums! I been playing cs since 2002 then stopped in 2010 and now in 2017 i am back!
Nobody cares
__________________
Project: Among Us
Craxor is offline
Send a message via ICQ to Craxor
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 00:37.


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