View Single Post
Author Message
Snake.
Senior Member
Join Date: Jul 2017
Old 05-15-2019 , 15:55   [Req] Multi Lang Perm Hud
Reply With Quote #1

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_NAMEPLUGIN_VERSIONPLUGIN_AUTHOR)
    
    
// ???? ? ???????, ????? ?? ????? HUD ???????????.
    
g_iObject CreateHudSyncObj()
    
    
// ???????? ?????? (task), ????? ?? ?? ????????? ????????? displayMessage() ???? 1 ???????.
    
set_task(1.0"displayMessage"___"b")
}

public 
displayMessage()
{
    
// ???????? ??????????? ?? ???????????.
    
set_hudmessage(025500.020.200.11.00.10.1, -1)
    
    
// ????????? ??????????? ?? ?????? ??????.
    
ShowSyncHudMsg(0g_iObjectg_szMessage)

Snake. is offline
Send a message via Skype™ to Snake.