Fall Damage HP Restore 0.0.1

Čia galite paskelbti apie naudingus pluginus, kuriuos radote internete ar kur kitur ir manote, kad jie bus naudingi kitiems. Savo kurtus pluginus prašome skelbti "Naujai pateikti pluginai" forume.
Forum rules
1. Pluginai turi turėti išsamius aprašymus.
2. Aprašymai turi būti lietuvių kalba.
Post Reply
User avatar
laimiukas3
Moderatorius
Posts: 4569
Joined: 2012 Aug 03 01:12
Skype: laimiukas3
Location: Vilnius
Contact:

Fall Damage HP Restore 0.0.1

Post by laimiukas3 »

Image

Autorius:
  • Vaqtincha
Reikalavimai:

Kodas: Select all

// Copyright © 2017 Vaqtincha #include <amxmodx>#include <reapi> public plugin_init(){    register_plugin("Fall Damage HP Restore", "0.0.1", "Vaqtincha")    RegisterHookChain(RG_CSGameRules_FlPlayerFallDamage, "CSGameRules_FlPlayerFallDamage", .post = true)} public CSGameRules_FlPlayerFallDamage(const pPlayer){    set_member(pPlayer, m_idrowndmg, floatround(Float:GetHookChainReturn(ATYPE_FLOAT), floatround_floor))    set_member(pPlayer, m_idrownrestored, 0)    // set_member(pPlayer, m_bitsDamageType, get_member(pPlayer, m_bitsDamageType) | DMG_DROWNRECOVER)}
Image
Image
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest