How can i make this with a lang file ?
PHP Code:
#include <amxmodx>
#define PLUGIN_NAME "Permanent HUD Message"
#define PLUGIN_VERSION "1.0"
#define PLUGIN_AUTHOR "OciXCrom"
new g_iObject
// ???? ? ???????????.
new const g_szMessage[] = "MENU ICIN [N] BASINIZ!"
public plugin_init()
{
register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR)
// ???? ? ???????, ????? ?? ????? HUD ???????????.
g_iObject = CreateHudSyncObj()
// ???????? ?????? (task), ????? ?? ?? ????????? ????????? displayMessage() ???? 1 ???????.
set_task(1.0, "displayMessage", _, _, _, "b")
}
public displayMessage()
{
// ???????? ??????????? ?? ???????????.
set_hudmessage(0, 255, 0, 0.02, 0.2, 0, 0.1, 1.0, 0.1, 0.1, -1)
// ????????? ??????????? ?? ?????? ??????.
ShowSyncHudMsg(0, g_iObject, g_szMessage)
}