Raised This Month: $ Target: $400
 0% 

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
Old 04-03-2013, 15:58
Leon M.
This message has been deleted by YamiKaitou. Reason: pointless post
Leon M.
Senior Member
Join Date: Apr 2009
Location: Germany
Old 04-03-2013 , 16:04   Re: VIP Kill
Reply With Quote #7

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.
You must be a troll!

Do you understand it? If so then rewrite it with other words, probably also more detailed. At the moment I can just ask my crystal ball, you won't that

@YamiKaitou
How is it pointless? If anyone can rephrase it (it seems Omik got it) then it should be done, so we are able to help the OP. If you can help him then do it.
__________________
  • ZapTic - Paintball (Version 7.1.3 b1303)
  • Your #1 CS Paintball Server since 2008
  • 85.131.163.101:27015
Leon M. is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 04-03-2013 , 16:51   Re: VIP Kill
Reply With Quote #8

Quote:
Originally Posted by Leon M. View Post
How is it pointless?
Because you are not adding anything to the thread and are only trying to start an argument (this is how most threads turn out when someone is claims someone is trolling)
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Podarok
BANNED
Join Date: Jan 2011
Location: Narnia
Old 04-04-2013 , 00:54   Re: VIP Kill
Reply With Quote #9

Quote:
Originally Posted by YamiKaitou View Post
Because you are not adding anything to the thread and are only trying to start an argument (this is how most threads turn out when someone is claims someone is trolling)
But that guy was actually rude to Leon, because OP showed nothing but a screenshot, where you could not understand anything at all...

Last edited by Podarok; 04-04-2013 at 00:55.
Podarok is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 04-04-2013 , 07:18   Re: VIP Kill
Reply With Quote #10

Quote:
Originally Posted by Podarok View Post
But that guy was actually rude to Leon, because OP showed nothing but a screenshot, where you could not understand anything at all...
Then he should have never responded back, hence the pointless part as he was only trying to start an argument at that point. If he found it rude or offensive, he should have reported it and not responded to it.


Also, based on the way I understand it, if you look at the screenshot, you will see that it is registering his death before the one he killed. He doesn't want that
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
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 21:02.


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