Raised This Month: $32 Target: $400
 8% 

VIP Kill


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Chronick
Junior Member
Join Date: Jul 2012
Location: Slovakia
Old 04-01-2013 , 17:54   VIP Kill
Reply With Quote #1

Hi there,

I have one problem.
When VIP who kills even as it kills the VIP, and then to the player ...

Screen Shot - Click Here !

PHP Code:
public hrac_zomre(victimattackershouldgib)
{
   
cs_set_user_money(attacker0// Peniaze na 0
   
cs_set_user_money(victim0// Peniaze na 0
   
   
if(get_user_flags(attacker) & VIP && is_user_alive(attacker)) // Ak je hráč [VIP] a je nazive
   
{
      if(
offonhpzakill[attacker])
      {
         
set_user_health(attackerget_user_health(attacker) + get_pcvar_num(hp_za_kill)) // HP + podľa cvaru
         
set_hudmessage(00100, -1.00.2900.01.8// Umiestnenie HUD
         
ShowSyncHudMsg(attackerg_iHudSync"+%s HP"get_pcvar_num(hp_za_kill)) // HUD
         
cmd_fade(attacker// Efekt Obrazovky (modrý)
      
}
      if(
offonhpzahs[attacker])
      {
         if(
get_pdata_int(victim75) == HIT_HEAD && offonhpzahs[attacker]) // Ak hráč trafí hlavu (HS)
         
{
            
set_user_health(attackerget_user_health(attacker) + get_pcvar_num(hp_za_hs)) // HP + podľa cvaru
            
set_hudmessage(00100, -1.00.3100.01.8// Umiestnenie HUD
            
ShowSyncHudMsg(attackerg_iHudSync"+%s HP (HeadShot Bonus)"get_pcvar_num(hp_za_hs)) // HUD
            
cmd_fade(attacker// Efekt Obrazovky (modrý)
         
}
      }
      if(
get_user_health(attacker) > get_pcvar_num(hp_max)) // Ak má hráč viac HP ako cvar
      
{
         
set_user_health(attackerget_pcvar_num(hp_max)) // Nastaví HP podľa cvaru
      
}
      if(
read_data(2) == CSW_KNIFE// Ak ma hráč KNIFE
      
{
         
set_user_health(attackerget_user_health(attacker) + hp_za_knife_kill// HP + podľa cvaru
         
set_hudmessage(00100, -1.00.3100.01.8// Umiestnenie HUD
         
ShowSyncHudMsg(attackerg_iHudSync"+%s HP (Knife Kil)"hp_za_knife_kill// HUD
         
cmd_fade(attacker// Efekt Obrazovky (modrý)
      
}
      if(
read_data(2) == CSW_HEGRENADE)
      {
         
set_user_health(attackerget_user_health(attacker) + hp_za_he_kill// HP + podľa cvaru
         
set_hudmessage(00100, -1.00.3100.01.8// Umiestnenie HUD
         
ShowSyncHudMsg(attackerg_iHudSync"+%s HP (He Kil)"hp_za_he_kill// HUD
         
cmd_fade(attacker// Efekt Obrazovky (modrý)
      
}
   }


Last edited by Chronick; 04-01-2013 at 17:56.
Chronick is offline
Send a message via Skype™ to Chronick
Chronick
Junior Member
Join Date: Jul 2012
Location: Slovakia
Old 04-02-2013 , 15:48   Re: VIP Kill
Reply With Quote #2

No one knows?
Chronick is offline
Send a message via Skype™ to Chronick
Leon M.
Senior Member
Join Date: Apr 2009
Location: Germany
Old 04-03-2013 , 04:46   Re: VIP Kill
Reply With Quote #3

And what is your problem? o.O
__________________
  • ZapTic - Paintball (Version 7.1.3 b1303)
  • Your #1 CS Paintball Server since 2008
  • 85.131.163.101:27015
Leon M. is offline
Omik
Junior Member
Join Date: Feb 2013
Old 04-03-2013 , 05:17   Re: VIP Kill
Reply With Quote #4

You read it??.. He wrote: "When VIP(or normall) killed normal player or too VIP, Server/or plugin (he dont know) killed second player (Killer)...you can see on the picture under LINK.
__________________
Omik is offline
Send a message via ICQ to Omik Send a message via Skype™ to Omik
Podarok
BANNED
Join Date: Jan 2011
Location: Narnia
Old 04-03-2013 , 05:29   Re: VIP Kill
Reply With Quote #5

Quote:
Originally Posted by Omik View Post
You read it??.. He wrote: "When VIP(or normall) killed normal player or too VIP, Server/or plugin (he dont know) killed second player (Killer)...you can see on the picture under LINK.
He didnt say anything and I still can't understand what you need.. You come here to get help, so respect others, kid.
Podarok is offline
Unkolix
Veteran Member
Join Date: Sep 2012
Old 04-03-2013 , 08:16   Re: VIP Kill
Reply With Quote #6

Quote:
Originally Posted by fysiks View Post
Debug your server. Disable all 3rd part plugins and test it. If it fixes it then you add them back one by one until you find it.
Unkolix is offline
Chronick
Junior Member
Join Date: Jul 2012
Location: Slovakia
Old 04-03-2013 , 09:26   Re: VIP Kill
Reply With Quote #7

Screen Shot - Click Here !

When I have a VIP, and kill the second player or VIP, so it kills me first, and then the player ..

Last edited by Chronick; 04-03-2013 at 09:27.
Chronick is offline
Send a message via Skype™ to Chronick
wickedd
Veteran Member
Join Date: Nov 2009
Old 04-03-2013 , 12:54   Re: VIP Kill
Reply With Quote #8

1.There's no need to post like that, we are not blind.
2.Instead of posting a screen shot, try explaining what the problem is.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
Chronick
Junior Member
Join Date: Jul 2012
Location: Slovakia
Old 04-03-2013 , 15:46   Re: VIP Kill
Reply With Quote #9

I am writing this after 3 times. When I VIP and kill VIP or player so it will kill me first, and then the player as per ss

Last edited by Chronick; 04-03-2013 at 15:47.
Chronick is offline
Send a message via Skype™ to Chronick
Sn!ff3r
Veteran Member
Join Date: Aug 2007
Location: Poland
Old 04-03-2013 , 15:52   Re: VIP Kill
Reply With Quote #10

Upper right corner of the screenshot ;)
__________________
Join US - custom Zombie Server - Custom Addons:




Last edited by Sn!ff3r; 04-03-2013 at 15:52.
Sn!ff3r is offline
Send a message via Skype™ to Sn!ff3r
Old 04-03-2013, 15:58
Leon M.
This message has been deleted by YamiKaitou. Reason: pointless post
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:55.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode