Tłumaczenie bardzo prostego pluginu [FAST]
Adi
24.04.2010
proszę o spolszczenie tego pluginu, za zrobienie daje pomógł czy tam jak to tu jest ;] Chce aby zamiast health było Życie ;
Użytkownik Adi edytował ten post 24.04.2010 16:21
#include <amxmodx> #define PLUGIN "Health Display" #define VERSION "1.0" #define AUTHOR "LeviN" new g_HudSyncObj public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_message(get_user_msgid("Health"), "Message_Health") g_HudSyncObj = CreateHudSyncObj() } public Message_Health(iMsgId, MSG_DEST, id) { new iHealth = get_user_health(id) if(iHealth > 80) { set_msg_arg_int(1, ARG_BYTE, 255) } set_hudmessage(255, 255, 255, 0, 0.20, 1, 0.1, 100000000.0, 0.1, 0.1, -1) ShowSyncHudMsg(id, g_HudSyncObj, "Health: %d", iHealth) }pozdrawiam
Użytkownik Adi edytował ten post 24.04.2010 16:21
hardbot 24.04.2010
Proszę
Użytkownik hardbot edytował ten post 24.04.2010 16:21
#include <amxmodx>
#define PLUGIN "Health Display"
#define VERSION "1.0"
#define AUTHOR "LeviN"
new g_HudSyncObj
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_message(get_user_msgid("Health"), "Message_Health")
g_HudSyncObj = CreateHudSyncObj()
}
public Message_Health(iMsgId, MSG_DEST, id)
{
new iHealth = get_user_health(id)
if(iHealth > 80)
{
set_msg_arg_int(1, ARG_BYTE, 255)
}
set_hudmessage(255, 255, 255, 0, 0.20, 1, 0.1, 100000000.0, 0.1, 0.1, -1)
ShowSyncHudMsg(id, g_HudSyncObj, "Zdrowie: %d HP", iHealth)
}
Użytkownik hardbot edytował ten post 24.04.2010 16:21
Adi
24.04.2010
thx, zaraz sprawdze czy dziala ;]
24 kwiecień 2010 - 17:39:
Niestety nie dziala
@@@ Dziala, dziala ;] my error
CLOSE
Użytkownik Adi edytował ten post 24.04.2010 16:58
24 kwiecień 2010 - 17:39:
Niestety nie dziala
@@@ Dziala, dziala ;] my error
CLOSE
Użytkownik Adi edytował ten post 24.04.2010 16:58