Raised This Month: $ Target: $400
 0% 

dead even get weapon bug......


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
0920357689
Senior Member
Join Date: Apr 2008
Old 12-05-2010 , 09:45   dead even get weapon bug......
Reply With Quote #1

PHP Code:
register_event("DeathMsg""player_death""a");
 
public 
player_death(id)
{
 new 
weapon[32];
 new 
Killer read_data(1)
 new 
Victim read_data(2
 
read_data(3weapon31)
 
 if(!
is_user_connected(Killer))
  return 
PLUGIN_CONTINUE;
 if(
player_team[Killer] == player_team[Victim])
  return 
PLUGIN_CONTINUE;
 if(
Killer == Victim)
  return 
PLUGIN_CONTINUE;
 if(
containi(weapon,"knife") == -1)
 
//if(!equal(weapon, "knife"))
 
{
  
NO KNIFE KILL WILL DO
 }
 return 
PLUGIN_CONTINUE;

if knife kill also will do....where have bug?
i can't find.......

i need if knife kill will "return PLUGIN_CONTINUE"

Last edited by 0920357689; 12-05-2010 at 09:50.
0920357689 is offline
 



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 11:26.


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