Merhabalar, webailesi forum hizmetimiz için hayal gücü geniş olan ve webailesi forum projesine katkı sağlayabilecek kişiler arıyoruz.
Beklentilerimizi yazmak yerine sizlerin tekliflerini görmek istiyoruz doğrusu(Bu ücret istenen bir konum değildir).
Fikirlerinizle beraber destek sistemimiz üzerinden bizimle iletişim kurarabilirsiniz.
Webailesi Portal Sistemi
İstek Türü: Banner
Benzer Çalışma: https://hizliresim.com/BPZMai
Resim Boyutu: 728x90
Eklemek İstedikleriniz & İstediğiniz Renkler: İstek Türü: Banner Logo
Resim Boyutu: Banner
Eklemek İstedikleriniz & İstediğiniz Renkler: Benzer Çalışmada Olan Renkler , U P S ヅ , İnstagram : HuseyinOkanKara , Face : Hüseyin Okan Kara , Face Sayfa : UPS / Hüseyin Kara
Benzer Çalışma: https://hizliresim.com/BPZMai
Resim Boyutu: 728x90
Eklemek İstedikleriniz & İstediğiniz Renkler: İstek Türü: Banner Logo
Resim Boyutu: Banner
Eklemek İstedikleriniz & İstediğiniz Renkler: Benzer Çalışmada Olan Renkler , U P S ヅ , İnstagram : HuseyinOkanKara , Face : Hüseyin Okan Kara , Face Sayfa : UPS / Hüseyin Kara
Elimdeki eklenti el sonunda hangi takımın kazandığını söylüyor fakat rusça söylüyor bunu türkçe yapamadım bir türlü sebebide .amxx dosyasını düzenleyemiyorum .sma gibi.. daha doğrusu açamadım.
birde plugin el sonu ve başı arası saydan aynı yazı cıkıyor onun kalkması lazım
http://akalonya.com/win_team.amxx
Lysis ile çıkardığımda karşıma bu kodlar çıkıyor bunu .sma yapabilecek birisi varmı acaba ?
Ayrıca ekranın ortasında yazması tamamda elin başında birde say kısmından bir yazı cıkıyor onu istemiyorum. el sonu 1-2 saniyelik Counter-Terroristler Kazandi ve Terroristler Kazandi yazisi yeterli.
birde plugin el sonu ve başı arası saydan aynı yazı cıkıyor onun kalkması lazım
http://akalonya.com/win_team.amxx
Lysis ile çıkardığımda karşıma bu kodlar çıkıyor bunu .sma yapabilecek birisi varmı acaba ?
Ayrıca ekranın ortasında yazması tamamda elin başında birde say kısmından bir yazı cıkıyor onu istemiyorum. el sonu 1-2 saniyelik Counter-Terroristler Kazandi ve Terroristler Kazandi yazisi yeterli.
PHP Kod:
new __dhud_color;
new __dhud_x;
new __dhud_y;
new __dhud_effect;
new __dhud_fxtime;
new __dhud_holdtime;
new __dhud_fadeintime;
new __dhud_fadeouttime;
new __dhud_reliable;
replace_all(string[], len, what[], with[])
{
new pos;
if ((pos = contain(string, what)) == -1)
{
return 0;
}
new total;
new with_len = strlen(with);
new diff = strlen(what) - with_len;
new total_len = strlen(string);
new temp_pos;
while (replace(string[pos], len - pos, what, with))
{
pos = with_len + pos;
total_len -= diff;
if (!(pos >= total_len))
{
temp_pos = contain(string[pos], what);
if (!(temp_pos == -1))
{
pos = temp_pos + pos;
total++;
}
return total;
}
return total;
}
return total;
}
set_dhudmessage(red, green, blue, Float:x, Float:y, effects, Float:fxtime, Float:holdtime, Float:fadeintime, Float:fadeouttime, bool:reliable)
{
__dhud_color = clamp(red, __dhud_color, 255) << 16 + clamp(green, __dhud_color, 255) << 8 + clamp(blue, __dhud_color, 255);
__dhud_x = x;
__dhud_y = y;
__dhud_effect = effects;
__dhud_fxtime = fxtime;
__dhud_holdtime = holdtime;
__dhud_fadeintime = fadeintime;
__dhud_fadeouttime = fadeouttime;
__dhud_reliable = reliable;
return 1;
}
show_dhudmessage(index, message[])
{
new buffer[128];
new numArguments = numargs();
if (numArguments == 2)
{
send_dhudMessage(index, message);
}
else
{
new var1;
if (index || numArguments == 3)
{
vformat(buffer, 127, message, 3);
send_dhudMessage(index, buffer);
}
new playersList[32];
new numPlayers;
get_players(playersList, numPlayers, "ch", 48);
if (!numPlayers)
{
return 0;
}
new Array:handleArrayML = ArrayCreate(1, __dhud_reliable);
new i = 2;
new j;
while (i < numArguments)
{
if (getarg(i, __dhud_color) == -1)
{
do {
j++;
} while ((buffer[j] = getarg(i + 1, j)));
j = 0;
if (GetLangTransKey(buffer) != -1)
{
i++;
ArrayPushCell(handleArrayML, i);
}
}
i++;
}
new size = ArraySize(handleArrayML);
if (!size)
{
vformat(buffer, 127, message, 3);
send_dhudMessage(index, buffer);
}
else
{
new i;
new j;
while (i < numPlayers)
{
index = playersList[i];
j = 0;
while (j < size)
{
setarg(ArrayGetCell(handleArrayML, j), __dhud_color, index);
j++;
}
vformat(buffer, 127, message, 3);
send_dhudMessage(index, buffer);
i++;
}
}
ArrayDestroy(handleArrayML);
}
return 1;
}
send_dhudMessage(index, message[])
{
new var2;
if (__dhud_reliable)
{
new var1;
if (index)
{
var1 = 1;
}
else
{
var1 = 2;
}
var2 = var1;
}
else
{
if (index)
{
var2 = 8;
}
var2 = 0;
}
message_begin(var2, 51, 52, index);
write_byte(strlen(message) + 31);
write_byte(6);
write_byte(__dhud_effect);
write_long(__dhud_color);
write_long(__dhud_x);
write_long(__dhud_y);
write_long(__dhud_fadeintime);
write_long(__dhud_fadeouttime);
write_long(__dhud_holdtime);
write_long(__dhud_fxtime);
write_string(message);
message_end();
return 0;
}
public plugin_init()
{
register_plugin("win_team", "1.0", "Zone");
register_event("SendAudio", "t_win", 200, "2&%!MRAD_terwin");
register_event("SendAudio", "ct_win", 340, "2&%!MRAD_ctwin");
register_event("SendAudio", "draw", 468, "2&%!MRAD_rounddraw");
return 0;
}
public ct_win()
{
set_dhudmessage(random_num(__dhud_color, 255), random_num(__dhud_color, 255), random_num(__dhud_color, 255), -1.0, -1.0, 0, 5.0, 8.0, 1.0, 1.5, false);
show_dhudmessage(0, "Контр-Террористы Победили");
ChatColor(0, "!y[!gСервер!y] Контер Террористы !tПобедили!");
return 0;
}
public t_win()
{
set_dhudmessage(random_num(__dhud_color, 255), random_num(__dhud_color, 255), random_num(__dhud_color, 255), -1.0, -1.0, 0, 5.0, 8.0, 1.0, 1.5, false);
show_dhudmessage(0, "Террористы Победили");
ChatColor(0, "!y[!gСервер!y] Террористы !tПобедили!");
return 0;
}
public draw()
{
set_dhudmessage(random_num(__dhud_color, 255), random_num(__dhud_color, 255), random_num(__dhud_color, 255), -1.0, -1.0, 0, 5.0, 8.0, 1.0, 1.5, false);
show_dhudmessage(0, "Ничья");
ChatColor(0, "!y[!gСервер!y] !tНичья!");
return 0;
}
ChatColor(id, input[])
{
new count = 1;
new players[32];
static msg[191];
vformat(msg, 190, input, 3);
replace_all(msg, 190, "!g", 2408);
replace_all(msg, 190, "!y", 2428);
replace_all(msg, 190, "!t", 2448);
if (id)
{
players[0] = id;
}
else
{
get_players(players, count, "ch", 48);
}
new i;
while (i < count)
{
if (is_user_connected(players[i]))
{
message_begin(__dhud_y, get_user_msgid("SayText"), 52, players[i]);
write_byte(players[i]);
write_string(msg);
message_end();
}
i++;
}
return 0;
}
Bedava Ts3 Açabilecek ÖM atabilir mi
İstek Türü: Logo
Benzer Çalışma:
Resim Boyutu: 512x512
Eklemek İstedikleriniz & İstediğiniz Renkler: Fire Roleplay Yazıcak Güzel Bi Logo İstiyorum Alevmi Olursa Cidden Çok Güzel Olur Şimdiden Ellerinize Emeğinize Sağlık
Benzer Çalışma:
Resim Boyutu: 512x512
Eklemek İstedikleriniz & İstediğiniz Renkler: Fire Roleplay Yazıcak Güzel Bi Logo İstiyorum Alevmi Olursa Cidden Çok Güzel Olur Şimdiden Ellerinize Emeğinize Sağlık
Bu sadece final alanıdır.
Arkadaslar menulu bıçak menuyu editleyerek, tabanca menusune çevirmeye çalıştım ama olmadı
sizlerden isteğim saya /tabanca yazınca
XXX GAMING TABANCA MENUSU
1-XXX-GLOCK SKINI
2-XXX-USP SKINI
3-XXX-DEAGLE SKINI
şeklindedir glock usp ve deagle skini için 2 adet model eklenecektir yani 1 e basınca
1-XXX-GLOCK
2-XXX-GLOCK
gibi teşekkürler +REP
sizlerden isteğim saya /tabanca yazınca
XXX GAMING TABANCA MENUSU
1-XXX-GLOCK SKINI
2-XXX-USP SKINI
3-XXX-DEAGLE SKINI
şeklindedir glock usp ve deagle skini için 2 adet model eklenecektir yani 1 e basınca
1-XXX-GLOCK
2-XXX-GLOCK
gibi teşekkürler +REP
Arkadaşlar Bedavaya Sunis Botu Açabilecek Var Mı ?
Yardımlarınızı Bekliyorum
Yardımlarınızı Bekliyorum
Gelişmiş bir Kill Asist Plugini buldum harika birşeye benziyor fakat .sma eklerken panel hata veriyor.

Panele eklerken şu hatayı alıyorum:
HATA!
Eklenti Hatali
erleme Hatasi,Eklenti kodlari Bozuk.
AMX Mod X Compiler 1.9.0.5271
Copyright © 1997-2006 ITB CompuPhase
Copyright © 2004-2013 AMX Mod X Team
95.173.173.80/1608949266/1608949266_reapiadvancedkillassists.sma(1) : fatal error 100: cannot read from file: "amxmod"
Compilation aborted.
1 Error.
Done.
Kill_Assist.sma

Panele eklerken şu hatayı alıyorum:
HATA!
Eklenti Hatali
erleme Hatasi,Eklenti kodlari Bozuk.AMX Mod X Compiler 1.9.0.5271
Copyright © 1997-2006 ITB CompuPhase
Copyright © 2004-2013 AMX Mod X Team
95.173.173.80/1608949266/1608949266_reapiadvancedkillassists.sma(1) : fatal error 100: cannot read from file: "amxmod"
Compilation aborted.
1 Error.
Done.
Kill_Assist.sma
PHP Kod:
#include <amxmod>
#include <fun>
#include <reapi>
new const PLUGIN_NAME[] = "[ReAPI] Advanced Kill Assists"
new const g_iVersionRequired_RH[2] = {1, 3}
new const g_iVersionRequired_RGCS[2] = {5, 0}
#define NAMES_LENGTH 29
#define is_user_valid(%1) (1 <= %1 <= g_iMaxClients)
/*enum {
CSSTATSX,
ADVANCED
}*/
enum _:CVARS_DATA {
CVAR_DAMAGE,
CVAR_FRAG,
CVAR_MONEY,
}
new g_pCVars[CVARS_DATA]
new g_pCVar_MPFriendlyFire, g_pCVar_MPFreeForAll
/*#if ASSIST_ALGORITHM == CSSTATSX
new g_pCVar_AssistHp
#endif*/
new g_iMaxClients
new g_pAMXHook_SV_WriteFullClUPD, g_pAMXHook_CBP_Killed_Post2
new g_ePlayerData_DMGON[33][33]
new Float:g_ePlayerData_DMGONTIME[33][33]
new g_ePlayerData_NAME[33][32]
new g_szDeathString[32], g_iAssistAttackerID
public plugin_init() {
register_plugin(PLUGIN_NAME, "2.0.0", "Xelson")
switch(ReAPI_BF_HasBinaryRunning(ReAPI_BT_ReHLDS, true, g_iVersionRequired_RH[0], g_iVersionRequired_RH[1], true, true)) {
case 0: {
log_amx("[%s] Unable to use the plugin, the %s's API is unavailable (the %s engine binary is probably not running).", PLUGIN_NAME, "ReHLDS", "ReHLDS")
//pause("ae")
return
}
case 1: {
new iMajorVersion = -1, iMinorVersion = -1
ReAPI_BF_GetBinaryInformations(ReAPI_BT_ReHLDS, iMajorVersion, iMinorVersion)
log_amx("[%s] Unable to use the plugin, the %s's API version is lower than the one required (current: v%d.%d, required: v%d.%d).", PLUGIN_NAME, "ReHLDS", "ReHLDS", iMajorVersion, iMinorVersion, g_iVersionRequired_RH[0], g_iVersionRequired_RH[1])
//pause("ae")
return
}
}
switch(ReAPI_BF_HasBinaryRunning(ReAPI_BT_ReGameDLL_CS, true, g_iVersionRequired_RGCS[0], g_iVersionRequired_RGCS[1], true, true)) {
case 0: {
log_amx("[%s] Unable to use the plugin, the %s's API is unavailable (the %s game binary is probably not running).", PLUGIN_NAME, "ReGameDLL_CS", "ReGameDLL_CS")
//pause("ae")
return
}
case 1: {
new iMajorVersion = -1, iMinorVersion = -1
ReAPI_BF_GetBinaryInformations(ReAPI_BT_ReGameDLL_CS, iMajorVersion, iMinorVersion)
log_amx("[%s] Unable to use the plugin, the %s's API version is lower than the one required (current: v%d.%d, required: v%d.%d).", PLUGIN_NAME, "ReGameDLL_CS", "ReGameDLL_CS", iMajorVersion, iMinorVersion, g_iVersionRequired_RGCS[0], g_iVersionRequired_RGCS[1])
//pause("ae")
return
}
}
g_pCVars[CVAR_DAMAGE] = register_cvar("reapi_aka_damage", "50")
g_pCVars[CVAR_FRAG] = register_cvar("reapi_aka_frag", "1")
g_pCVars[CVAR_MONEY] = register_cvar("reapi_aka_money", "100")
g_pCVar_MPFriendlyFire = get_cvar_pointer("mp_friendlyfire")
g_pCVar_MPFreeForAll = get_cvar_pointer("mp_freeforall")
/*#if ASSIST_ALGORITHM == CSSTATSX
g_pCVar_AssistHp = get_cvar_pointer("csstats_sql_assisthp")
#endif*/
g_iMaxClients = get_maxplayers()
ReAPI_HM_AddHookByTypeName(ReAPI_BT_ReHLDS, "SV_WriteFullClientUpdate", ReAPI_AHCT_Pre2_Unalterable, ReAPI_AHPT_Middle, "HOOK_SV_WriteFullClientUPD_Pre2", g_pAMXHook_SV_WriteFullClUPD)
ReAPI_HM_SwitchHookStatusByHandle(g_pAMXHook_SV_WriteFullClUPD, false)
ReAPI_HM_AddHookByTypeName(ReAPI_BT_ReGameDLL_CS, "CBasePlayer::Spawn", ReAPI_AHCT_Post2_Unalterable, ReAPI_AHPT_Middle, "HOOK_CBP_Spawn_Post2")
ReAPI_HM_AddHookByTypeName(ReAPI_BT_ReGameDLL_CS, "CBasePlayer::TakeDamage", ReAPI_AHCT_Pre2_Unalterable, ReAPI_AHPT_Middle, "HOOK_CBP_TakeDamage_Pre2")
ReAPI_HM_AddHookByTypeName(ReAPI_BT_ReGameDLL_CS, "CBasePlayer::Killed", ReAPI_AHCT_Pre2_Unalterable, ReAPI_AHPT_Middle, "HOOK_CBP_Killed_Pre2")
ReAPI_HM_AddHookByTypeName(ReAPI_BT_ReGameDLL_CS, "CBasePlayer::Killed", ReAPI_AHCT_Post2_Unalterable, ReAPI_AHPT_Middle, "HOOK_CBP_Killed_Post2", g_pAMXHook_CBP_Killed_Post2)
ReAPI_HM_SwitchHookStatusByHandle(g_pAMXHook_CBP_Killed_Post2, false)
register_message(get_user_msgid("DeathMsg"), "Message_DeathMsg")
}
public client_infochanged(iClientID) {
get_user_info(iClientID, "name", g_ePlayerData_NAME[iClientID], charsmax(g_ePlayerData_NAME[]))
}
public client_disconnect(iClientID) {
arraysetfloat(g_ePlayerData_DMGONTIME[iClientID], 0.0, sizeof(g_ePlayerData_DMGONTIME[]))
}
public HOOK_SV_WriteFullClientUPD_Pre2(iTargetClientID, szInfoBuffer[], iInfoBufferLength, pSizeBufferHandle, iReceiverClientID) {
if((ReAPI_HM_GetHookReturn(true, false) & ReAPI_AHRVF_Supercede)
|| !is_user_connected(iReceiverClientID))
return ReAPI_AHRVF_Ignored
if(iTargetClientID != g_iAssistAttackerID || g_szDeathString[0] == EOS)
return ReAPI_AHRVF_Ignored
ReAPI_ES_SetKeyValue(0, "name", g_szDeathString)
return ReAPI_AHRVF_Handled // Indirect parameter modification!
}
public HOOK_CBP_Spawn_Post2(iClientID) {
// Reset the damage that client did to others.
//arrayset(g_ePlayerData_DMGON[iClientID], 0, sizeof(g_ePlayerData_DMGON[]))
for(new iTempClientID = 1; iTempClientID <= g_iMaxClients; iTempClientID++) {
// Reset the damage that client did to others.
g_ePlayerData_DMGON[iClientID][iTempClientID] = 0
// Reset the damage the others did to that client.
g_ePlayerData_DMGON[iTempClientID][iClientID] = 0
g_ePlayerData_DMGONTIME[iTempClientID][iClientID] = 0.0
}
}
public HOOK_CBP_TakeDamage_Pre2(iClientID, iInflictorID, iAttackerID, Float:flDamage, iDamageBits) {
if((ReAPI_HM_GetHookReturn(true, false) & ReAPI_AHRVF_Supercede)
|| !is_user_valid(iAttackerID)
|| iClientID == iAttackerID
|| !CGameRules_FPlayerCanTakeDamage(iClientID, iAttackerID))
return ReAPI_AHRVF_Ignored
//#if ASSIST_ALGORITHM == ADVANCED
new iHealth = get_user_health(iClientID)
if(flDamage > iHealth) {
flDamage = iHealth * 1.0
}
//#endif
g_ePlayerData_DMGON[iAttackerID][iClientID] += floatround(flDamage)
g_ePlayerData_DMGONTIME[iAttackerID][iClientID] = get_gametime()
return ReAPI_AHRVF_Ignored
}
public HOOK_CBP_Killed_Pre2(iClientID, iAttackerID, iGib) {
if((ReAPI_HM_GetHookReturn(true, false) & ReAPI_AHRVF_Supercede)
|| iAttackerID == iClientID)
return ReAPI_AHRVF_Ignored
new iClientsIDs[32], iClientsNum
get_players(iClientsIDs, iClientsNum)
if(iClientsNum <= 2) // Guy is alone or killed an anemy alone too! But will not happen when attacker is client!
return ReAPI_AHRVF_Ignored
new iAssistantID, iTempClientID
new iMaxDamage
new Float:flDamageForAssist = floatmax(get_cvarptr_float(g_pCVars[CVAR_DAMAGE]), 0.0)
//#if ASSIST_ALGORITHM == ADVANCED
new iTotalDamage
for(new a = 0; a < iClientsNum; a++) {
iTempClientID = iClientsIDs[a]
if(iTempClientID != iAttackerID && g_ePlayerData_DMGON[iTempClientID][iClientID] > 0) {
if(g_ePlayerData_DMGON[iTempClientID][iClientID] > iMaxDamage) {
iAssistantID = iTempClientID
iMaxDamage = g_ePlayerData_DMGON[iTempClientID][iClientID]
}
else if(g_ePlayerData_DMGON[iTempClientID][iClientID] == iMaxDamage) {
iAssistantID = g_ePlayerData_DMGONTIME[iTempClientID][iClientID] > g_ePlayerData_DMGONTIME[iAssistantID][iClientID] ? iTempClientID : iAssistantID
}
}
iTotalDamage += g_ePlayerData_DMGON[iTempClientID][iClientID]
}
if((float(iMaxDamage) / float(iTotalDamage)) * 100.0 < flDamageForAssist) {
iAssistantID = 0
}
/*//#else#if ASSIST_ALGORITHM == CSSTATSX
new iNeedDamage = g_pCVar_AssistHp ? get_cvarptr_num(g_pCVar_AssistHp) : floatround(flDamageForAssist)
for(new a = 0; a < iClientsNum; a++) {
iTempClientID = iClientsIDs[a]
if(iTempClientID != iAttackerID && g_ePlayerData_DMGON[iTempClientID][iClientID] > iMaxDamage) {
if(g_ePlayerData_DMGON[iTempClientID][iClientID] > iNeedDamage) {
iAssistantID = iTempClientID
iMaxDamage = g_ePlayerData_DMGON[iTempClientID][iClientID]
}
else if(g_ePlayerData_DMGON[iTempClientID][iClientID] == iNeedDamage) {
iAssistantID = g_ePlayerData_DMGONTIME[iTempClientID][iClientID] > g_ePlayerData_DMGONTIME[iAssistantID][iClientID] ? iTempClientID : iAssistantID
}
}
}
#endif*/
if(!iAssistantID/* || iAssistantID == iAttackerID*/)
return ReAPI_AHRVF_Ignored
ReAPI_HM_SwitchHookStatusByHandle(g_pAMXHook_SV_WriteFullClUPD, true)
new szName[2][32], iLen[2], iExcess
copy(szName[1], charsmax(szName[]), g_ePlayerData_NAME[iAssistantID])
iLen[1] = strlen(szName[1])
new bool:bIsAssistantConnected = bool:is_user_connected(iAssistantID)
// TO DO: Improve this part with custom attackers (triggers, custom weapons, vehicles, etc.)?
if(!is_user_valid(iAttackerID)) {
if(bIsAssistantConnected == true) {
static const szWorldName[] = "world"
iExcess = iLen[1] - NAMES_LENGTH - (sizeof szWorldName)
if(iExcess > 0) {
strclip(szName[1], iExcess)
}
formatex(g_szDeathString, charsmax(g_szDeathString), "%s + %s", szWorldName, szName[1])
g_iAssistAttackerID = iAssistantID
ReAPI_FC_CallFunctionByTypeName(ReAPI_CFGT_RH_ReHLDSFuncs, "SV_UpdateUserInfo", 0, iAssistantID)
}
}
else if(is_user_connected(iAttackerID)) {
g_ePlayerData_DMGON[iAttackerID][iClientID] = 0
copy(szName[0], charsmax(szName[]), g_ePlayerData_NAME[iAttackerID])
iLen[0] = strlen(szName[0])
new iLenSum = (iLen[0] + iLen[1])
iExcess = iLenSum - NAMES_LENGTH
if(iExcess > 0) {
new iLongest = iLen[0] > iLen[1] ? 0 : 1
new iShortest = iLongest == 1 ? 0 : 1
if(float(iExcess) / float(iLen[iLongest]) > 0.60) {
new iNewLongest = floatround(float(iLen[iLongest]) / float(iLenSum) * float(iExcess))
strclip(szName[iLongest], iNewLongest)
strclip(szName[iShortest], iExcess - iNewLongest)
}
else {
strclip(szName[iLongest], iExcess)
}
}
formatex(g_szDeathString, charsmax(g_szDeathString), "%s + %s", szName[0], szName[1])
g_iAssistAttackerID = iAttackerID
ReAPI_FC_CallFunctionByTypeName(ReAPI_CFGT_RH_ReHLDSFuncs, "SV_UpdateUserInfo", 0, iAttackerID)
}
if(bIsAssistantConnected) {
g_ePlayerData_DMGON[iAssistantID][iClientID] = 0
if(get_cvarptr_num(g_pCVars[CVAR_FRAG]) >= 1) {
set_user_frags(iAssistantID, get_user_frags(iAssistantID) + 1)
}
new iAddMoney = get_cvarptr_num(g_pCVars[CVAR_MONEY])
if(iAddMoney >= 1) {
ReAPI_FC_CallFunctionByTypeName(ReAPI_CFGT_RGCS_CCSPlayer, "AddAccount", 0, iAssistantID, iAddMoney, _:RT_NONE, true)
}
}
ReAPI_HM_SwitchHookStatusByHandle(g_pAMXHook_CBP_Killed_Post2, true)
return ReAPI_AHRVF_Ignored
}
public HOOK_CBP_Killed_Post2(iVictim, iKiller, iGib) {
ReAPI_HM_SwitchHookStatusByHandle(g_pAMXHook_SV_WriteFullClUPD, false)
ReAPI_HM_SwitchHookStatusByHandle(g_pAMXHook_CBP_Killed_Post2, false)
new iAssistAttackerID = g_iAssistAttackerID
g_iAssistAttackerID = 0
g_szDeathString[0] = EOS
ReAPI_FC_CallFunctionByTypeName(ReAPI_CFGT_RH_ReHLDSFuncs, "SV_UpdateUserInfo", 0, iAssistAttackerID)
}
public Message_DeathMsg() {
if(get_msg_arg_int(1) == 0 && g_iAssistAttackerID) {
set_msg_arg_int(1, g_iAssistAttackerID)
}
}
// Notes:
// Bad to hardcode, as this will not apply the possible custom modifications we might do on an hook of that function.
// But my current AMX Mod version & ReAPI module do not have such function available as "call", so use this for now.
CGameRules_FPlayerCanTakeDamage(iClientID, iAttackerID) {
if(!is_user_valid(iClientID) || !is_user_valid(iAttackerID))
return true
if(iClientID == iAttackerID)
return true
if(get_cvarptr_num(g_pCVar_MPFreeForAll))
return true
//return false // Adjustement for the plugin, should the assistant system work in FFA?
if(get_user_team(iClientID) != get_user_team(iAttackerID))
return true
if(get_cvarptr_num(g_pCVar_MPFriendlyFire))
return true
return false
}
// Note: More than one successive "dot" (..) are not taken in account in the names.
strclip(szString[], iClip, szEnding[] = ".etc.") {
new iLen = strlen(szString) - 1 - strlen(szEnding) - iClip
format(szString[iLen], iLen, szEnding)
}
Hoşgeldin, Ziyaretçi
Forumda Ara
Forum İstatistikleri
Son Aktiviteler
Kill Sayar
Yorumlar:
167
•
Okunma:
59.549
MAC-10 | Tread
Yorumlar:
1
•
Okunma:
18
MAC-10 | Toy Box
Yorumlar:
1
•
Okunma:
15