User
Pass
2FA
 
 

Bug enervant v2

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Plugins - Help / Support
Author Message472
InLoveCs

[00 11 00]



Status: Offline
(since 24-12-2021 07:55)
Joined: 11 Jan 2011
Posts: 8224, Topics: 738
Location: zmx.freakz.ro

Reputation: 2926.8
Votes: 170

     
Post Posted: 04-09-2017, 15:25:30 | Translate post to: ... (Click for more languages)

Nume : M4a1 Dark Knight /// zm vip 1.7.2
Descriere problema : Daca cel care are arma are VIP acesta cand ataca oamenii,gen trage in ei,primeste credite ca si cum ar trrage in zombie,foarte ciudat,stiu,n-am mai vazut asa ceva.

Am observat ca daca dezactivez damage-ul de la vip (gen la cate credite fac un credit) , mai exact flagul D din zm_vip,bugul nu se mai face. Insa eu nu vreau acest lucru,ca de asta e vip,ar trebui sa faca dublu creditele,gen sa faca un credit la mai putin dmg,fiind cvar separat fata de cel normal din zp.

Am incercat sa pun acolo conditie ceva sa ignore vip-ul,nu merge nimic,am incercat sa schimb aia de damage,nimic ..

Linia care cauzeaza probleme din zm vip e asta :
Code:
#if MODE & (1<<0)
   if(g_user_privileges[attacker] & FLAG_D) {
#else
   if(get_user_flags(attacker) & VIPACCES) {
#endif
      if(get_pcvar_num(g_damage_reward) > 0) {
         g_damage[attacker]+=damage
         if(g_damage[attacker] > get_pcvar_float(g_damage_reward)) {
            zp_set_user_ammo_packs(attacker, zp_get_user_ammo_packs(attacker)+1)
            g_damage[attacker] -= get_pcvar_float(g_damage_reward)
         }
      }   
   }

   return HAM_IGNORED
}


Sma :

Codul de la zm vip e asta :

Spoiler:


Codul de la m4a1 e asta :

Spoiler:

0 0
  
Back to top
View user's profile Send private message
InLoveCs

[00 11 00]



Status: Offline
(since 24-12-2021 07:55)
Joined: 11 Jan 2011
Posts: 8224, Topics: 738
Location: zmx.freakz.ro

Reputation: 2926.8
Votes: 170

     
Post Posted: 05-09-2017, 17:14:20 | Translate post to: ... (Click for more languages)

Am rezolvat.
0 0
  
Back to top
View user's profile Send private message
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Plugins - Help / Support  


The time now is 22-07-2025, 05:49:06
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password