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

Best Player MOTD


Post New Thread Reply   
 
Thread Tools Display Modes
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 10-28-2017 , 13:39   Re: Best Player MOTD
Reply With Quote #31

Please enable debug mode and post the error again.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Godofwar
AlliedModders Donor
Join Date: Dec 2015
Location: Germany
Old 10-28-2017 , 14:55   Re: Best Player MOTD
Reply With Quote #32

Quote:
☄ Description

In the end of every map the best player is shown in a MOTD window, along with his stats. The information shown in the MOTD, as well as the way in which the best player is determined, can both be changed very easily.
is it possible to change it that it comes every round is end? When yes how? it would be cool for a Swarm sERVER:
Godofwar is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 10-28-2017 , 15:46   Re: Best Player MOTD
Reply With Quote #33

Yes, but I don't have any time at the moment. You can use this sub-plugin until I make the changes:

PHP Code:
#include <amxmodx>

public plugin_init()
{
    
register_plugin("Best Player: Round""1.0""OciXCrom")
    
register_logevent("OnRoundEnd"2"1=Round_End")
}

public 
OnRoundEnd()
{
    
callfunc_begin("OnIntermission""crx_bestplayer.amxx")
    
callfunc_end()

__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 12-18-2017 , 09:39   Re: Best Player MOTD
Reply With Quote #34

motd in bp (portuguese)

PHP Code:
<body bgcolor=#000000><hr noshade>
<font color=white face="Comic Sans MS" size=5><center>O melhor jogador do <font color=lime>$map$</font>  Eh:
<
hr noshade>
<
font color=royalblue size=10>$name$</font>
<
br>- with <font color=red>$killskills</font> (<font color=lime>$headshotsheadshots</font>) <font color=red>$deathsmortes</font> -
<
br><br>suas <font color=magenta>kills/mortes</fontratio foi de <font color=magenta>$kdratio$</fontcom <font color=magenta>$hsratioheadshot ratio</font>.
<
br>Ele acertou <font color=magenta>$hitstiros certeiros</font>, causando <font color=magenta>$damagede danos</font>.
<
hr noshade>
<
font color=royalblue>$name$</fontfoi o melhor jogador com total de <font color=gold>$winsvitorias</font>.
<
hr noshade>
<
img src="https://raw.githubusercontent.com/OciXCrom/BestPlayer/images/win_$best_team$.png"></img>
<
hr noshade
tarsisd2 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-18-2017 , 09:50   Re: Best Player MOTD
Reply With Quote #35

Thanks for sharing, but I won't be adding other languages.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 12-18-2017 , 10:21   Re: Best Player MOTD
Reply With Quote #36

Quote:
Originally Posted by OciXCrom View Post
Thanks for sharing, but I won't be adding other languages.
tha'ts fine

whoever wants to have in bp can just change themself, in my country, not a lot of people understand english
tarsisd2 is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 12-20-2017 , 00:22   Re: Best Player MOTD
Reply With Quote #37

It won't open the MOTD when I type /mystats on chat. My AMXMOD version is 1.8.3-dev+5106, tried on 1.8.2 too , but got the same, MOTD didn't open.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-20-2017 , 08:59   Re: Best Player MOTD
Reply With Quote #38

If there aren't any error logs, some other plugin is probably blocking the chat command. Try moving it on top of plugins.ini to see.
__________________

Last edited by OciXCrom; 12-20-2017 at 08:59.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 12-20-2017 , 18:00   Re: Best Player MOTD
Reply With Quote #39

I actually changed the format to show the motd and now it works fine. I do not have any plugins that can block the motd.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
Mark.uG
AlliedModders Donor
Join Date: Oct 2014
Old 01-02-2018 , 18:45   Re: Best Player MOTD
Reply With Quote #40

Does this work with GameMe?
Mark.uG 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 18:35.


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