Hello. I used this plugin for my motds:
Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#define PLUGIN "New Plugin"
#define VERSION "1.0"
#define AUTHOR "Author"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd( "say /preturi", "CMDPreturi" )
register_clcmd( "say /VIP", "CmdVIP" )
register_clcmd( "say /wantvip", "CmdWantvip" )
register_clcmd( "say /regulament", "CmdRegulament" )
register_clcmd( "say /rules", "CmdRules" )
register_clcmd( "say /reguli", "CmdReguli" )
register_clcmd( "say /info", "CmdInfo" )
register_clcmd( "say /abilitati", "CmdAbilitati" )
// Add your code here...
}
public CMDPreturi ( id )
{
show_motd( id, "addons/amxmodx/configs/Motds/Preturi.html", "Preturi" );
}
public CmdVIP ( id )
{
show_motd( id, "addons/amxmodx/configs/Motds/VIP.html", "Forum" );
}
public CmdWantvip ( id )
{
show_motd( id, "addons/amxmodx/configs/motds/WantVIP.html", "VIP" );
}
public CmdRegulament ( id )
{
show_motd( id, "addons/amxmodx/configs/motds/Regulament.html", "Regulament" );
}
public CmdRules ( id )
{
show_motd( id, "addons/amxmodx/configs/motds/Regulament.html", "Rules" );
}
public CmdReguli ( id )
{
show_motd( id, "addons/amxmodx/configs/motds/Regulament.html", "Reguli" );
}
public CmdInfo ( id )
{
show_motd( id, "addons/amxmodx/configs/motds/Info.html", "Info" );
}
public CmdAbilitati ( id )
{
show_motd( id, "addons/amxmodx/configs/motds/Abilitati.html", "Abilitati" );
}
If i write for the first time /vip (exemple) appear this thing:
Photo
If i try again after i close this tab, looks normal.
Where is the problem?