hi.. im having troubles with this.. i need to display help for a pluging with multi-language support in MOTD (like /top15), but it only appear 16 letters of the entire frase.. this is the code for the MOTD, everything works fine with my entire plugin except for the issue of the 16 letters.. pliz someone help me with it.. i dunno how to make it so it could display the hole frase i have in the langauge text file.
Code:
register_clcmd("say /mahelp", "ma_help")
Code:
public ma_help(id) {
new motd[2048], title[16], dpos = 0
format(title, 15,"%L", LANG_PLAYER,"KH_HELP0")
new K_HELP1[16], K_HELP2[16]
format(K_HELP1, 15, "%L", LANG_PLAYER, "KH_HELP1")
format(K_HELP2, 15, "%L", LANG_PLAYER, "KH_HELP2")
dpos += format(motd[dpos], 2047-dpos,"<html><head><style type=^"text/css^">pre{color:#FFB000;}body{background:#000000;margin-left:8px;margin-top:8px;}</style></head><pre><body>")
dpos += format(motd[dpos],2047-dpos, "%s ^n",K_HELP1)
dpos += format(motd[dpos],2047-dpos, "%s ^n",K_HELP2 )
show_motd(id, motd, title)
return PLUGIN_CONTINUE
}
language file
Code:
[en]
KH_HELP0 = MY PLUGING
KH_HELP1 = I dunno what to do to see the entire line, it olny appear this:
KH_HELP2 = I dunno what to - but no the rest
thanx..