hlmod.hu https://hlmod.hu/ |
|
jatekos info javitasa! https://hlmod.hu/viewtopic.php?f=29&t=18911 |
Oldal: 1 / 1 |
Szerző: | levo00 [2015.01.11. 10:04 ] |
Hozzászólás témája: | jatekos info javitasa! |
Sziasztok! valaki megcsinálná igy h csak ezeket mutassa? név: élet: Fegyver: aki megcsinálja megy a gomb ! ![]() SMA Forráskód: [ Mindet kijelol ]
|
Szerző: | Fantom [2015.01.11. 10:07 ] |
Hozzászólás témája: | Re: jatekos info javitasa! |
SMA Forráskód: [ Mindet kijelol ]
|
Szerző: | levo00 [2015.01.11. 10:10 ] |
Hozzászólás témája: | Re: jatekos info javitasa! |
Fantom írta: SMA Forráskód: [ Mindet kijelol ]#include <amxmodx> köszi! ment a gomb! #include <cstrike> #include <csx> #define PLUGIN "Jatekos info" #define VERSION "0.9" #define AUTHOR "bliq" #pragma semicolon 1 new g_FriendOnly; public plugin_init( ) { register_plugin(PLUGIN, VERSION, AUTHOR); g_FriendOnly = register_cvar("aim_friendo", "0"); register_event("StatusValue", "EventStatusValue", "b", "1>0", "2>0"); } public EventStatusValue(const id) { new sName[32], sWpnName[32], sOsef[8], iClip, iAmmo, iType = read_data(1), iData = read_data(2); new iRank = get_user_stats(iData, sOsef, sOsef), iWpnID = get_user_weapon(iData, iClip, iAmmo); get_user_name(iData, sName, 31); if(iWpnID) { xmod_get_wpnname(iWpnID, sWpnName, 31); } if(iType == 3 || !g_FriendOnly && iType == 1) return; if(cs_get_user_team(iData) == CS_TEAM_T) { set_hudmessage(255, 0, 0, -1.0, 0.59, 0, 2.0, 2.0); show_hudmessage(id,"%s^nHp: %d^nFegyver: %s", sName, get_user_health(iData), sWpnName); } if(cs_get_user_team(iData) == CS_TEAM_CT) { set_hudmessage(0, 128, 255, -1.0, 0.59, 0, 2.0, 2.0); show_hudmessage(id,"%s^nHp: %d^nFegyver: %s", sName, get_user_health(iData), sWpnName); } } ![]() |
Oldal: 1 / 1 | Minden időpont UTC+02:00 időzóna szerinti |
Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |