Raised This Month: $ Target: $400
 0% 

dead even get weapon bug......


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 12-05-2010 , 11:30   Re: dead even get weapon bug......
Reply With Quote #1

PHP Code:
 register_event("DeathMsg""Event_DeathMsg""a""1>0");
 
 public 
Event_DeathMsg()
 {
    new 
weapon[20];
    new 
Killer read_data(1);
    new 
Victim read_data(2) ;
    
read_data(4weaponcharsmax(weapon));
 
    if(
player_team[Killer] == player_team[Victim] || Killer == Victim || !(<= Victim <= 32))
        return 
PLUGIN_HANDLED;
        
    if(!
equal(weapon"knife"))
    {
        
// Player killed without knife
    
}

Try to do it like this.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
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 11:26.


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