Страница 1 от 1

Active players remove .txt file

Публикувано на: 10 Юли 2019, 14:01
от lantimilan
Hello i have one plugin he have some file .txt but i dont like to have just to show message in direct in plugin and i want to change hud position i download one plugin for hud message postion i find cordinate 0.44 and 0.4 but i dont know maybe i make any error not change

Код за потвърждение: Избери целия код

#include < amxmodx >

#define PLUGIN 		"Lojtaret Aktiv"
#define VERSION 	"0.1"
#define AUTHOR 		"KonnaR" 

public plugin_init() 
{
	register_plugin(PLUGIN, VERSION, AUTHOR)
	set_task(60.0, "text", _, _, _, "b")

	register_dictionary("lojtaret-aktiv.txt")
}
public text()
{
	set_hudmessage(random_num(0, 255), random_num(0, 255), random_num(0, 255), 0.44, 0.4, 1, 0.0, 6.0, 0.1, 0.2)
	show_hudmessage(0, "%L", 0, "OP_DHUD_TEXT", get_playersnum(), get_maxplayers(), get_playersnum() * (get_maxplayers() / 10), "%")
}
TXT FILE

Код за потвърждение: Избери целия код

[en]
OP_DHUD_TEXT = Ne server jane: %d/%d lojtare^nPerqindja lojtareve ne server: [ %d %s ]

Active players remove .txt file

Публикувано на: 10 Юли 2019, 14:05
от Autumn Shade

Код за потвърждение: Избери целия код

#include < amxmodx >

#define PLUGIN 		"Lojtaret Aktiv"
#define VERSION 	"0.1"
#define AUTHOR 		"KonnaR" 

public plugin_init() 
{
	register_plugin(PLUGIN, VERSION, AUTHOR)
	set_task(60.0, "text", _, _, _, "b")
}

public text()
{
	set_hudmessage(random_num(0, 255), random_num(0, 255), random_num(0, 255), 0.46, 0.02, 1, 0.0, 6.0, 0.1, 0.2)
	show_hudmessage(0, "Ne server jane: %d/%d lojtare^nPerqindja lojtareve ne server: [ %d %s ]", get_playersnum(), get_maxplayers(), get_playersnum() * (get_maxplayers() / 10), "%")
}
To change your position, please use hudgenerator_edited/ and check the coordinate changes.

Active players remove .txt file

Публикувано на: 10 Юли 2019, 14:06
от lantimilan
Thanks for help im try to set her hud : http://prntscr.com/od2df7

Active players remove .txt file

Публикувано на: 10 Юли 2019, 14:08
от Autumn Shade
Edited my post with the desired position.

Active players remove .txt file

Публикувано на: 10 Юли 2019, 14:14
от lantimilan
Thanks working perfect thanks for help, admin you can closed this thread